Skip to content

Commit ed05929

Browse files
committed
nufmt: 0-unstable-2025-06-19 -> 0-unstable-2025-12-29
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
1 parent da2fcf6 commit ed05929

1 file changed

Lines changed: 4 additions & 12 deletions

File tree

pkgs/by-name/nu/nufmt/package.nix

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,23 @@
33
fetchFromGitHub,
44
nix-update-script,
55
rustPlatform,
6-
stdenv,
76
}:
87
rustPlatform.buildRustPackage {
98
pname = "nufmt";
10-
version = "0-unstable-2025-06-19";
9+
version = "0-unstable-2025-12-29";
1110

1211
src = fetchFromGitHub {
1312
owner = "nushell";
1413
repo = "nufmt";
15-
rev = "35962223fbd4c1a924b4ccfb8c7ad81fe2863b86";
16-
hash = "sha256-2WgqKQBZRMqUyWq0qm+d8TUT/iAQ1LZjhllBKqimp+Q=";
14+
rev = "c03e166babe7b77f1a80a7916ab1e8e2437bba06";
15+
hash = "sha256-VZiRmo9/jxAFCSr2bHrf89qb6o1Obwt2+O3NrIrokZo=";
1716
};
1817

1918
nativeBuildInputs = [
2019
rustPlatform.bindgenHook
2120
];
2221

23-
cargoHash = "sha256-KDXC2/1GcJL6qH+L/FzzQCA7kJigtKOfxVDLv5qXYao=";
24-
25-
# NOTE: Patch follows similar intention upstream https://github.com/nushell/nufmt/commit/35962223fbd4c1a924b4ccfb8c7ad81fe2863b86
26-
postPatch = ''
27-
substituteInPlace tests/main.rs --replace-fail \
28-
'const TEST_BINARY: &str = "target/debug/nufmt";' \
29-
'const TEST_BINARY: &str = "target/${stdenv.hostPlatform.rust.rustcTarget}/release/nufmt";'
30-
'';
22+
cargoHash = "sha256-BpKhgF3LUQRL1mNCR5Iq4/Q+eRaOf+JgQCuUfloRhzk=";
3123

3224
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
3325

0 commit comments

Comments
 (0)