From 2df4f288c7eb9ef9d3984ed458fec24f4f53cdb5 Mon Sep 17 00:00:00 2001 From: ckie Date: Mon, 24 Jan 2022 16:47:51 +0200 Subject: [PATCH] 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. --- default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 02dbe87..4b67f41 100644 --- a/default.nix +++ b/default.nix @@ -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