diff options
-rw-r--r-- | flake.nix | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -49,6 +49,20 @@ packages.default = main; + + defaultPackage = pkgs.stdenv.mkDerivation { + name = "stitch"; + src = ./.; + buildInputs = devPackages; + buildPhase = '' + dune build --profile-release + ''; + + installPhase = '' + cp _build/install/default/bin/stitch $out + ''; + }; + apps.stitch.default = { type = "app"; program = "${main}/bin/stitch"; |