!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
24 Oct 2025
@emilazy:matrix.orgemilytalk to the Haskell maintainers about it?02:46:50
@emilazy:matrix.orgemilyit'll be a lot easier to maintain in Nixpkgs than externally02:46:59
@emilazy:matrix.orgemilythey support multiple versions of specific packages within the set02:47:10
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/NixOS/nixpkgs/issues/19054202:48:03
@reckenrode:matrix.orgRandy EckenrodeThe newer version of hledger in the set doesn’t build. It seems to be a recurring problem.02:48:47
@emilazy:matrix.orgemily if you sign up as a maintainer you get automatic pings when haskell-updates breaks it 02:49:31
@emilazy:matrix.orgemilythat's something they have somewhat better tooling for than us02:49:40
@emilazy:matrix.orgemilygeneral-us :)02:49:48
@emilazy:matrix.orgemilyhttps://github.com/NixOS/nixpkgs/pull/45335002:50:03
@reckenrode:matrix.orgRandy EckenrodeThough it seems that Haskell may be using unversioned arguments with different releases pinning to different versions.02:50:04
@emilazy:matrix.orgemilylooks like it was also done.02:50:08
@reckenrode:matrix.orgRandy EckenrodeNow I need to update my flake to get it. I have a bunch of stuff I can simplify if I could use the table format with complex conditions.02:51:18
@reckenrode:matrix.orgRandy Eckenrode So, somewhat related, if I want to be ready for allowing scopes in by-name, what’s the best approach to use? I’m thinking of a swiftPackages scope. 02:54:16
@emilazy:matrix.orgemilyI think just do whatever you were doing pretty much02:56:36
@emilazy:matrix.orgemilywe are already having to think about how to port the existing scopes02:56:45
@emilazy:matrix.orgemilywhich do some pretty gnarly things02:56:53
@emilazy:matrix.orgemilyif you can try to avoid putting random things that aren't packages in the scope that's nice02:57:07
@emilazy:matrix.orgemily and use makeScopeWithSplicing 02:57:31
@reckenrode:matrix.orgRandy Eckenrode That’s pretty much what I was doing. The plan was to rely on the scope to handle cross, so I just need to provide swiftPackages.stdlib. 03:04:07
@reckenrode:matrix.orgRandy EckenrodeFor example.03:04:12
@reckenrode:matrix.orgRandy Eckenrode So don’t put functions in the scope? Can they be in packages? While I want to move away from swiftpm2nix, I plan to keep it for compatibility. 03:05:21
@emilazy:matrix.orgemilygeneric builder functions are surely something we'll have to handle in some form or another03:06:17
@emilazy:matrix.orgemily and passthru functions surely can't cause any more issues than they already do (you can put 'em in by-name already) 03:06:31
@reckenrode:matrix.orgRandy EckenrodeIt has some boilerplate stuff it exports IIRC.03:06:53
@emilazy:matrix.orgemilyrealistically each scope will need to be manually looked at03:07:09
@emilazy:matrix.orgemilyand the existing ones have pretty gnarly stuff already03:07:22
@emilazy:matrix.orgemilyI wouldn't anticipate major issues unless yo utry to do super magic things03:07:40
@emilazy:matrix.orgemily it's mostly just been a question of how we need to extend by-name and what that mechanism should look like 03:07:59
@samasaur:matrix.orgsamasauri think you may have05:23:09
@samasaur:matrix.orgsamasaur patching this function down to just set(${out_var} "-framework ${framework_name}" PARENT_SCOPE) makes everything build 05:23:51

Show newer messages


Back to Room ListRoom Version: 6