cli: fix dot files not copied $out in buildPythonApplication
File such as .envrc, .gitignore where not copied into the package and thus missing in all templates
This commit is contained in:
committed by
pinpox
parent
91434044e0
commit
c0225ea757
@@ -258,6 +258,8 @@ pythonRuntime.pkgs.buildPythonApplication {
|
|||||||
# leading to a different NAR hash and copying it here would also lead to `patchShebangs`
|
# leading to a different NAR hash and copying it here would also lead to `patchShebangs`
|
||||||
# changing the contents
|
# changing the contents
|
||||||
postInstall = ''
|
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
|
cp -r ${nixpkgs'} $out/${pythonRuntime.sitePackages}/clan_lib/nixpkgs
|
||||||
ln -sf ${nix-select} $out/${pythonRuntime.sitePackages}/clan_lib/select
|
ln -sf ${nix-select} $out/${pythonRuntime.sitePackages}/clan_lib/select
|
||||||
installShellCompletion --bash --name clan \
|
installShellCompletion --bash --name clan \
|
||||||
|
|||||||
Reference in New Issue
Block a user