pkgs/clan: Clean select symlink up

If the symlink is not cleaned up this will break builds of the clan cli
from flakes with path references.
This commit is contained in:
a-kenji
2025-05-21 14:18:26 +02:00
parent 5b80204107
commit 5be449740e

View File

@@ -67,6 +67,7 @@ let
# In cases where the devshell created this file, this will already exist
rm -f $out/clan_lib/nixpkgs
rm -f $out/clan_lib/select
substituteInPlace $out/clan_lib/flake/flake.py \
--replace-fail '@fallback_nixpkgs_hash@' "$(jq -r '.nodes.nixpkgs.locked.narHash' ${nixpkgs'}/flake.lock)" \