!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
9 Dec 2025
@reckenrode:matrix.orgRandy EckenrodeSpeaking of LLVM version. Are we going to update LLVM 21, or are we waiting for the final patch release?03:08:45
@flyx:klacker.euflyx joined the room.09:06:33
@flyx:klacker.euflyx Hi folks! recently updated to 25.11. I am struggling to get my Qt app running. previously I used qt5.full but that seems to be gone and I need to collect the libs I need manually. I added libsForQt5.qt5.qtbase.dev and libsForQt5.qt5.qtmacextras.dev to my shell but still get qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in "" when trying to run my app. where can I find that plugin? package search didn't help 09:13:03
@k900:0upti.meK900 You need to set QT_PLUGIN_PATH correctly probably 09:15:26
@k900:0upti.meK900Our hooks are kinda bad at this currently09:15:32
@k900:0upti.meK900It's on my list09:15:35
@flyx:klacker.euflyx ah. export QT_PLUGIN_PATH="${pkgs.libsForQt5.qt5.qtbase}/lib/qt-${pkgs.libsForQt5.qt5.qtbase.version}/plugins" fixed it. thanks! 09:20:54
10 Dec 2025
@reckenrode:matrix.orgRandy Eckenrode Hmm. Swift Build depends on what, which doesn’t appear to be available on Linux. What. 01:27:18
@saiko:knifepoint.netKatalin 🔪 that doesn't seem right. where? 01:49:27
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/swiftlang/swift-build/blob/8ebc2e3eaf99e35e76ac968f4bc781bb5a7c1b92/Sources/SWBCore/SpecImplementations/CommandLineToolSpec.swift#L24901:50:13
@reckenrode:matrix.orgRandy EckenrodeNot sure whether it can actually be invoked, but I’m trying to replace these impure paths with package paths.01:51:06
@saiko:knifepoint.netKatalin 🔪 that seems only used from apple specific code at least using the github search 01:51:32
@saiko:knifepoint.netKatalin 🔪 assuming that's what Sources/SWBApplePlatform is 01:52:12
@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

There are no newer messages yet.


Back to Room ListRoom Version: 6