Build with CMake.
parent
5dd6035dcd
commit
52e6f971e8
10
flake.nix
10
flake.nix
|
@ -24,7 +24,15 @@
|
|||
pname = "bootstrap";
|
||||
src = ./.;
|
||||
version = "0.1.3";
|
||||
dontInstall = true;
|
||||
nativeBuildInputs = with pkgs; [ cmake ];
|
||||
buildPhase = ''
|
||||
cmake -DCMAKE_BUILD_TYPE=Release .
|
||||
cmake --build .
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp ./bootstrap $out/bin
|
||||
'';
|
||||
};
|
||||
|
||||
default = pkgs.writeShellScriptBin "bootstrap" ''
|
||||
|
|
Loading…
Reference in New Issue