Merge f8de7b441db62fe4afd421e3ff506c34a7153620 into cf2f40f5591ce9e75e49b5c7e70d2ec53d296cfd

This commit is contained in:
Arnaud 2026-05-07 10:34:31 +04:00 committed by GitHub
commit feabda010b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -5,8 +5,8 @@ let
sourceFile = ../vendor/nimbus-build-system/vendor/Nim/config/build_config.txt;
in pkgs.fetchFromGitHub {
owner = "nim-lang";
repo = "csources_v2";
repo = "csources_v3";
rev = tools.findKeyValue "^nim_csourcesHash=([a-f0-9]+)$" sourceFile;
# WARNING: Requires manual updates when Nim compiler version changes.
hash = "sha256-UCLtoxOcGYjBdvHx7A47x6FjLMi6VZqpSs65MN7fpBs=";
hash = "sha256-pTcm2y+HDOuTol8DyoJMOMHsUA6QrgwGdfcOu1NX4PU=";
}

View File

@ -81,8 +81,8 @@ in stdenv.mkDerivation rec {
mkdir dist
cp -r ${callPackage ./nimble.nix {}} dist/nimble
cp -r ${callPackage ./checksums.nix {}} dist/checksums
cp -r ${callPackage ./csources.nix {}} csources_v2
chmod 777 -R dist/nimble csources_v2
cp -r ${callPackage ./csources.nix {}} csources_v3
chmod 777 -R dist/nimble csources_v3
popd
'';