[0001] Provide to-dev-shell utility for mkDerivation#1
Open
[0001] Provide to-dev-shell utility for mkDerivation#1
Conversation
jonringer
commented
Nov 8, 2024
| ]; | ||
| in originalArgs // { | ||
| inherit name; | ||
|
|
Contributor
Author
There was a problem hiding this comment.
To disable hardening flags, which cause issues with debug traces
Suggested change
| 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. |
Contributor
Author
|
If we had |
jonringer
commented
Apr 19, 2025
|
|
||
| ## Future work | ||
|
|
||
| N/A |
Contributor
Author
There was a problem hiding this comment.
we could also support targeting debug builds for things like cargo, cmake, meson, etc.
jonringer
commented
Apr 19, 2025
| , buildInputs ? [ ] | ||
| , nativeBuildInputs ? [ ] | ||
| , propagatedBuildInputs ? [ ] | ||
| , propagatedNativeBuildInputs ? [ ] |
Contributor
Author
There was a problem hiding this comment.
env should also be supported, to reflect upstream preferences
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.