nixpkgs source: delete existing symlink

This commit is contained in:
Jörg Thalheim
2025-04-25 16:31:18 +02:00
parent 0ceea4c8bf
commit d57c1ec7d7

View File

@@ -55,6 +55,9 @@ let
source = runCommand "clan-cli-source" { } ''
cp -r ${./.} $out
chmod -R +w $out
# In cases where the devshell created this file, this will already exist
rm -f $out/clan_cli/nixpkgs
ln -sf ${nixpkgs'} $out/clan_cli/nixpkgs
cp -r ${../../templates} $out/clan_cli/templates
'';