1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/build-support
Tom Boettcher 1e8b69c35e dockerTools: Fix layer redundancy.
When building an image with multiple layers, files
already included in an underlying layer are supposed to
be excluded from the current layer. However, some subtleties
in the way filepaths are compared seem to be blocking this.

Specifically:
* tar generates relative filepaths with directories ending in '/'
* find generates absolute filepaths with no trailing slashes on directories

That is, paths extracted from the underlying tarball look like:
    nix/store/.../foobar/
whereas the layer being generated uses paths like:
    /nix/store/.../foobar

This patch modifies the output of "tar -t" to match the latter format.
2016-09-23 16:40:59 -05:00
..
agda
build-dotnet-package
build-fhs-userenv fhs-user-env: keep DBUS_SESSION_BUS_ADDRESS env 2016-06-28 23:55:43 +02:00
buildenv buildEnv: build the whole tree of directories to pathsToLink 2016-07-13 03:54:11 +03:00
cc-wrapper Merge remote-tracking branch 'origin/master' into hardened-stdenv 2016-08-24 11:01:53 +02:00
docker dockerTools: Fix layer redundancy. 2016-09-23 16:40:59 -05:00
dotnetbuildhelpers Remove all-packages.nix helperFunctions dependency. 2016-03-20 16:41:20 +00:00
dotnetenv
emacs nixBufferBuilders.withPackages: Make more legible, special-case proof-general. 2016-09-05 17:55:49 -04:00
fetchadc lib/fetchers.nix: factor out impure proxy vars (#18702) 2016-09-17 21:50:01 +02:00
fetchbower bower2nix: 2.1.0 -> 3.0.1 2016-03-28 08:23:06 +01:00
fetchbzr
fetchcvs
fetchdarcs
fetchegg lib/fetchers.nix: factor out impure proxy vars (#18702) 2016-09-17 21:50:01 +02:00
fetchfile
fetchfossil fetchfossil: Don't support MD5. 2016-08-21 11:53:40 -07:00
fetchgit lib/fetchers.nix: factor out impure proxy vars (#18702) 2016-09-17 21:50:01 +02:00
fetchgitlocal
fetchgitrevision
fetchhg lib/fetchers.nix: factor out impure proxy vars (#18702) 2016-09-17 21:50:01 +02:00
fetchmavenartifact fetchMavenArtifact: init (#16825) 2016-07-19 09:48:36 +02:00
fetchmtn lib/fetchers.nix: factor out impure proxy vars (#18702) 2016-09-17 21:50:01 +02:00
fetchnuget
fetchpatch fetchpatch: add addPrefixes argument 2016-07-29 12:03:08 +02:00
fetchsvn lib/fetchers.nix: factor out impure proxy vars (#18702) 2016-09-17 21:50:01 +02:00
fetchsvnrevision
fetchsvnssh
fetchurl lib/fetchers.nix: factor out impure proxy vars (#18702) 2016-09-17 21:50:01 +02:00
fetchzip fetchzip: improve error message 2016-05-17 17:32:53 +01:00
gcc-cross-wrapper gcc-cross-wrapper: fix for non-chroot build 2016-08-03 03:28:14 +03:00
gcc-wrapper-old gcc-wrapper-old: fix binutils and coreutils' paths 2016-04-25 14:27:51 +03:00
grsecurity grsec: Fix build after multiple output shuffling 2016-08-30 15:55:49 +03:00
icon-conv-tools treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
kdewrapper
kernel makeModulesClosure: don't set pipefail as it's already set in $stdenv/setup 2016-08-14 22:38:33 +03:00
libredirect treewide: Add lots of platforms to packages with no meta 2016-08-02 21:17:44 +03:00
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 treewide: Some EOF-whitespace fixes 2016-08-02 21:17:44 +03:00
nuke-references
ocaml Ensure that we can evaluate the platform attribute of ocaml packages. 2016-03-13 19:08:26 +00:00
release antBuild: run default hooks 2016-07-26 02:02:42 +03:00
rust lib/fetchers.nix: factor out impure proxy vars (#18702) 2016-09-17 21:50:01 +02:00
setup-hooks docdev -> devdoc 2016-09-01 11:07:23 +02:00
src-only
substitute doc/stdenv.xml document substitution env variables 2016-04-23 21:41:35 +02:00
substitute-files
templaterpm
upstream-updater Fix #4210: Remove builderDefs 2016-08-31 11:34:46 +02:00
vm runVM: mount devpts 2016-09-04 17:11:01 +03:00
vsenv
build-maven.nix build-maven: use lib.importJSON 2016-02-29 13:49:29 +00:00
build-pecl.nix
replace-dependency.nix nix: Add a "dev" output 2016-04-18 21:13:18 +02:00
source-from-head-fun.nix
trivial-builders.nix symlinkJoin: truly pass the defaulted parameters 2016-07-14 15:36:53 +02:00