enscript: fix build on darwin (close #933, really this time)

This commit is contained in:
Jason \"Don\" O'Conal 2013-09-07 10:31:37 +10:00 committed by Vladimír Čunát
parent d3c6bd45ca
commit e0fd701942

View File

@ -802,7 +802,12 @@ let
encfs = callPackage ../tools/filesystems/encfs { };
enscript = callPackage ../tools/text/enscript { };
enscript = callPackage ../tools/text/enscript {
# fix syntax errors
stdenv = if stdenv.isDarwin
then clangStdenv
else stdenv;
};
ethtool = callPackage ../tools/misc/ethtool { };