diff options
author | Marc Coquand <marc@mccd.space> | 2024-05-17 12:03:09 -0500 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-05-17 12:03:09 -0500 |
commit | 8dbf8014991bd7456dfa09b85f07c04086d70459 (patch) | |
tree | 6c9470e99e1713757d1487d18a16d04d4b981885 /flake.nix | |
parent | efe45feea10551feda95d647dccecd973cfe5320 (diff) | |
download | stitch-8dbf8014991bd7456dfa09b85f07c04086d70459.tar.gz stitch-8dbf8014991bd7456dfa09b85f07c04086d70459.tar.bz2 stitch-8dbf8014991bd7456dfa09b85f07c04086d70459.zip |
stuff
Diffstat (limited to '')
-rw-r--r-- | flake.nix | 26 |
1 files changed, 8 insertions, 18 deletions
@@ -33,9 +33,14 @@ ${package} = prev.${package}.overrideAttrs (_: { # Prevent the ocaml dependencies from leaking into dependent environments doNixSupport = false; - buildInputs = - [ pkgs."gmp" pkgs."libev" pkgs."openssl" pkgs."libargon2" ]; - DUNE_PROFILE = "release"; + buildInputs = [ + pkgs.glibc.static + pkgs.zlib.static + pkgs.binutils-unwrapped + pkgs.ocaml + pkgs.musl + pkgs.gcc + ]; }); }; scope' = scope.overrideScope' overlay; @@ -49,21 +54,6 @@ packages.default = main; - - defaultPackage = pkgs.stdenv.mkDerivation { - name = "stitch"; - src = ./.; - buildInputs = devPackages; - buildPhase = '' - dune build --profile release - ''; - - installPhase = '' - echo "building to $out" - cp _build/install/default/bin/stitch/ $out - ''; - }; - apps.stitch.default = { type = "app"; program = "${main}/bin/stitch"; |