make flake inputs easily available to classic nix #68

Merged
jade merged 1 commit from cobaltcause/flake-compat:expose-inputs into main 2024-11-25 18:56:39 +00:00

View file

@ -228,6 +228,8 @@ let
in
rec {
inputs = result.inputs // { self = result; };
defaultNix =
(builtins.removeAttrs result ["__functor"])
// (if result ? defaultPackage.${system} then { default = result.defaultPackage.${system}; } else {})