summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix32
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;