-
Notifications
You must be signed in to change notification settings - Fork 2
[0001] Provide to-dev-shell utility for mkDerivation #1
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
base: master
Are you sure you want to change the base?
Conversation
| ]; | ||
| in originalArgs // { | ||
| inherit name; | ||
|
|
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.
To disable hardening flags, which cause issues with debug traces
| inherit hardeningDisable; |
and add a
, hardeningDisable ? [ "all" ]
as a default
|
I believe, that this is a relevant "entry breadcrumb" into the nixpkgs' state of discussion: NixOS/nix#7501 This EEP seems to be more narrowly scoped for pragamtic reasons, but reference of the broader context may be of interest for a deep dive into the topic. |
|
If we had |
|
|
||
| ## Future work | ||
|
|
||
| N/A |
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.
we could also support targeting debug builds for things like cargo, cmake, meson, etc.
| , buildInputs ? [ ] | ||
| , nativeBuildInputs ? [ ] | ||
| , propagatedBuildInputs ? [ ] | ||
| , propagatedNativeBuildInputs ? [ ] |
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.
env should also be supported, to reflect upstream preferences
Make development shells easier to create with all derivations by having
mkDerivationprovide atoDevShellfunction, which can be used to convert a derivation into a similar derivation with additional dependencies.