Loading pkgs/by-name/li/libf2c/package.nix +10 −0 Original line number Diff line number Diff line Loading @@ -20,9 +20,15 @@ stdenv.mkDerivation rec { unzip ${src} ''; postPatch = '' substituteInPlace makefile.u \ --replace-fail "ld" "${stdenv.cc.targetPrefix}ld" ''; makeFlags = [ "-f" "makefile.u" "CC=${stdenv.cc.targetPrefix}cc" ]; installPhase = '' Loading @@ -44,5 +50,9 @@ stdenv.mkDerivation rec { homepage = "http://www.netlib.org/f2c/"; license = lib.licenses.mit; platforms = lib.platforms.unix; # Generates arith.h at build time. Uses non-standard fpu_control.h. broken = (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) || (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.libc != "glibc"); }; } Loading
pkgs/by-name/li/libf2c/package.nix +10 −0 Original line number Diff line number Diff line Loading @@ -20,9 +20,15 @@ stdenv.mkDerivation rec { unzip ${src} ''; postPatch = '' substituteInPlace makefile.u \ --replace-fail "ld" "${stdenv.cc.targetPrefix}ld" ''; makeFlags = [ "-f" "makefile.u" "CC=${stdenv.cc.targetPrefix}cc" ]; installPhase = '' Loading @@ -44,5 +50,9 @@ stdenv.mkDerivation rec { homepage = "http://www.netlib.org/f2c/"; license = lib.licenses.mit; platforms = lib.platforms.unix; # Generates arith.h at build time. Uses non-standard fpu_control.h. broken = (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) || (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.libc != "glibc"); }; }