Skip to content

Commit 105aa54

Browse files
committed
move build ver out.
1 parent f3ff8ce commit 105aa54

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

flake.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@
5858
fetchSubmodules = false;
5959
};
6060

61+
build_version = "awawa";
62+
6163
mkBuild = packages: build:
6264
pkgs.stdenv.mkDerivation {
6365
name = build;
@@ -99,7 +101,7 @@
99101
dontUseCmakeConfigure = true;
100102

101103
buildPhase = ''
102-
${packages.zmake}/bin/zmake -j8 build ${build} -DCMAKE_MAKE_PROGRAM="${pkgs.ninja}/bin/ninja" -DBUILD_VERSION=awawa
104+
${packages.zmake}/bin/zmake -j8 build ${build} -DCMAKE_MAKE_PROGRAM="${pkgs.ninja}/bin/ninja" -DBUILD_VERSION="${build_version}"
103105
'';
104106

105107
installPhase = ''

0 commit comments

Comments
 (0)