!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
@reckenrode:matrix.orgRandy EckenrodeCould be an issue if we ever get cross-compilation going.01:52:51
@reckenrode:matrix.orgRandy EckenrodeOther things to worry about first though.01:53:02
@reckenrode:matrix.orgRandy Eckenrode Updated my KosmicKrisp branch. It’s getting closer to supporting DXVK. It’s missing support for these features: depthBiasClamp, fillModeNonSolid, sampleRateShading, and shaderCullDistance. It also lacks support for geometry shaders and tessellation shaders. 02:24:36
@emilazy:matrix.orgemily
STANDARDS
       The  what  utility conforms to IEEE Std 1003.1-2001 (“POSIX.1”).  The -q
       option is a non-standard FreeBSD extension which may not be available on
       other operating systems.

HISTORY
       The what command appeared in 4.0BSD.
03:57:48
@emilazy:matrix.orgemilythere's probably a package for it on Linux03:57:52
@emilazy:matrix.orgemilythough we might not want Swift to depend on SCCS…03:58:09
@reckenrode:matrix.orgRandy Eckenrode I tried using nix-locate. The only thing that came back for bin/what was darwin.shell_cmds. 04:13:55
@reckenrode:matrix.orgRandy EckenrodeI had a horrible idea. Can we write a SwiftPM plugin that just provides the pre-compiled binaries from the store?04:18:07
@reckenrode:matrix.orgRandy Eckenrode Then when we set up the SwiftPM checkout folder, we use our own Package.swift that uses our plugin to provide the pre-compiled binary. 04:18:48
@saiko:knifepoint.netKatalin 🔪

The what utility searches each specified file for sequences of the form “@(#)” as inserted by the SCCS source
code control system. It prints the remainder of the string following this marker, up to a NUL character,
newline, double quote, ‘>’ character, or backslash.

it seems trivial to write a program that does the same thing. potentially even a stub binary might work (does anything even use this marker syntax?)

04:34:38
@saiko:knifepoint.netKatalin 🔪

oh yeah, it is actually used. wild

saiko@mulex-copan ~ % what -q /usr/bin/true
PROGRAM:true  PROJECT:shell_cmds-326
PROGRAM:true  PROJECT:shell_cmds-326
04:38:19
@k900:0upti.meK900 @Randy Eckenrode https://github.com/NixOS/nixpkgs/pull/469541 FYI 09:35:56
@acidbong:envs.net@acidbong:envs.net joined the room.12:16:36
@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

Show newer messages


Back to Room ListRoom Version: 6