make flake inputs easily available to classic nix
This makes it easier to control the "shape" of the `default.nix`.
This commit is contained in:
parent
5adafc5bfb
commit
127c86e1d4
|
@ -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 {})
|
||||
|
|
Loading…
Reference in a new issue