haskell.compiler.ghc*Binary: work around com.apple.provenance xattr#413450
haskell.compiler.ghc*Binary: work around com.apple.provenance xattr#413450reckenrode merged 1 commit intoNixOS:stagingfrom
Conversation
|
Is this an issue in the source built GHCs as well? I remember we have to give it XATTR there for some reason, so this would be worrying. |
|
This change is also necessary for |
|
I can update it for
It’s only an issue for the bindists because |
Given that it's a rebuild unless we write this in a more clunky way, not a good idea at the moment. I can just port the change into a second PR for haskell-updates (the rebuild for 9.0.2 is small by comparison). |
|
Just to confirm, this is not needed for 25.05? |
|
Sounds like a fix to me, which can equally happen on 25.05 - so let's backport! |
|
Successfully created backport PR for |
Done in #421456. |
Sometimes the store can get infected with the
com.apple.provenancexattr. There’s no practical way to remove it. This patch works around it when building GHC, which tries to clear the xattrs oflibiconv.dylibin the store and fails.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/)Add a 👍 reaction to pull requests you find important.