nixpkgs/pkgs/build-support
Brian McKenna 0167b61ef4 dockerTools: only add "/nix" if it exists
The /nix path in 4d200538 of the layer tar didn't exist for some
packages, such as cacert. This is because cacert just creates an /etc
directory and doesn't depend on any other /nix paths. If we tried
putting this directory in the tar and using overlayfs with it, we'd get
"Invalid argument" when trying to remove the directory.

We now check whether the closure is non-empty before telling tar to
store the /nix directory.

Fixes #14710.
2016-04-16 01:16:49 +10:00
..
agda
build-dotnet-package
build-fhs-chrootenv buildFHSEnv: post-closure-size fix 2016-04-13 14:28:33 +03:00
build-fhs-userenv userFHSEnv: add passthru, rename meta 2016-04-03 04:19:58 +03:00
buildenv treewide: rename extraOutputs{ToLink,ToInstall} 2016-04-07 15:59:44 +02:00
builder-defs
cc-wrapper Merge 'staging' into closure-size 2016-04-07 14:40:51 +02:00
docker dockerTools: only add "/nix" if it exists 2016-04-16 01:16:49 +10:00
dotnetbuildhelpers Remove all-packages.nix helperFunctions dependency. 2016-03-20 16:41:20 +00:00
dotnetenv
emacs emacsWithPackages: reduce some duplication 2016-04-03 21:21:50 +02:00
fetchadc
fetchbower bower2nix: 2.1.0 -> 3.0.1 2016-03-28 08:23:06 +01:00
fetchbzr nix-prefetch-bzr: match path name to fetchbzr name 2015-12-19 09:32:22 -06:00
fetchcvs
fetchdarcs
fetchegg
fetchfile
fetchgit nix-prefetch-git: fix url_to_name heuristic 2016-03-23 11:22:51 +00:00
fetchgitlocal fetchgitlocal: be less chatty 2016-02-01 10:57:01 -08:00
fetchgitrevision
fetchhg nix-prefetch-hg: Various bash style improvements, fixes #9511 2016-02-17 00:35:30 +01:00
fetchmtn
fetchnuget
fetchpatch
fetchsvn
fetchsvnrevision
fetchsvnssh
fetchurl fetchurl: assert required Nix version for sha512 2016-04-14 12:50:21 +01:00
fetchzip Merge pull request #8576 from obadz/nix-prefetch-zip 2016-02-26 00:57:30 +00:00
gcc-cross-wrapper
gcc-wrapper-old Merge master into closure-size 2016-03-08 09:58:19 +01:00
grsecurity build-support/grsecurity: simplify the grsecurityOverrider 2016-04-12 01:23:32 +02:00
kdewrapper
kernel makeModulesClosure: Small cleanup 2016-02-01 18:19:23 +01:00
libredirect
make-desktopitem chromium: add StartupWMClass to desktop file. Fixes #12433 2016-02-29 20:42:58 +01:00
make-startupitem
make-symlinks
mono-dll-fixer
nuke-references
ocaml Ensure that we can evaluate the platform attribute of ocaml packages. 2016-03-13 19:08:26 +00:00
release build-support/source-tarball.nix: fix syntax highlighting in Emacs 2016-01-26 14:03:06 +01:00
rust fetch-cargo-deps: factor into fetchCargoDeps function 2016-02-25 14:05:44 +03:00
setup-hooks Merge branch 'master' into closure-size 2016-04-10 11:17:52 +02:00
src-only
substitute
substitute-files substituteAllFiles: support postInstall 2016-01-10 06:03:26 +03:00
templaterpm
upstream-updater update-walker: add a minimal description 2016-01-01 19:07:38 +01:00
vm Merge branch 'master' into closure-size 2016-04-10 11:17:52 +02:00
vsenv
build-maven.nix build-maven: use lib.importJSON 2016-02-29 13:49:29 +00:00
build-pecl.nix
replace-dependency.nix
source-from-head-fun.nix
trivial-builders.nix symlinkJoin: preferLocalBuild && !allowSubstitutes 2016-03-11 15:59:18 +01:00