3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/lib/kernel.nix

17 lines
310 B
Nix
Raw Normal View History

{ lib }:
with lib;
rec {
# Keeping these around in case we decide to change this horrible implementation :)
option = x:
x // { optional = true; };
yes = { tristate = "y"; };
no = { tristate = "n"; };
module = { tristate = "m"; };
freeform = x: { freeform = x; };
}