We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cbfe58 commit 931a9d0Copy full SHA for 931a9d0
flake.nix
@@ -100,8 +100,9 @@
100
src = sonataSimulatorSource;
101
buildInputs = with pkgs; [libelf zlib];
102
nativeBuildInputs = [pkgs.verilator pythonEnv];
103
- inherit FLAKE_GIT_COMMIT;
104
- inherit FLAKE_GIT_DIRTY;
+ # For simulator build, force the git commit to a dummy value, so we can cache the build properly.
+ FLAKE_GIT_COMMIT = "0000000000000000000000000000000000000000";
105
+ FLAKE_GIT_DIRTY = false;
106
buildPhase = ''
107
HOME=$TMPDIR fusesoc --cores-root=. run \
108
--target=sim --setup --build lowrisc:sonata:system \
0 commit comments