From 89892f4d09d8205bdfacde3867ca832878493231 Mon Sep 17 00:00:00 2001 From: Soramane <61896496+soramanew@users.noreply.github.com> Date: Wed, 16 Jul 2025 13:43:12 +1000 Subject: nix: optionally include shell --- default.nix | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index 904b22d..e856f88 100644 --- a/default.nix +++ b/default.nix @@ -15,6 +15,8 @@ wl-screenrec, dconf, killall, + caelestia-shell, + withShell ? false, discordBin ? "discord", qtctStyle ? "Fusion", }: @@ -37,20 +39,22 @@ python3.pkgs.buildPythonApplication { pythonImportsCheck = ["caelestia"]; nativeBuildInputs = [installShellFiles]; - propagatedBuildInputs = [ - swappy - libnotify - slurp - wl-clipboard - cliphist - app2unit - dart-sass - grim - fuzzel - wl-screenrec - dconf - killall - ]; + propagatedBuildInputs = + [ + swappy + libnotify + slurp + wl-clipboard + cliphist + app2unit + dart-sass + grim + fuzzel + wl-screenrec + dconf + killall + ] + ++ lib.optional withShell caelestia-shell; SETUPTOOLS_SCM_PRETEND_VERSION = 1; -- cgit v1.2.3-freya