parent
628109e47e
commit
82064fec5a
3 changed files with 18 additions and 17 deletions
lib/attrs
|
@ -1,5 +1,9 @@
|
|||
{...}: let
|
||||
inherit (builtins) hasAttr isAttrs tryEval;
|
||||
inputsLib = import ../../inputs/lib.nix;
|
||||
in {
|
||||
inherit (inputsLib) recursiveUpdateList;
|
||||
|
||||
throws = x: !(tryEval x).success;
|
||||
hasVersion = x: isAttrs x && hasAttr "version" x;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue