nixpkgs/pkgs/build-support
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
..
agda
build-fhs-chrootenv Fix build-fhs-chrootenv mount script 2014-10-22 10:39:17 +02:00
buildenv
builder-defs
cabal cabal: add "-hidir $TMPDIR" parameter to ghc call that compiles Setup.hs 2014-11-07 23:22:25 +01:00
clang-wrapper
dotnetenv
fetchadc Add Apple command-line tools 2014-10-02 06:50:09 +01:00
fetchbower
fetchbzr
fetchcvs
fetchdarcs
fetchegg Infrastructure to build chicken eggs. 2014-10-13 23:29:27 +02:00
fetchfile
fetchgit nix-prefetch-git: run single-threaded 'git repack' 2014-11-03 22:52:57 +01:00
fetchgitrevision
fetchhg
fetchmtn
fetchpatch
fetchsvn
fetchsvnrevision
fetchsvnssh
fetchurl Add mirrors for sage 2014-11-03 23:04:44 +01:00
fetchzip
gcc-cross-wrapper
gcc-wrapper ld-wrapper: Put back the --sysroot filter 2014-09-02 13:18:03 +02:00
grsecurity Updated grsec. 2014-10-22 02:18:41 +02:00
kdewrapper
kernel
libredirect
make-desktopitem
make-startupitem
make-symlinks
mono-dll-fixer
native-darwin-cctools-wrapper
nuke-references
release
setup-hooks Revert "python-wrapper: fix wrapped argv[0] w/o sed, maybe" 2014-09-02 20:45:41 +04:00
src-only
substitute
substitute-files substituteAllFiles: add derivation 2014-10-16 15:27:25 +01:00
upstream-updater More support for SF.net in auto-updater 2014-09-02 14:25:16 +04:00
vm Debain 7.6-amd64 tarball was updated in place 2014-10-20 15:26:51 -04:00
vsenv
build-pecl.nix
replace-dependency.nix Exponentially reduce computation time needed for replace-dependency by using memoization. 2014-09-28 09:39:39 -04:00
source-from-head-fun.nix
trivial-builders.nix