aboutsummaryrefslogtreecommitdiffhomepage
path: root/nix
diff options
context:
space:
mode:
authorMihai Fufezan <[email protected]>2022-07-30 18:11:46 +0300
committerMihai Fufezan <[email protected]>2022-07-30 18:11:46 +0300
commit3c544e1c31692e5ad2aa3edab799e5e42ab57f82 (patch)
tree32950216a3f73fb45b9f0292032ae04de4b439b3 /nix
parent191c02a4f41a797d0487f27079d5750f38f54888 (diff)
downloadHyprland-3c544e1c31692e5ad2aa3edab799e5e42ab57f82.tar.gz
Hyprland-3c544e1c31692e5ad2aa3edab799e5e42ab57f82.zip
Nix module: make package nullable
Diffstat (limited to 'nix')
-rw-r--r--nix/module.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/module.nix b/nix/module.nix
index 36c744f0..08ec4efe 100644
--- a/nix/module.nix
+++ b/nix/module.nix
@@ -18,7 +18,7 @@ in {
'';
package = mkOption {
- type = types.package;
+ type = types.nullOr types.package;
default = self.packages.${pkgs.system}.default;
defaultText = literalExpression "<Hyprland flake>.packages.<system>.default";
example = literalExpression "<Hyprland flake>.packages.<system>.default.override { }";