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
c08b4e14db
|
@ -228,6 +228,8 @@ let
|
|||
|
||||
in
|
||||
rec {
|
||||
inputs = result.inputs;
|
||||
|
||||
defaultNix =
|
||||
(builtins.removeAttrs result ["__functor"])
|
||||
// (if result ? defaultPackage.${system} then { default = result.defaultPackage.${system}; } else {})
|
||||
|
|
Loading…
Reference in a new issue