Merge pull request 'cli: fix dot files not copied to $out in buildPythonApplication' (#4371) from pkgs-for into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4371
This commit is contained in:
hsjobeki
2025-07-15 21:44:19 +00:00

View File

@@ -258,6 +258,8 @@ pythonRuntime.pkgs.buildPythonApplication {
# leading to a different NAR hash and copying it here would also lead to `patchShebangs`
# changing the contents
postInstall = ''
cp -arf clan_lib/clan_core_templates/* $out/${pythonRuntime.sitePackages}/clan_lib/clan_core_templates
cp -r ${nixpkgs'} $out/${pythonRuntime.sitePackages}/clan_lib/nixpkgs
ln -sf ${nix-select} $out/${pythonRuntime.sitePackages}/clan_lib/select
installShellCompletion --bash --name clan \