Use recursive flag on cp for private directory

If the private directory has multiple folders in it, building the derivation will omit them.
This commit is contained in:
le Duc Banal
2020-03-22 23:06:24 +01:00
committed by GitHub
parent 9b13cde0ec
commit 28f1da710e

View File

@ -203,7 +203,7 @@ let
passAsFile = [ "extraConfig" ];
} ''
mkdir -p $out
cp ${doomPrivateDir}/* $out
cp -r ${doomPrivateDir}/* $out
chmod u+w $out/config.el
cat $extraConfigPath >> $out/config.el
'';