just: 1.47.1 -> 1.48.0

This commit is contained in:
2kybe3
2026-03-24 16:17:22 +01:00
parent f51dc7c83c
commit e0eb7c4c83
2 changed files with 3 additions and 27 deletions
@@ -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 ---
+3 -7
View File
@@ -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"
]