Merge pull request #21896 from Ericson2314/gawk

Two changes in preperation of cross cleanup
This commit is contained in:
John Ericson 2017-01-14 17:58:22 -05:00 committed by GitHub
commit 94ad99e759
2 changed files with 4 additions and 3 deletions

View File

@ -22,8 +22,9 @@ stdenv.mkDerivation rec {
|| stdenv.isFreeBSD
);
buildInputs = [ xz.bin ]
++ stdenv.lib.optional (stdenv.system != "x86_64-cygwin") libsigsegv
nativeBuildInputs = [ xz.bin ];
buildInputs =
stdenv.lib.optional (stdenv.system != "x86_64-cygwin") libsigsegv
++ stdenv.lib.optional interactive readline
++ stdenv.lib.optional stdenv.isDarwin locale;

View File

@ -24,7 +24,7 @@ let
/* Basic list of packages to be natively built,
but need a crossSystem defined to get meaning */
basicNativeDrv = {
gdbCross = nativePlatforms;
gdbCross.nativeDrv = nativePlatforms;
};
basic = basicCrossDrv // basicNativeDrv;