Commit 6dd476b
committed
cabal: Honor LOCALE_ARCHIVE settings when building cabal targets
LOCALE_ARCHIVE is a nixpkgs/nixos setting to help glibc find the
correct `locale-archive` file. A recent change has made setting this
mandatory for newer nixpkgs snapshots. This setting wasn't being honored
for `haskell_cabal_library` and `haskell_cabal_binary`. Pass it through
for these targets. Also fix `cabal_wrapper.py` to make the path absolute
before changing directories.1 parent 6e31297 commit 6dd476b
2 files changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
390 | 393 | | |
391 | 394 | | |
392 | 395 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
| |||
0 commit comments