0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

nixos/services.bees: Fix evaluation

```
error: undefined variable 'mod'
```
This commit is contained in:
Zhong Jianxin 2024-09-02 19:23:52 +08:00
parent 282e35e076
commit 422ae9928a

View file

@ -23,7 +23,7 @@ let
example = "LABEL=MyBulkDataDrive";
};
options.hashTableSizeMB = lib.mkOption {
type = lib.types.addCheck lib.types.int (n: mod n 16 == 0);
type = lib.types.addCheck lib.types.int (n: lib.mod n 16 == 0);
default = 1024; # 1GB; default from upstream beesd script
description = ''
Hash table size in MB; must be a multiple of 16.