mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
12b3066aae
(NB: the lib in the flake) Correcting a mistake I made when removing the test matrix code from https://github.com/NixOS/nixpkgs/pull/191540
17 lines
264 B
Nix
17 lines
264 B
Nix
{ config, lib, ... }:
|
|
let
|
|
inherit (lib) mkOption types;
|
|
in
|
|
{
|
|
options = {
|
|
callTest = mkOption {
|
|
internal = true;
|
|
type = types.functionTo types.raw;
|
|
};
|
|
result = mkOption {
|
|
internal = true;
|
|
default = config.test;
|
|
};
|
|
};
|
|
}
|