1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-14 11:57:55 +00:00

nix-your-shell: fix creating required directory

This fixes https://github.com/nix-community/home-manager/issues/6161
This commit is contained in:
Fea 2024-12-02 10:38:18 +01:00 committed by GitHub
parent c1fee8d4a6
commit d2e2bda6c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,6 +39,7 @@ in {
nushell = mkIf cfg.enableNushellIntegration {
extraEnv = ''
mkdir ${config.xdg.cacheHome}/nix-your-shell
${cfg.package}/bin/nix-your-shell nu | save --force ${config.xdg.cacheHome}/nix-your-shell/init.nu
'';