mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-02 19:49:18 +00:00
21 lines
345 B
Nix
21 lines
345 B
Nix
{ config, ... }:
|
|
|
|
let
|
|
inherit (config.lib.test) mkStubPackage;
|
|
in
|
|
|
|
{
|
|
programs.gram = {
|
|
enable = true;
|
|
package = null;
|
|
extraPackages = [ (mkStubPackage { }) ];
|
|
};
|
|
|
|
test.asserts.assertions.expected = [
|
|
''
|
|
The `programs.gram.extraPackages` option requires that `programs.gram.package`
|
|
not be null.
|
|
''
|
|
];
|
|
}
|