opam: propagate curl and unzip dependencies

These are required for `opam init` to succeed.

Closes #14466
Cc @henrytill
This commit is contained in:
Léo Gaspard 2018-04-27 19:55:35 +02:00
parent 96fddac691
commit 06c7d4d40d
No known key found for this signature in database
GPG Key ID: 8A55848B6090F9CF

View File

@ -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;