mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-30 16:10:45 +00:00
readest: note null package where Readest is unavailable
nixpkgs only builds Readest for Linux, so on Darwin the module needs package = null to evaluate. Say so in the package option, as programs.ghostty does.
This commit is contained in:
committed by
Austin Horstman
parent
fed1640a82
commit
fdb7862b3d
@@ -24,7 +24,10 @@ in
|
||||
meta.maintainers = [ lib.maintainers.nyxar77 ];
|
||||
options.programs.readest = {
|
||||
enable = mkEnableOption "Readest";
|
||||
package = mkPackageOption pkgs "readest" { nullable = true; };
|
||||
package = mkPackageOption pkgs "readest" {
|
||||
nullable = true;
|
||||
extraDescription = "Set programs.readest.package to null on platforms where readest is not available";
|
||||
};
|
||||
|
||||
settings = mkOption {
|
||||
inherit (jsonFormat) type;
|
||||
|
||||
Reference in New Issue
Block a user