aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/tools/ocaml/opam
diff options
context:
space:
mode:
authorLéo Gaspard <leo@gaspard.io>2018-04-27 19:55:35 +0200
committerLéo Gaspard <leo@gaspard.io>2018-04-27 20:42:09 +0200
commit06c7d4d40dc77c79e50b54282345c1d71a1ac058 (patch)
treedaef1a60b744051897b61bdf67c4e62241aee6f1 /pkgs/development/tools/ocaml/opam
parent96fddac69122ab50fe04975cb4f85dff99d7b9f5 (diff)
opam: propagate `curl` and `unzip` dependencies
These are required for `opam init` to succeed. Closes #14466 Cc @henrytill
Diffstat (limited to 'pkgs/development/tools/ocaml/opam')
-rw-r--r--pkgs/development/tools/ocaml/opam/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/ocaml/opam/default.nix b/pkgs/development/tools/ocaml/opam/default.nix
index 63f79981e1b..469e97e19de 100644
--- a/pkgs/development/tools/ocaml/opam/default.nix
+++ b/pkgs/development/tools/ocaml/opam/default.nix
@@ -47,7 +47,7 @@ in stdenv.mkDerivation rec {
name = "opam-${version}";
version = "1.2.2";
- buildInputs = [ unzip curl ncurses ocaml makeWrapper];
+ buildInputs = [ unzip curl ncurses ocaml makeWrapper ];
src = srcs.opam;
@@ -73,7 +73,7 @@ in stdenv.mkDerivation rec {
postInstall = ''
wrapProgram $out/bin/opam \
- --suffix PATH : ${aspcud}/bin
+ --suffix PATH : ${aspcud}/bin:${unzip}/bin:${curl}/bin
'';
doCheck = false;