mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-05-11 22:09:32 +00:00
Update Nix configuration
This commit is contained in:
parent
2dd97631ed
commit
b1645ea34f
@ -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=";
|
||||
}
|
||||
|
||||
@ -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
|
||||
'';
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user