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:
@@ -201,7 +201,7 @@ let
|
|||||||
passAsFile = [ "extraConfig" ];
|
passAsFile = [ "extraConfig" ];
|
||||||
} ''
|
} ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cp -r ${doomPrivateDir}/* $out
|
cp -rL ${doomPrivateDir}/* $out
|
||||||
chmod u+w $out/config.el
|
chmod u+w $out/config.el
|
||||||
cat $extraConfigPath > $out/config.extra.el
|
cat $extraConfigPath > $out/config.extra.el
|
||||||
cat > $out/config.el << EOF
|
cat > $out/config.el << EOF
|
||||||
|
Reference in New Issue
Block a user