!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
10 Dec 2025
@lep-:matrix.orglep

I'm havnig a bit of a strange issue. For some reason the wrong python binary gets executed despite not being in $PATH

~ $ whereis python                                                                                                                                                                                                                                                                                                                                                                                                                      
python:
~ $ nix-shell -p 'python3.withPackages( ps: [ ps.valkey ])' 
bash: warning: setlocale: LC_COLLATE: cannot change locale (): No such file or directory

[nix-shell:~]$ whereis python
python: /nix/store/jlq2n516adkdbf7fgf1bja9h8l4gxk7j-python3-3.13.9-env/bin/python /nix/store/jlq2n516adkdbf7fgf1bja9h8l4gxk7j-python3-3.13.9-env/share/man/man1/python.1.gz
bash: warning: setlocale: LC_COLLATE: cannot change locale (): No such file or directory

[nix-shell:~]$ python -c 'import valkey'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import valkey
ModuleNotFoundError: No module named 'valkey'
bash: warning: setlocale: LC_COLLATE: cannot change locale (): No such file or directory

[nix-shell:~]$ /nix/store/jlq2n516adkdbf7fgf1bja9h8l4gxk7j-python3-3.13.9-env/bin/python -c 'import valkey'
bash: warning: setlocale: LC_COLLATE: cannot change locale (): No such file or directory

[nix-shell:~]$ 

The python which runs when just typing python is just some pkgs.python3. nix why-depends says it's installed because of git.

15:59:23
11 Dec 2025
@reckenrode:matrix.orgRandy EckenrodeI’ll do the MoltenVK PR this weekend when I rebase my staging branch (assuming the Vulkan SDK update has been merged). Trying to limit the number of bootstraps to only weekly ….03:27:48
@reckenrode:matrix.orgRandy EckenrodeAlso, boo. Swift Build isn’t finding the SDK again. They changed something that I’m going to have to printf debug again.03:28:08
@acidbong:envs.net@acidbong:envs.net left the room.04:45:32
@vcunat:matrix.orgvcunatWe have a weird regression on 25.11 aarch64-darwin, blocking thousands of jobs. Perhaps someone here could have a look? https://github.com/NixOS/nixpkgs/pull/468267#issuecomment-363694291517:06:19
@reckenrode:matrix.orgRandy Eckenrode Anything in Console.app? Usually when something gets killed, it’s due to codesigning. 17:46:56
@vcunat:matrix.orgvcunatWell, the problem is that I never really used Apple stuff.17:50:11
@vcunat:matrix.orgvcunat(though I do have remote access to some)17:50:42
@emilazy:matrix.orgemily man log is the CLI interface 18:00:17
@emilazy:matrix.orgemilyit looks like it might be the awful nondeterministic codesigning bug though18:00:36
@emilazy:matrix.orgemily my guess is that the autogen binary always gets SIGKILLed 18:01:25
@emilazy:matrix.orgemilywhich should be easy to test18:01:31
@emilazy:matrix.orgemily
shion:~
❭ /nix/store/9gk18p59s7fws5j7ykwhzmfaav4c8k7a-autogen-5.18.16-bin/bin/autogen 

fish: Job 1, '/nix/store/9gk18p59s7fws5j7ykwh…' terminated by signal SIGKILL (Forced quit)
18:02:18
@emilazy:matrix.orgemily so it's that that probably needs rebuilding… which AIUI cannot be done without changing the hash because of Hydra/cache limitations… and will probably throw away a ton of builds since it's in autoreconfHook 18:02:49
@vcunat:matrix.orgvcunatChanging the hash for a particular package-platform combination is easy enough, though, it will take lots of machine time, as you wrote.18:11:13
@vcunat:matrix.orgvcunatI don't know a way of rebuilding for cache.nixos.org without changing the hash.18:11:45
@emilazy:matrix.orgemilymanually deleting from cache and rebuilding?18:11:59
@vcunat:matrix.orgvcunatSounds risky.18:12:12
@vcunat:matrix.orgvcunatYou'd be punching a hole.18:12:32
@vcunat:matrix.orgvcunatThe cache is assumed to be closed on dependencies.18:12:46
@reckenrode:matrix.orgRandy EckenrodeI wonder if we need a `no broken signatures’ hook on Darwin.18:12:50
@vcunat:matrix.orgvcunat* The cache is assumed to be closed on dependencies. (or whatever you'd call the property)18:12:55
@reckenrode:matrix.orgRandy EckenrodeLike that symlinks one but for signatures.18:13:07
@emilazy:matrix.orgemily I see no alternative other than rerolling the hash for aarch64-darwin then 18:13:27
@emilazy:matrix.orgemilythough should try to rebuild it locally first to make sure that fixes it18:13:33
@emilazy:matrix.orgemily (cannot use --rebuild or --check, those break signature themselves) 18:13:40
@emilazy:matrix.orgemily(need to just build it without substituting on a machine without it in the store)18:13:49
@vcunat:matrix.orgvcunat It does seem to fix ./result/bin/autogen --help on this machine. 18:18:35
@vcunat:matrix.orgvcunat * It does seem to fix ./result-bin/bin/autogen --help on this machine. 18:19:21
@vcunat:matrix.orgvcunat OK, pushed as e0d2da7967a3. Thanks. 18:25:03

There are no newer messages yet.


Back to Room ListRoom Version: 6