opam: use aspcud on darwin

aspcud is the recommended solver for OPAM and the `aspcud` package is
now building properly on Darwin. As such, we can remove the special case
for Darwin that required OPAM to fall back to the built-in solver.

+5 -8
+5 -8
pkgs/development/tools/ocaml/opam/default.nix
··· 1 1 { stdenv, lib, fetchgit, fetchurl, makeWrapper, 2 - ocaml, unzip, ncurses, curl, 3 - aspcudSupport ? !stdenv.isDarwin, aspcud 2 + ocaml, unzip, ncurses, curl, aspcud 4 3 }: 5 4 6 5 assert lib.versionAtLeast ocaml.version "3.12.1"; ··· 72 71 # Dirty, but apparently ocp-build requires a TERM 73 72 makeFlags = ["TERM=screen"]; 74 73 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 + ''; 81 78 82 79 doCheck = false; 83 80