We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 829cba5 commit a39b5a7Copy full SHA for a39b5a7
builder/shell-for.nix
@@ -90,6 +90,10 @@ in
90
LANG = "en_US.UTF-8";
91
LOCALE_ARCHIVE = lib.optionalString (stdenv.hostPlatform.libc == "glibc") "${glibcLocales}/lib/locale/locale-archive";
92
93
+ # This helps tools like `ghcide` (that use the ghc api) to find
94
+ # the correct global package DB.
95
+ NIX_GHC_LIBDIR = ghcEnv + "/" + configFiles.libDir;
96
+
97
passthru = (mkDrvArgs.passthru or {}) // {
98
ghc = ghcEnv;
99
inherit configFiles;
0 commit comments