copy dereferencing links from doomPrivateDir

This fixes #41. Previously `config.el` being a symlink meant permissions
could not be set and the build would fail.
This commit is contained in:
ckie
2022-01-24 16:47:51 +02:00
parent 361ffb6da6
commit 2df4f288c7

View File

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