diff --git a/pkgs/by-name/ju/just/fix-just-path-in-tests.patch b/pkgs/by-name/ju/just/fix-just-path-in-tests.patch deleted file mode 100644 index 63587ebc698a..000000000000 --- a/pkgs/by-name/ju/just/fix-just-path-in-tests.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/tests/completions/just.bash b/tests/completions/just.bash -index 6d5c12c..13bff87 100755 ---- a/tests/completions/just.bash -+++ b/tests/completions/just.bash -@@ -17,11 +17,13 @@ reply_equals() { - fi - } - -+just() { -+ cargo run -- "$@" -+} -+ - # --- Initial Setup --- - source "$1" - cd tests/completions --cargo build --PATH="$(git rev-parse --show-toplevel)/target/debug:$PATH" - exit_code=0 - - # --- Tests --- diff --git a/pkgs/by-name/ju/just/package.nix b/pkgs/by-name/ju/just/package.nix index f34216b76d66..22a87c26f2c8 100644 --- a/pkgs/by-name/ju/just/package.nix +++ b/pkgs/by-name/ju/just/package.nix @@ -17,7 +17,7 @@ withDocumentation ? stdenv.buildPlatform.canExecute stdenv.hostPlatform, }: let - version = "1.47.1"; + version = "1.48.0"; in rustPlatform.buildRustPackage { inherit version; @@ -34,10 +34,10 @@ rustPlatform.buildRustPackage { owner = "casey"; repo = "just"; tag = version; - hash = "sha256-HGrUiPe4vVYNISovTb9PZt8s6xCUg+OWkrp8dPm9tWg="; + hash = "sha256-U/o9MyT/DMybfV/LHi50KL7sh6ZqJ6rvqAY5pzlJAA8="; }; - cargoHash = "sha256-ZRcYVvodaQmQtBGnkTIOI3PXC6YQ1kqycm6Xh/MwIqA="; + cargoHash = "sha256-1cSk7dGuh5ZX4XrYgOvqM89e54o8yrr13VpTtdFbtEA="; nativeBuildInputs = lib.optionals (installShellCompletions || installManPages) [ installShellFiles ] @@ -66,10 +66,6 @@ rustPlatform.buildRustPackage { patchShebangs tests ''; - patches = [ - ./fix-just-path-in-tests.patch - ]; - cargoBuildFlags = [ "--package=just" ]