From 4d200538c22503f900068eb29de6e66a55186260 Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Wed, 13 Apr 2016 23:54:33 +0200 Subject: [PATCH] dockerTools: fix /nix/store permissions --- pkgs/build-support/docker/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/build-support/docker/default.nix b/pkgs/build-support/docker/default.nix index 1f14bda203db..e2b03778bffa 100644 --- a/pkgs/build-support/docker/default.nix +++ b/pkgs/build-support/docker/default.nix @@ -286,7 +286,9 @@ EOF cp ${layer}/* temp/ chmod ug+w temp/* - touch layerFiles + # FIXME: might not be /nix/store + echo '/nix' >> layerFiles + echo '/nix/store' >> layerFiles for dep in $(cat $layerClosure); do find $dep >> layerFiles done