Compare commits
1 Commits
add-vivado
...
master
Author | SHA1 | Date | |
---|---|---|---|
c4583f787d |
@ -48,7 +48,7 @@ let
|
|||||||
|
|
||||||
source = if (useGit) then git else release;
|
source = if (useGit) then git else release;
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation (source // rec {
|
stdenv.mkDerivation (source // {
|
||||||
pname = "nanos6";
|
pname = "nanos6";
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
@ -62,7 +62,7 @@ in
|
|||||||
export CACHELINE_WIDTH=${toString cachelineBytes}
|
export CACHELINE_WIDTH=${toString cachelineBytes}
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
'' + lib.optionalString (useGit) ''
|
'' + lib.optionalString (useGit) ''
|
||||||
export NANOS6_GIT_VERSION=${src.rev}
|
export NANOS6_GIT_VERSION=${gitCommit}
|
||||||
export NANOS6_GIT_BRANCH=${gitBranch}
|
export NANOS6_GIT_BRANCH=${gitBranch}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user