summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/GitPython/hardcode-git-path.patch
diff options
context:
space:
mode:
authorTom Boettcher <tboett@gmail.com>2016-09-23 16:10:47 -0500
committerTom Boettcher <tboett@gmail.com>2016-09-23 16:40:59 -0500
commit1e8b69c35e23760645e49f5055abe787b6743468 (patch)
tree90c3d167c6b50153c6daff57a9ba00fa7307d053 /pkgs/development/python-modules/GitPython/hardcode-git-path.patch
parent124f25bc7d53c6c3314eb306501840d38047638d (diff)
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.
Diffstat (limited to 'pkgs/development/python-modules/GitPython/hardcode-git-path.patch')
0 files changed, 0 insertions, 0 deletions