-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add inputsFrom option #861
base: main
Are you sure you want to change the base?
Conversation
This mimics the mkShell argument with the same name. Adds all buildInputs, nativeBuildInputs, etc. to the installed packages
[ "stdenv" "defaultNativeBuildInputs" ] | ||
]); | ||
in | ||
lib.mkAfter allInputs; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will most likely have a lot of duplicate packages when passed multiple packages, how is this handled?
Packages added like this should appear in search paths after any explicitly added packages.
I ran into a problem when trying to install treefmt-nix with the instructions , this PR looks to fix it.
|
We need a test for this. |
I don't like the name, because inputs already refer to flake inputs. Maybe |
Could you rebase? |
This mimics the mkShell argument with the same name. Adds all buildInputs, nativeBuildInputs, etc. to the installed packages.
Closes: #809