diff options
author | Ulrik Strid <ulrik.strid@outlook.com> | 2022-04-04 13:57:15 +0200 |
---|---|---|
committer | Ulrik Strid <ulrik.strid@outlook.com> | 2023-02-03 08:59:34 +0100 |
commit | 376e9ceeadc4c4e06f34b33bf347a504a4b3bd65 (patch) | |
tree | 24be3802f04a68ffc1e7f1702c0eb35cceda7b7a /pkgs/applications/networking/sync | |
parent | c53a63adf11330c66d3f0ed0def74e0dacd2cd2a (diff) |
treewide: add strictDeps = true to most packages depending on ocaml
Diffstat (limited to 'pkgs/applications/networking/sync')
-rw-r--r-- | pkgs/applications/networking/sync/unison/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/networking/sync/unison/default.nix b/pkgs/applications/networking/sync/unison/default.nix index 97ee3ed586252..c6ce7c8f593a7 100644 --- a/pkgs/applications/networking/sync/unison/default.nix +++ b/pkgs/applications/networking/sync/unison/default.nix @@ -23,9 +23,11 @@ stdenv.mkDerivation rec { sha256 = "sha256-taA8eZ/wOe9uMccXVYfe34/XzWgqYKA3tLZnIOahOrQ="; }; - nativeBuildInputs = [ makeWrapper ] + strictDeps = true; + + nativeBuildInputs = [ makeWrapper ocamlPackages.ocaml ] ++ lib.optional enableX11 copyDesktopItems; - buildInputs = [ ocamlPackages.ocaml ncurses ]; + buildInputs = [ ncurses ]; preBuild = lib.optionalString enableX11 '' sed -i "s|\(OCAMLOPT=.*\)$|\1 -I $(echo "${ocamlPackages.lablgtk}"/lib/ocaml/*/site-lib/lablgtk2)|" src/Makefile.OCaml |