!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

719 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org143 Servers

Load older messages


SenderMessageTime
21 Sep 2025
@emilazy:matrix.orgemilyhttps://github.com/NixOS/nix/blob/f66b56ad3f7c8c446eb461db94478f5dbc713411/src/libstore/posix-fs-canonicalise.cc#L70-L9014:51:49
@emilazy:matrix.orgemilyso I think this happens after the build runs, not even in fixup14:51:57
@emilazy:matrix.orgemilyand is part of marking store paths valid14:52:01
@emilazy:matrix.orgemilyon Darwin we could actually adjust the sandbox to make setting xattrs on files in the store always "fail successfully" without doing anything, which could be better I suppose14:52:25
@emilazy:matrix.orgemily anyway, if this is only used for the build and not at runtime, it seems reasonable to just give it no xattr(1) at all, if we're doing that for the bindists 14:53:03
@emilazy:matrix.orgemilybecause we throw away the bindists, right?14:53:12
@emilazy:matrix.orgemilyso we don't really care what they contain14:53:17
@emilazy:matrix.orgemilyah they are specifically trying to clear the XProtect thing14:54:05
@emilazy:matrix.orgemily basically if you download something in a browser and extract it, it gets com.apple.provenance all over it 14:54:35
@emilazy:matrix.orgemilywhich is used to determine whether to check notarization etc. on startup and cause prompts / failures for unsigned stuff14:55:01
@emilazy:matrix.orgemily so if you download ghc.tar.gz in a browser, unpack it, and try to install, it won't run OOTB 14:55:15
@emilazy:matrix.orgemilythis is not really relevant for the Nix case14:55:23
@sternenseemann:systemli.orgsterni (he/him) alexfmpe: https://github.com/nixos/nixpkgs/blob/e7f97488c1800dd9ee4316cc1021b751c05ab8f2/pkgs/development/haskell-modules/configuration-ghcjs-9.x.nix?plain=1#L34 i think this should be resolved with 9.12?! 20:00:28
@sternenseemann:systemli.orgsterni (he/him) emily: https://github.com/NixOS/nixpkgs/pull/413450#issuecomment-2941845343 20:04:18
@alexfmpe:matrix.orgalexfmpehuh probably yeah20:05:41
@emilazy:matrix.orgemilyright. I think it is still irrelevant/useless for the source builds though20:06:42
@emilazy:matrix.orgemilybecause all it can do is strip or fail to strip things that Nix will strip or fail to strip anyway20:07:02
@emilazy:matrix.orgemily in the case on that PR, xattr(1) was dutifully reporting that it failed to strip com.apple.provenance I suppose, and the installation procedure was unhappy 20:07:21
22 Sep 2025
@wolfgangwalther:matrix.orgWolfgang Walther sterni should we cherry-pick all the fixes we're not making to staging-next into haskell-updates? 11:44:41
@wolfgangwalther:matrix.orgWolfgang Walther * sterni should we cherry-pick all the fixes we're now making to staging-next into haskell-updates? 11:44:47
@maralorn:maralorn.demaralornMy suggestion would be to pause work on h-u until staging-next is merged?11:57:22
@wolfgangwalther:matrix.orgWolfgang WaltherFor possibly a full week or more?12:09:35
@maralorn:maralorn.demaralornIs that unreasonable?12:15:35
@sternenseemann:systemli.orgsterni (he/him)I think it makes sense to stage a bunch of set rebuilding changes on the branch and use a time when the x86_64-linux queue has calmed down a bit to get through it12:24:16
@sternenseemann:systemli.orgsterni (he/him)24.11 rebuilds everything again12:24:21
@wolfgangwalther:matrix.orgWolfgang WaltherImho, yes. That's essentially just making the next cycle much longer.12:24:21
@sternenseemann:systemli.orgsterni (he/him)package set update seems to eval already at https://github.com/NixOS/nixpkgs/pull/44505112:26:38
@maralorn:maralorn.demaralornI mean ideally the next cycles will be very quick, anyway.12:26:55
@maralorn:maralorn.demaralornWell, I mean anything that we want to do we can obviously do on the branch. I was just thinking that it might not be necessary to do the cherry-picks.12:28:36
@maralorn:maralorn.demaralorn* Well, I mean anything that we want to do we can obviously do on the branch. No need to stop working. I was just thinking that it might not be necessary to do the cherry-picks.12:29:03

Show newer messages


Back to Room ListRoom Version: 6