From d2e2bda6c050a61d51b8e395ad66b8fa48318e07 Mon Sep 17 00:00:00 2001 From: Fea <53912746+feathecutie@users.noreply.github.com> Date: Mon, 2 Dec 2024 10:38:18 +0100 Subject: [PATCH] nix-your-shell: fix creating required directory This fixes https://github.com/nix-community/home-manager/issues/6161 --- modules/programs/nix-your-shell.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/programs/nix-your-shell.nix b/modules/programs/nix-your-shell.nix index 5e19e8801..20b5fd19e 100644 --- a/modules/programs/nix-your-shell.nix +++ b/modules/programs/nix-your-shell.nix @@ -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 '';