lib.extendDerivation': init to fix overriding issues caused by lib.extendDerivation#269785
Draft
ShamrockLee wants to merge 2 commits intoNixOS:masterfrom
Draft
lib.extendDerivation': init to fix overriding issues caused by lib.extendDerivation#269785ShamrockLee wants to merge 2 commits intoNixOS:masterfrom
ShamrockLee wants to merge 2 commits intoNixOS:masterfrom
Conversation
msfjarvis
reviewed
Nov 25, 2023
ea059de to
32f25b1
Compare
9a5e5d3 to
c16d830
Compare
c16d830 to
bf4e383
Compare
1bdd5ec to
45b8e33
Compare
13 tasks
Contributor
Author
|
Rebase to resolve merge conflicts. |
45b8e33 to
24badd8
Compare
Contributor
Author
|
Result of 1 package blacklisted:
|
24badd8 to
545bef2
Compare
Contributor
Author
|
Rebase onto master to resolve release note merge conflict. |
13 tasks
545bef2 to
2a53205
Compare
Contributor
Author
|
Split the application of |
2a53205 to
0325c2c
Compare
infinisil
reviewed
Dec 1, 2023
Member
infinisil
left a comment
There was a problem hiding this comment.
This seems really complicated, I don't think I can review this as is unless it's simplified a bunch.
0325c2c to
773cf37
Compare
Add lib.extendDerivaton' as an overriding-aware alternative to `lib.extendDerivation`. Co-authored-by: Harsh Shandilya <[email protected]>
773cf37 to
87c9a09
Compare
13 tasks
Contributor
Author
Contributor
Author
|
@ofborg build tests.overriding |
12 tasks
Contributor
Author
|
The Instead of adding another version of the low-level |
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.
Description of changes
Add function
lib.extendDerivation'as an alternative tolib.extendDerivationthat is aware of existing overriders (existing attributes that performs overriding), and use it to fix overriding problem caused bylib.extendDerivationwhen applying to packages build withstdenv.mkDerivaiton.Centinuation of #266232
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Priorities
Add a 👍 reaction to pull requests you find important.