!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
1 Oct 2025
@samasaur:matrix.orgsamasaur this is an issue i've seen before. anecdotally it seems to occur whenever a swift package depends on argumentparser. i've solved it on the PR the same way I solved it on my linked example repo, but if there's a better way to do it (ideally making any swift package that depends on argumentparser automatically get this) i'm all ears 06:23:55
@weethet:catgirl.cloudWeetHetDoes it matter if we just need to ship somewhat working swift for 25.11?06:32:33
@samasaur:matrix.orgsamasaurnope06:32:46
@samasaur:matrix.orgsamasaurI did fix it, which is the important bit, and since this swift 5.10 may only stick around until Randy's 6.2 rework, it doesn't need to be super pretty06:33:51
@samasaur:matrix.orgsamasaur also I think I'm wrong and you may just need to do this for any swiftpm project? 06:34:07
@weethet:catgirl.cloudWeetHetI mean I would expect 99% of things to use it06:35:09
@weethet:catgirl.cloudWeetHetIt's a part of corelibs06:36:07
@weethet:catgirl.cloudWeetHetWhich are libdispatch, foundation and xtest06:36:36
@samasaur:matrix.orgsamasauryeah i'm not concerned about it06:36:56
@samasaur:matrix.orgsamasauri am a little concerned about the fact that i seem to have broken C++ interop06:37:12
@samasaur:matrix.orgsamasaursomewhat at least06:37:24
@weethet:catgirl.cloudWeetHetDo mpv and dotnet build and work?06:37:38
@weethet:catgirl.cloudWeetHetIf yes, great, this is ready to ship in 25.11 imho06:37:54
@samasaur:matrix.orgsamasaur

I'm trying

nom-build -A swiftPackages.swift.tests.cxx-interop-test
06:38:13
@samasaur:matrix.orgsamasaur

and on linux that gives me

       > <unknown>:0: warning: libstdc++ not found for 'x86_64-unknown-linux-gnu'; C++ stdlib may be unavailable
       > /build/src/Sources/main.swift:1:8: error: no such module 'CxxStdlib'
       > import CxxStdlib
       >        ^
       > error: fatalError
06:38:30
@samasaur:matrix.orgsamasaurah wait our wrapper does a string check for the old c++ interop flag, which doesn't work anymore and i've had to change out06:40:51
@samasaur:matrix.orgsamasaur hmm though the right answer is probably .interoperabilityMode(.Cxx) which is available from PackageDescription 5.9 06:42:41
@samasaur:matrix.orgsamasaurlet me actually try to build mpv and dotnet06:42:48
@samasaur:matrix.orgsamasaurand that will inform the priority of fixing this06:42:55
@weethet:catgirl.cloudWeetHetI would argue that while nixpkgs technically has more swift consumers than mpv and dotnet, they are really not important and as long as those two build everything else can be marked as broken06:43:19
@weethet:catgirl.cloudWeetHet* I would argue that while nixpkgs technically has more swift consumers than mpv and dotnet, they are really not important and as long as those two build everything else can be marked as broken and dealt with after randy's rework06:43:31
@samasaur:matrix.orgsamasaurwhat is the attr name for dotnet06:43:43
@weethet:catgirl.cloudWeetHetdotnet-sdk?06:44:15
@samasaur:matrix.orgsamasaur also uhhh. nix-build -A mpv built without rebuilds 06:44:20
@samasaur:matrix.orgsamasaurlike downloaded from cache06:44:36
@samasaur:matrix.orgsamasaur as did dotnet-sdk 06:44:47
@weethet:catgirl.cloudWeetHetUhhh06:45:29
@samasaur:matrix.orgsamasaurthat doesn't seem right does it06:45:39
@weethet:catgirl.cloudWeetHetCould you nix-instantiate --json? 06:45:41
@samasaur:matrix.orgsamasaurOH06:46:01

Show newer messages


Back to Room ListRoom Version: 6