Unverified Commit fa63c939 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

just: 1.48.1 -> 1.49.0 (#507013)

parents d0e63d14 5da9875f
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -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