git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #29719 from winniequinn/opam-aspcud-darwin

opam: use aspcud on darwin

commitbaa55a424a2e6613af728349791ac4137ad56081 authorJörg Thalheim <Mic92@users.noreply.github.com> dateSun 24 Sep 2017, 14:42 (9 years ago) parent4151dde331f5a7
1 file changed+5−8
pkgs/development/tools/ocaml/opam/default.nix+5−8
pkgs/development/tools/ocaml/opam/default.nix+5−8
@@ -1,6 +1,5 @@
11{ stdenv, lib, fetchgit, fetchurl, makeWrapper,
2− ocaml, unzip, ncurses, curl,
3− aspcudSupport ? !stdenv.isDarwin, aspcud
2+ ocaml, unzip, ncurses, curl, aspcud
43}:
54
65assert lib.versionAtLeast ocaml.version "3.12.1";
@@ -72,12 +71,10 @@ in stdenv.mkDerivation rec {
7271 # Dirty, but apparently ocp-build requires a TERM
7372 makeFlags = ["TERM=screen"];
7473
75− postInstall =
76− if aspcudSupport then ''
77− wrapProgram $out/bin/opam \
78− --suffix PATH : ${aspcud}/bin
79− ''
80− else "";
74+ postInstall = ''
75+ wrapProgram $out/bin/opam \
76+ --suffix PATH : ${aspcud}/bin
77+ '';
8178
8279 doCheck = false;
8380