mirror of
https://github.com/nix-community/home-manager
synced 2024-12-05 01:19:46 +01:00
nix-your-shell: fix creating required directory
This fixes https://github.com/nix-community/home-manager/issues/6161
This commit is contained in:
parent
c1fee8d4a6
commit
d2e2bda6c0
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue