refactor: cleanup fixmes

This commit is contained in:
matt1432 2024-12-29 05:40:30 -05:00
parent 628109e47e
commit 82064fec5a
3 changed files with 18 additions and 17 deletions
lib/attrs

View file

@ -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;
}