diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-02-07 16:17:39 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2021-02-19 20:09:16 +0700 |
commit | e03c068af5c9ca950214cd6c3b5cfe67f595da88 (patch) | |
tree | 3a2072763efa4dae7237eeecf46fc6a95ddcd215 /pkgs/development/tools/ocaml | |
parent | 06c2bba257d77f2aeada7f943244d9afd5998645 (diff) | |
download | nixpkgs-e03c068af5c9ca950214cd6c3b5cfe67f595da88.tar nixpkgs-e03c068af5c9ca950214cd6c3b5cfe67f595da88.tar.gz nixpkgs-e03c068af5c9ca950214cd6c3b5cfe67f595da88.tar.bz2 nixpkgs-e03c068af5c9ca950214cd6c3b5cfe67f595da88.tar.lz nixpkgs-e03c068af5c9ca950214cd6c3b5cfe67f595da88.tar.xz nixpkgs-e03c068af5c9ca950214cd6c3b5cfe67f595da88.tar.zst nixpkgs-e03c068af5c9ca950214cd6c3b5cfe67f595da88.zip |
treewide: makeWrapper buildInputs to nativeBuildInputs
Diffstat (limited to 'pkgs/development/tools/ocaml')
-rw-r--r-- | pkgs/development/tools/ocaml/omake/0.9.8.6-rc1.nix | 3 | ||||
-rw-r--r-- | pkgs/development/tools/ocaml/opam/1.2.2.nix | 3 | ||||
-rw-r--r-- | pkgs/development/tools/ocaml/opam/default.nix | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/tools/ocaml/omake/0.9.8.6-rc1.nix b/pkgs/development/tools/ocaml/omake/0.9.8.6-rc1.nix index 047246cd0a0..5a4b55cc7fe 100644 --- a/pkgs/development/tools/ocaml/omake/0.9.8.6-rc1.nix +++ b/pkgs/development/tools/ocaml/omake/0.9.8.6-rc1.nix @@ -20,7 +20,8 @@ stdenv.mkDerivation { patchFlags = [ "-p0" ]; patches = [ ./warn.patch ]; - buildInputs = [ ocaml makeWrapper ncurses ]; + nativeBuildInputs = [ makeWrapper ]; + buildInputs = [ ocaml ncurses ]; phases = "unpackPhase patchPhase buildPhase"; buildPhase = '' diff --git a/pkgs/development/tools/ocaml/opam/1.2.2.nix b/pkgs/development/tools/ocaml/opam/1.2.2.nix index a128f2144e9..610093af19f 100644 --- a/pkgs/development/tools/ocaml/opam/1.2.2.nix +++ b/pkgs/development/tools/ocaml/opam/1.2.2.nix @@ -47,7 +47,8 @@ in stdenv.mkDerivation { pname = "opam"; version = "1.2.2"; - buildInputs = [ unzip curl ncurses ocaml makeWrapper ]; + nativeBuildInputs = [ makeWrapper ]; + buildInputs = [ unzip curl ncurses ocaml ]; src = srcs.opam; diff --git a/pkgs/development/tools/ocaml/opam/default.nix b/pkgs/development/tools/ocaml/opam/default.nix index b99880fe7f3..30bc089ee0f 100644 --- a/pkgs/development/tools/ocaml/opam/default.nix +++ b/pkgs/development/tools/ocaml/opam/default.nix @@ -63,7 +63,8 @@ in stdenv.mkDerivation { pname = "opam"; version = "2.0.8"; - buildInputs = [ unzip curl ncurses ocaml makeWrapper getconf ] ++ lib.optional stdenv.isLinux bubblewrap; + nativeBuildInputs = [ makeWrapper ]; + buildInputs = [ unzip curl ncurses ocaml getconf ] ++ lib.optional stdenv.isLinux bubblewrap; src = srcs.opam; |