icu: Make static linking possible#304772
Conversation
|
Are the rebuilds just because of dontDisableStatic now being false instead of missing (by default)? |
symphorien
left a comment
There was a problem hiding this comment.
what is the advantage of this flag in comparison to pkgsStatic.icu ? (which already builds it seems)
I guess so, but that surprises me as well. |
I'd like to be able to statically link outside of |
|
What are the steps to get this merged? |
|
If you drop that line, the change becomes useless, but does the output path return to the old one? |
|
@7c6f434c It took me a while to figure out what you meant, but no the path is different: I'm guessing this has something to do with newlines in the |
|
But if it changes anything about postInstall while |
|
@7c6f434c is there a way to say |
|
@7c6f434c I just confirmed: It's the presence of the |
|
It is avoidable, but in an ugly way. I wanted it checked that this is the only rebuild-triggering change, though. |
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin staging-24.05
git worktree add -d .worktree/backport-304772-to-staging-24.05 origin/staging-24.05
cd .worktree/backport-304772-to-staging-24.05
git switch --create backport-304772-to-staging-24.05
git cherry-pick -x f3dee8a2e201ee0672d4268a062c3ec6f8f855c4 |
|
I guess it was in |
|
@7c6f434c I just realised that I added the argument to the wrong function. It should be the former, so that it's overridable, not the later. |
|
If you add the argument to the upper function, you need to re-call the resulting function after overriding and pass it the source hash again. don't you? |
|
@7c6f434c Hm didn't think about it enough maybe. In any case I can't override static now so I still can't use this with |
Description of changes
Make it possible to statically link against
icu.See #304756
Things done
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.