ocaml: init at 4.04

This commit is contained in:
Vincent Laporte
2017-01-24 21:13:00 +00:00
parent c9d5e5b34b
commit ae047510bf
3 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ stdenv.mkDerivation (args // rec {
buildFlags = "world" + optionalString useNativeCompilers " bootstrap world.opt";
buildInputs = [ncurses] ++ optionals useX11 [ libX11 xproto ];
installTargets = "install" + optionalString useNativeCompilers " installopt";
preConfigure = ''
preConfigure = optionalString (!stdenv.lib.versionAtLeast version "4.04") ''
CAT=$(type -tp cat)
sed -e "s@/bin/cat@$CAT@" -i config/auto-aux/sharpbang
'';