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:
parent
c1fee8d4a6
commit
d2e2bda6c0
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ in {
|
||||||
|
|
||||||
nushell = mkIf cfg.enableNushellIntegration {
|
nushell = mkIf cfg.enableNushellIntegration {
|
||||||
extraEnv = ''
|
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
|
${cfg.package}/bin/nix-your-shell nu | save --force ${config.xdg.cacheHome}/nix-your-shell/init.nu
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue