3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs
Peter Simons 40bb2781ee cabal: add "-hidir $TMPDIR" parameter to ghc call that compiles Setup.hs
Packages that don't have a Setup.hs file get to use a default version that
lives in the Nix store. By default ghc tries to put the Setup.o and Setup.hi
files in the same directory as the source file, which isn't writable. This
leads to build errors [1]. Thus, we re-direct those paths to a build-local
writable location: $TMPDIR.

Arguably, we could also use "." or copy the /nix/store/deadbeef-Setup.hs file
into the local source directory before compiling, which would work fine, too.

[1] https://github.com/NixOS/nixpkgs/issues/4851
2014-11-07 23:22:25 +01:00
..
applications Merge pull request #4877 from rycee/morituri 2014-11-07 23:33:24 +03:00
build-support cabal: add "-hidir $TMPDIR" parameter to ghc call that compiles Setup.hs 2014-11-07 23:22:25 +01:00
data hasklig: new font 2014-11-07 01:14:48 +00:00
desktops ristretto: wrap icon theme 2014-11-03 20:02:41 +00:00
development Add 'pycdio', a Python wrapper for libcdio. 2014-11-07 21:26:53 +01:00
games dwarf-fortress: delete old 34.11 package. 2014-11-07 17:22:29 +01:00
misc Turn more licenses into lib.licenses style 2014-11-06 00:48:16 +00:00
os-specific linux_3_12: fix hash 2014-11-07 12:39:04 +01:00
servers mod_evasive: Add Apache version check 2014-11-07 11:42:43 +01:00
shells
stdenv Allow marking licenses as unfree 2014-11-05 15:15:00 +01:00
test
tools Fixed typo: home -> homepage 2014-11-07 16:51:27 +01:00
top-level Merge pull request #4877 from rycee/morituri 2014-11-07 23:33:24 +03:00