-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
[haskell-updates] ghcWithPackages: fix ghclibdir computation with variantSuffix #166548
[haskell-updates] ghcWithPackages: fix ghclibdir computation with variantSuffix #166548
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.
Test checklist
|
Set rebuild is caused by
|
cc @guibou This is hopefully the complete version of what you've attempted before, testing should confirm that though. |
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! |
This is an incorrectness pointed out in #153319 which we already have
a proper solution for.
Description of changes
Things done
sandbox = true
set 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.sh
to update generated release notes