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 ? []
, extraArgs ? []
, LD_LIBRARY_PATH ? []
, ghc ? ghc
, ghc' ? ghc
, ...
}@args:
@ -14,7 +14,7 @@ stdenv.mkDerivation (args // {
buildInputs =
buildInputs ++
optional stdenv.isLinux glibcLocales ++
[ ghc pkgconfig ];
[ ghc' pkgconfig ];
STACK_PLATFORM_VARIANT="nix";
STACK_IN_NIX_SHELL=1;