Unverified Commit 9fe2c0b5 authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

haskell-modules/generic-stack-builder.nix: move env variables into env for...

haskell-modules/generic-stack-builder.nix: move env variables into env for structuredAttrs (#484738)
parents 1352162b d2cd6dcf
Loading
Loading
Loading
Loading
+12 −10
Original line number Diff line number Diff line
@@ -47,6 +47,7 @@ stdenv.mkDerivation (
      stackHook
    ];

    env = {
      STACK_PLATFORM_VARIANT = "nix";
      STACK_IN_NIX_SHELL = 1;
      STACK_IN_NIX_EXTRA_ARGS = extraArgs;
@@ -60,6 +61,7 @@ stdenv.mkDerivation (

      # Fixes https://github.com/commercialhaskell/stack/issues/2358 krank:ignore-line
      LANG = "en_US.UTF-8";
    };

    preferLocalBuild = true;