just: 1.48.1 -> 1.49.0

Changelog: https://github.com/casey/just/releases/tag/1.49.0
Diff: https://github.com/casey/just/compare/1.48.1...1.49.0

fix(tests): set `XDG_RUNTIME_DIR` to prevent `runtime_directory` test from failing
This commit is contained in:
2kybe3
2026-04-05 19:46:31 +02:00
parent 4bf21e13f6
commit 5da9875f04
+4 -3
View File
@@ -17,7 +17,7 @@
withDocumentation ? stdenv.buildPlatform.canExecute stdenv.hostPlatform,
}:
let
version = "1.48.1";
version = "1.49.0";
in
rustPlatform.buildRustPackage {
inherit version;
@@ -34,10 +34,10 @@ rustPlatform.buildRustPackage {
owner = "casey";
repo = "just";
tag = version;
hash = "sha256-w4u9grbK+L1q497qr04oARNonVuoiUs2d9eTC115T+s=";
hash = "sha256-4vUcKHoQto4TQce4y4/MwdES0+PPlSjNvzLW77FodWs=";
};
cargoHash = "sha256-bcepiMLdo8YNpkYGLoLUCcZ0f3l5tpMaRDUPhO86FEY=";
cargoHash = "sha256-5hhwzkNgF+i5aCUoVh1VNfkNJFttyy5cLhBwu8uHmAQ=";
nativeBuildInputs =
lib.optionals (installShellCompletions || installManPages) [ installShellFiles ]
@@ -49,6 +49,7 @@ rustPlatform.buildRustPackage {
export USER=just-user
export USERNAME=just-user
export JUST_CHOOSER="${coreutils}/bin/cat"
export XDG_RUNTIME_DIR=$(mktemp -d)
# Prevent string.rs from being changed
cp tests/string.rs $TMPDIR/string.rs