diff options
| author | Soramane <61896496+soramanew@users.noreply.github.com> | 2025-07-16 13:43:12 +1000 |
|---|---|---|
| committer | Soramane <61896496+soramanew@users.noreply.github.com> | 2025-07-16 13:43:12 +1000 |
| commit | 89892f4d09d8205bdfacde3867ca832878493231 (patch) | |
| tree | cdde3153f62946f57e3479d0efb9b46df3564765 /default.nix | |
| parent | nix: add direnv support (diff) | |
| download | caelestia-cli-89892f4d09d8205bdfacde3867ca832878493231.tar.gz caelestia-cli-89892f4d09d8205bdfacde3867ca832878493231.tar.bz2 caelestia-cli-89892f4d09d8205bdfacde3867ca832878493231.zip | |
nix: optionally include shell
Diffstat (limited to 'default.nix')
| -rw-r--r-- | default.nix | 32 |
1 files changed, 18 insertions, 14 deletions
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; |