mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-09 05:52:45 +00:00
Jakub
8c621b9ae6
* ci: bump status-jenkins-lib version, don't use a branch Also renamed `Jenkinsfile.nix` to `nix.Jenkinsfile` because the filename makes no sense. But left a symlink temporarily to not break things. Signed-off-by: Jakub Sokołowski <jakub@status.im> * nix: fix hash for Nim compiler checksums repo Signed-off-by: Jakub Sokołowski <jakub@status.im> * nix: do not create variable name conflicts Signed-off-by: Jakub Sokołowski <jakub@status.im> --------- Signed-off-by: Jakub Sokołowski <jakub@status.im>
13 lines
440 B
Nix
13 lines
440 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
let
|
|
tools = pkgs.callPackage ./tools.nix {};
|
|
sourceFile = ../vendor/nimbus-build-system/vendor/Nim/koch.nim;
|
|
in pkgs.fetchFromGitHub {
|
|
owner = "nim-lang";
|
|
repo = "checksums";
|
|
rev = tools.findKeyValue "^ +ChecksumsStableCommit = \"([a-f0-9]+)\"$" sourceFile;
|
|
# WARNING: Requires manual updates when Nim compiler version changes.
|
|
hash = "sha256-RB2IXs2xcfYHhV9d7l1mtHW51mtsrqrYRapSoTikvHw=";
|
|
}
|