!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1162 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org187 Servers

Load older messages


SenderMessageTime
2 Nov 2025
@emilazy:matrix.orgemilybut I have no idea where it's implemented/wired up.03:49:49
@emilazy:matrix.orgemilyor actually maybe they don't implement that?03:50:28
@emilazy:matrix.orgemilyprobably someone should just try it.03:50:33
@emilazy:matrix.orgemily https://github.com/NixOS/nixpkgs/pull/457703 __CF_USER_TEXT_ENCODING came up here recently right? 03:52:51
@samasaur:matrix.orgsamasaurhuh, just tested with coreutils env from macports and I can reproduce that behavior on v9.504:18:22
@emilazy:matrix.orgemilyright04:22:44
@emilazy:matrix.orgemily because nobody else but us passes --disable-nls it seems 04:22:50
@emilazy:matrix.orgemilycould you comment on the PR?04:23:17
@emilazy:matrix.orgemily(to report the data)04:23:22
@steve_in_the_matrix:matrix.orgSteve joined the room.09:10:34
@reckenrode:matrix.orgRandy EckenrodeMaybe an artifact of our historic CF situation?11:06:25
@emilazy:matrix.orgemilyI expect so yes11:08:42
@emilazy:matrix.orgemily it is a bit crap that env injects a variable like that but avoiding that variable seems like a fools errand 11:09:18
@szlend:matrix.orgszlendI think it also broke tests for this thing: https://github.com/NixOS/nixpkgs/pull/35921412:58:11
@emilazy:matrix.orgemily maybe we can upstream a fix like "if env did not have that thing set in its exec environment, did not have it explicitly set on the CLI, and has it now, unset it before calling exec" 13:21:03
@emilazy:matrix.orgemily unless this is just SBCL linking against CoreFoundation and not related to env 13:22:03
@emilazy:matrix.orgemily I'm wondering about the ~/.CFUserTextEncoding thing though. build users shouldn't have that file, surely? 13:22:27
@emilazy:matrix.orgemilyI wonder if applying https://github.com/NixOS/nixpkgs/pull/457703 fixes it13:24:19
@emilazy:matrix.orgemilyif it does we should probably consider ^13:24:29
@sarahec:matrix.orgSarah Clark I need a bit of help. I'm working on python3Packages.bloodyad; it builds fine on linux but builds fail in the installPhase on Darwin with FileExistsError: File already exists: /nix/store/k8nji11liriv7ipwnz8wif5ajnlw1fxp-python3.13-bloodyad-2.5.0/bin/blood… 22:14:39
@sarahec:matrix.orgSarah ClarkHappens even after a garbage collect, where I confirm the file doesn't exist before the build22:15:12
@sarahec:matrix.orgSarah Clark The exported module is bloodyAD; I suspect we're hitting an issue with the case-insensitive filesystem 22:15:42
@sarahec:matrix.orgSarah ClarkRedacted or Malformed Event22:15:43
@sarahec:matrix.orgSarah Clarkhttps://github.com/NixOS/nixpkgs/pull/45790222:16:06
@sarahec:matrix.orgSarah ClarkOr do I perhaps just have to mark it bad on Darwin?22:16:28
@reckenrode:matrix.orgRandy EckenrodeWish we had a case sensitive store by default. Unfortunately, there’s no way to convert existing stores.22:33:25
@samasaur:matrix.orgsamasaur maybe i'm misunderstanding but isn't this the opposite of the problem? like (assuming genv is coreutils env) genv -i env properly prints nothing, which implies to me that genv is clearing the environment before calling exec, but env -i genv prints __CF_USER_TEXT_ENCODING 22:39:17
@samasaur:matrix.orgsamasaur like doesn't that imply that the fix would be in cases where env doesn't already clear the environment? 22:40:51
@samasaur:matrix.orgsamasaur * like doesn't that imply that the fix would have to be in cases where env doesn't already clear the environment? 22:40:55
@sarahec:matrix.orgSarah Clark

I found it after a bisect --they added the second line here:

[project.scripts]
bloodyAD = "bloodyAD.main:main"
bloodyad = "bloodyAD.main:main"
22:43:05

Show newer messages


Back to Room ListRoom Version: 6