Fix #26441: avoid infinite recursion

This commit is contained in:
Domen Kožar 2017-06-14 10:33:37 +02:00
parent 537944ea77
commit 9cad7076d1
No known key found for this signature in database
GPG Key ID: C2FFBCAFD2C24246

View File

@ -5,7 +5,7 @@ with stdenv.lib;
{ buildInputs ? [] { buildInputs ? []
, extraArgs ? [] , extraArgs ? []
, LD_LIBRARY_PATH ? [] , LD_LIBRARY_PATH ? []
, ghc ? ghc , ghc' ? ghc
, ... , ...
}@args: }@args:
@ -14,7 +14,7 @@ stdenv.mkDerivation (args // {
buildInputs = buildInputs =
buildInputs ++ buildInputs ++
optional stdenv.isLinux glibcLocales ++ optional stdenv.isLinux glibcLocales ++
[ ghc pkgconfig ]; [ ghc' pkgconfig ];
STACK_PLATFORM_VARIANT="nix"; STACK_PLATFORM_VARIANT="nix";
STACK_IN_NIX_SHELL=1; STACK_IN_NIX_SHELL=1;