From 5da9875f04f44687f6a4847a4bac754a3832e0bf Mon Sep 17 00:00:00 2001 From: 2kybe3 Date: Sun, 5 Apr 2026 19:28:52 +0200 Subject: [PATCH] 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 --- pkgs/by-name/ju/just/package.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ju/just/package.nix b/pkgs/by-name/ju/just/package.nix index d5755209e26e..e6089f6751ab 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.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