| 9 Dec 2025 |
Randy Eckenrode | Hmm. The LLVM for for Swift 6.3 is LLVM 21.1.6. | 03:05:45 |
Randy Eckenrode | https://github.com/swiftlang/swift/blob/8bf0adb5b25fe23f20130c0a2635b7319517dba0/utils/build_swift/build_swift/defaults.py#L51 | 03:06:44 |
Randy Eckenrode | Interesting. Apple’s fork is realigning its versioning strategy to more closely follow LLVM? | 03:07:36 |
Randy Eckenrode | I wonder if they have a problem with people being confused about what version they’re shipping. | 03:07:49 |
Randy Eckenrode | Speaking of LLVM version. Are we going to update LLVM 21, or are we waiting for the final patch release? | 03:08:45 |
| flyx joined the room. | 09:06:33 |
flyx | 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 | You need to set QT_PLUGIN_PATH correctly probably | 09:15:26 |
K900 | Our hooks are kinda bad at this currently | 09:15:32 |
K900 | It's on my list | 09:15:35 |
flyx | 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 |
Randy Eckenrode | Hmm. Swift Build depends on what, which doesn’t appear to be available on Linux. What. | 01:27:18 |
Katalin 🔪 | that doesn't seem right. where? | 01:49:27 |
Randy Eckenrode | https://github.com/swiftlang/swift-build/blob/8ebc2e3eaf99e35e76ac968f4bc781bb5a7c1b92/Sources/SWBCore/SpecImplementations/CommandLineToolSpec.swift#L249 | 01:50:13 |
Randy Eckenrode | Not sure whether it can actually be invoked, but I’m trying to replace these impure paths with package paths. | 01:51:06 |
Katalin 🔪 | that seems only used from apple specific code at least using the github search | 01:51:32 |
Katalin 🔪 | assuming that's what Sources/SWBApplePlatform is | 01:52:12 |
Randy Eckenrode | Could be an issue if we ever get cross-compilation going. | 01:52:51 |
Randy Eckenrode | Other things to worry about first though. | 01:53:02 |
Randy 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 |
emily | 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 |
emily | there's probably a package for it on Linux | 03:57:52 |
emily | though we might not want Swift to depend on SCCS… | 03:58:09 |
Randy Eckenrode | I tried using nix-locate. The only thing that came back for bin/what was darwin.shell_cmds. | 04:13:55 |
Randy Eckenrode | I had a horrible idea. Can we write a SwiftPM plugin that just provides the pre-compiled binaries from the store? | 04:18:07 |
Randy 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 |
Katalin 🔪 |
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 |
Katalin 🔪 | 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 | @Randy Eckenrode https://github.com/NixOS/nixpkgs/pull/469541 FYI | 09:35:56 |
| @acidbong:envs.net joined the room. | 12:16:36 |