mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
enscript: Build with the default GCC
This commit is contained in:
parent
922af7f158
commit
4c2c0499f3
|
@ -8,6 +8,13 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1fy0ymvzrrvs889zanxcaxjfcxarm2d3k43c9frmbl1ld7dblmkd";
|
||||
};
|
||||
|
||||
preBuild =
|
||||
''
|
||||
# Fix building on Darwin with GCC.
|
||||
substituteInPlace compat/regex.c --replace \
|
||||
__private_extern__ '__attribute__ ((visibility ("hidden")))'
|
||||
'';
|
||||
|
||||
buildInputs = [ gettext ];
|
||||
|
||||
doCheck = true;
|
||||
|
|
|
@ -949,12 +949,7 @@ let
|
|||
|
||||
encfs = callPackage ../tools/filesystems/encfs { };
|
||||
|
||||
enscript = callPackage ../tools/text/enscript {
|
||||
# fix syntax errors
|
||||
stdenv = if stdenv.isDarwin
|
||||
then clangStdenv
|
||||
else stdenv;
|
||||
};
|
||||
enscript = callPackage ../tools/text/enscript { };
|
||||
|
||||
ethtool = callPackage ../tools/misc/ethtool { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue