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