[haskell-updates] ghcWithPackages: fix ghclibdir computation with variantSuffix#166548
Merged
sternenseemann merged 4 commits intoNixOS:haskell-updatesfrom Apr 3, 2022
Merged
Conversation
This is an incorrectness pointed out in NixOS#153319 which we already have a proper solution for.
This is the correctest and clearest way to do it I can think of at the
moment that doesn't need us to add anything.
"${ghcCommand}-${ghc.version}" also works, but is clunkier and harder to
replicate for downstream users.
This is done for consistency with generic-builder.nix and because it's easier for downstream users to replicate which will inevitably use our code as inspiration.
Member
Author
|
Test checklist
|
Member
Author
|
Set rebuild is caused by |
Member
Author
|
cc @guibou This is hopefully the complete version of what you've attempted before, testing should confirm that though. |
Member
Author
|
Seems like the Edit: We should do it separately, since it would change behavior, it has the potential to break things. The other things we are changing were just broken before! |
60 tasks
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.
This is an incorrectness pointed out in #153319 which we already have
a proper solution for.
Description of changes
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes