From 06c7d4d40dc77c79e50b54282345c1d71a1ac058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Gaspard?= Date: Fri, 27 Apr 2018 19:55:35 +0200 Subject: [PATCH] opam: propagate `curl` and `unzip` dependencies These are required for `opam init` to succeed. Closes #14466 Cc @henrytill --- pkgs/development/tools/ocaml/opam/default.nix | 4 ++-- 1 file 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;