Defelo
2026-01-03 14:54:21 +01:00
parent d799792ca5
commit 4acf066ddf
+8 -3
View File
@@ -7,16 +7,16 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "uutils-diffutils";
version = "0.4.2";
version = "0.5.0";
src = fetchFromGitHub {
owner = "uutils";
repo = "diffutils";
tag = "v${finalAttrs.version}";
hash = "sha256-IAgrCkhUC2Tkh+OM1lorpmD0GpsHUauLgU0KcmsvKb4=";
hash = "sha256-YZAa4A5fvW8BcaZn4xSVbSnzyoAaKKqBzpFOjnSRnc4=";
};
cargoHash = "sha256-SiZIp0rJXl0ZqKaxLPtV1nypxSqKXW+NoFLxCVpW4OY=";
cargoHash = "sha256-jX3uuUopNaVi+XNskBUPzITlJrsVkXWR8LP7PTuwMm8=";
checkFlags = [
# called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
@@ -25,6 +25,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
"--skip=ed_diff::tests::test_permutations_empty_lines"
];
postInstall = ''
ln -s $out/bin/diffutils $out/bin/cmp
ln -s $out/bin/diffutils $out/bin/diff
'';
passthru.updateScript = nix-update-script { };
meta = {