Merge pull request #39619 from Ekleog/opam-issue-14466

opam: propagate `curl` and `unzip` dependencies
This commit is contained in:
Jörg Thalheim 2018-04-27 23:11:01 +01:00 committed by GitHub
commit 8c27246e7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;