lol

ocaml: fix assembler on darwin

authored by

Vincent Laporte and committed by
Vincent Laporte
87843991 c5ed8beb

+1 -1
+1 -1
pkgs/development/compilers/ocaml/generic.nix
··· 76 76 preConfigure = optionalString (!lib.versionAtLeast version "4.04") '' 77 77 CAT=$(type -tp cat) 78 78 sed -e "s@/bin/cat@$CAT@" -i config/auto-aux/sharpbang 79 - '' + optionalString (stdenv.isDarwin && stdenv.isAarch64) '' 79 + '' + optionalString (stdenv.isDarwin && !lib.versionAtLeast version "4.13") '' 80 80 # Do what upstream does by default now: https://github.com/ocaml/ocaml/pull/10176 81 81 # This is required for aarch64-darwin, everything else works as is. 82 82 AS="${stdenv.cc}/bin/cc -c" ASPP="${stdenv.cc}/bin/cc -c"