about summary refs log tree commit diff
path: root/tests/init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/init.sh')
-rw-r--r--tests/init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/init.sh b/tests/init.sh
index 714e8efa58d4..b39688fbe91f 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -36,7 +36,7 @@ env-keep-derivations = false
 EOF
 
 mkdir $NIX_DATA_DIR/nix
-cp -prd $TOP/corepkgs $NIX_DATA_DIR/nix/
+cp -pr $TOP/corepkgs $NIX_DATA_DIR/nix/
 # Bah, script has the prefix hard-coded.  This is really messy stuff
 # (and likely to fail).
 for i in \