File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 33 fetchFromGitHub ,
44 darwin ,
55 lib ,
6+ git ,
67 nim ,
78 cmake ,
89 which ,
@@ -29,16 +30,16 @@ assert nim.version == "1.6.12";
2930 owner = "status-im" ;
3031 repo = "nimbus-eth2" ;
3132 rev = "v${ version } " ;
32- hash = "sha256-hdegrv+VbhQhk6O91oQDmj3vfm29dX/p1ygcNg25n24 =" ;
33+ hash = "sha256-xp+7NE7cMxBV2pcwY4B2WrppCG+2N2Su+bWmCKllMPI =" ;
3334 fetchSubmodules = true ;
35+ leaveDotGit = true ;
3436 } ;
3537
3638 # Fix for Nim compiler calling 'git rev-parse' and 'lsb_release'.
3739 nativeBuildInputs = let
38- fakeGit = writeScriptBin "git" "echo $commit" ;
3940 fakeLsbRelease = writeScriptBin "lsb_release" "echo nix" ;
4041 in
41- [ fakeGit fakeLsbRelease nim which cmake ]
42+ [ git fakeLsbRelease nim which cmake ]
4243 ++ lib . optionals stdenv . isDarwin [ darwin . cctools ] ;
4344
4445 enableParallelBuilding = true ;
You can’t perform that action at this time.
0 commit comments