diff --git a/flake.nix b/flake.nix index 4d2b681..5a1cb1c 100644 --- a/flake.nix +++ b/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" ''