Fix derivations setting createFindlibDestdir in nix-shell#121992
Fix derivations setting createFindlibDestdir in nix-shell#121992Zimmi48 wants to merge 1 commit intoNixOS:masterfrom
createFindlibDestdir in nix-shell#121992Conversation
|
I think it'd be preferrable to inject this feature into the This is especially an issue since you can get a |
There is also a |
|
Typo, I would suggest preInstall of course. |
|
Here is a new version based on this idea that seems to work as well. I didn't know how to append to the |
|
Result of 17 packages marked as broken and skipped:
63 packages skipped due to time constraints:
53 packages built successfully:
|
|
@sternenseemann Does the new version look good to you? |
|
I've thought about it and I think overriding the I think the easiest could be to remove |
|
I didn't really consider this option because I thought it would be a huge task. Checking now with grep, I see that there are still 116 occurrences. That's a lot but indeed not that many compared to the 812 occurrences of |
|
You can follow my progress at #124504, taking a break now… |
|
As @symphorien pointed out, alternatively we could also add a new phase via the setup hook like nixpkgs/pkgs/build-support/setup-hooks/autoreconf.sh Lines 1 to 7 in 1834bc8 |
|
Given that your PR is ready, and that this feature was becoming less and less useful with the general move toward Dune, I wouldn't bother doing differently now. |
|
@vbgl what do you think? |
|
I acknowledge that there is a problem that should be fixed. This PR has a QnD fix that looks OK but causes a massive rebuild so we have to double-check before merging… PR 124504 seems much better (a lot of welcome cleaning, a thorough understanding of how to fix the issue) but the change is large thus tedious to review. |
|
I marked this as stale due to inactivity. → More info |
Motivation for this change
Fix #121991
Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)