Merge pull request #248158 from figsoda/nil

nil: 2023-05-09 -> 2023-08-09
This commit is contained in:
Franz Pletz 2023-08-09 20:07:52 +02:00 committed by GitHub
commit a378e68497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,24 +1,24 @@
{ lib, rustPlatform, fetchFromGitHub, nix, nix-update-script }:
{ lib, rustPlatform, fetchFromGitHub, nixVersions, nix-update-script }:
rustPlatform.buildRustPackage rec {
pname = "nil";
version = "2023-05-09";
version = "2023-08-09";
src = fetchFromGitHub {
owner = "oxalica";
repo = pname;
rev = version;
hash = "sha256-Xg3Cux5wQDatXRvQWsVD0YPfmxfijjG8+gxYqgoT6JE=";
hash = "sha256-fZ8KfBMcIFO/R7xaWtB85SFeuUjb9SCH8fxYBnY8068=";
};
cargoHash = "sha256-N7flQRIc0CXTuKjy9tVZapu+CXUT4rg66VLLT/vMUoc=";
CFG_RELEASE = version;
cargoHash = "sha256-lyKPmzuZB9rCBI9JxhxlyDtNHLia8FXGnSgV+D/dwgo=";
nativeBuildInputs = [
(lib.getBin nix)
(lib.getBin nixVersions.unstable)
];
env.CFG_RELEASE = version;
# might be related to https://github.com/NixOS/nix/issues/5884
preBuild = ''
export NIX_STATE_DIR=$(mktemp -d)