Go to file
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
doc Document meta.branch 2014-10-07 16:23:27 +04:00
lib maintainers.nix: fix broken entry for 'sjmackenzie' 2014-11-07 18:10:54 +01:00
maintainers/scripts Improve escaping (process backtick) and remove trailing spaces 2014-11-04 13:00:25 +03:00
nixos Revert "Revert "syslog-ng: Update from 3.5.6 to 3.6.1"" 2014-11-06 21:59:04 +01:00
pkgs cabal: add "-hidir $TMPDIR" parameter to ghc call that compiles Setup.hs 2014-11-07 23:22:25 +01:00
.gitignore Add .DS_Store to gitignore so we Mac users don't accidentally pollute nixpkgs with ugliness 2014-08-09 20:53:36 -04:00
.travis.yml Travis: chop build in install and build phases 2014-10-15 11:05:12 +02:00
.version .version shouldn't include newline 2014-10-22 15:59:35 +02:00
COPYING * Applying an MIT-style license to Nixpkgs. 2006-04-25 16:50:34 +00:00
default.nix require Nix 1.7 for nixpkgs, since we're using antiquotation inside quoted attribute sets 2014-09-04 18:44:03 +02:00
README.md Fixed link to installation instructions in README 2014-05-26 22:19:22 +02:00

Nixpkgs is a collection of packages for Nix package manager. Nixpkgs also includes NixOS linux distribution source code.