nufmt: 0-unstable-2026-05-18 -> 0-unstable-2026-05-24 (#527072)

This commit is contained in:
Nick Cao
2026-06-02 20:39:35 +00:00
committed by GitHub
+5 -5
View File
@@ -7,22 +7,22 @@
}:
rustPlatform.buildRustPackage {
pname = "nufmt";
version = "0-unstable-2026-05-18";
version = "0-unstable-2026-05-24";
src = fetchFromGitHub {
owner = "nushell";
repo = "nufmt";
rev = "2a9661dffb7e432b46c0b0956e74e0511e783dc7";
hash = "sha256-OTKtCQ1AafQ6ejW657mJ1vqtgmZCxKEnNMT/EOsT5ic=";
rev = "a24c2b1bc7f573b1a8b2c4a453e989407a4d29c8";
hash = "sha256-3AOxUXDd6LDgBqKPnHG+3K2qfcFGzIsPW3pqnt+oNs8=";
};
nativeBuildInputs = [
rustPlatform.bindgenHook
];
cargoHash = "sha256-jgmNMk2tprJsGU/pddxfKdfWli9dNwLt02LhVhQrHc4=";
cargoHash = "sha256-MLfhuFjYv2Vi3BGJFzbmi+xhhm6M0a4oOe7wpHtfObc=";
# NOTE: Patch follows similar intention upstream https://github.com/nushell/nufmt/commit/2a9661dffb7e432b46c0b0956e74e0511e783dc7
# NOTE: Patch follows similar intention upstream https://github.com/nushell/nufmt/commit/a24c2b1bc7f573b1a8b2c4a453e989407a4d29c8
postPatch = ''
substituteInPlace tests/ground_truth.rs --replace-fail \
' let path = PathBuf::from(target_dir).join("debug").join(exe_name);' \