Merge pull request 'nixpkgs source: delete existing symlink' (#3411) from nixpkgs-build into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3411
This commit is contained in:
Mic92
2025-04-25 14:41:23 +00:00

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
'';