We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 775c8cf commit fbeb1e0Copy full SHA for fbeb1e0
lib/materialize.nix
@@ -67,6 +67,8 @@ let
67
'')
68
+ ''
69
cp -r ${unchecked} $out
70
+ # Make sure output files can be removed from the sandbox
71
+ chmod -R +w $out
72
''
73
);
74
@@ -80,7 +82,11 @@ let
80
82
calculateUseAll =
81
83
# Skip right to expectedPath if it already exists
84
if materialized != null && builtins.pathExists materialized
- then runCommand name hashArgs "cp -r ${materialized} $out"
85
+ then runCommand name hashArgs ''
86
+ cp -r ${materialized} $out
87
88
89
90
else calculateUseHash;
91
92
in
0 commit comments