!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
10 Jun 2021
@domenkozar:matrix.orgDomen Kožarso you can have pure stdenv, but not really pure builds09:01:06
@domenkozar:matrix.orgDomen Kožar(in theory)09:01:11
@qyliss:fairydust.spaceAlyssa Rossyou could have pure builds of very simple programs09:01:37
@qyliss:fairydust.spaceAlyssa Rossat least09:01:53
@domenkozar:matrix.orgDomen Kožaryeah that's really neat :)09:13:32
@jan.smittie:fabi.devsmittieRedacted or Malformed Event10:40:22
@jan.smittie:fabi.devsmittie * Hey there, nix doctor warned me about multiple nix versions. As I didn't find any proper result online I just trashed one of the nix-bins.
Nix still works, as far as I can tell, but nix doctor now gives me error: getting status of '/nix/store/5r1n292czy9x0wm5n4nrrp4xx199zggv-nix-2.3.11': No such file or directory . I'm not sure how to further approach this. This error corresponds to the one of the two links I deleted. 🤔
10:40:48
@jan.smittie:fabi.devsmittie * Hey there, nix doctor warned me about multiple nix versions. As I didn't find any proper result online I just trashed one of the referenced nix-bin-links.
Nix still works, as far as I can tell, but nix doctor now gives me error: getting status of '/nix/store/5r1n292czy9x0wm5n4nrrp4xx199zggv-nix-2.3.11': No such file or directory . I'm not sure how to further approach this. This error corresponds to the one of the two links I deleted. 🤔
10:41:29
@jan.smittie:fabi.devsmittie * Hey there, nix doctor warned me about multiple nix versions. As I didn't find any proper result online I just trashed one of the referenced nix-bin-links.
Nix still works, as far as I can tell, but nix doctor now gives me error: getting status of '/nix/store/5r1n292czy9x0wm5n4nrrp4xx199zggv-nix-2.3.11': No such file or directory . The message is somehow correct as it corresponds to the link I did delete. I just don't understand how nix or nix doctor still expects to find it on my system. Where else should I look for dangling refs? 🤔
10:43:17
@emilazy:matrix.orgemilythe macOS syscall ABI is not stable16:39:26
@emilazy:matrix.orgemilyso binaries linked with a nonstandard libSystem will (potentially) be OS-version-specific16:39:34
@emilazy:matrix.orgemilya la BSDs16:39:38
@emilazy:matrix.orgemilythat said, I thought that with tbds we could do pure builds already16:41:35
@daiderd:matrix.orgLnLwell it's not really pure since we still depend on magic stuff that we can't build ourselves, but it should be pretty isolated17:50:39
@daiderd:matrix.orgLnLthe result similar to what we used to do for Libsystem https://daiderd.com/2020/06/25/nix-and-libsystem.html17:51:00
11 Jun 2021
@emilazy:matrix.orgemilyright, I mean, there's still some kind of binary seed / stuff to download, but my understanding was that we should no longer need anything from a running macOS system or anything?02:03:13
@daiderd:matrix.orgLnLwell not natively, since Libsystem and friends is needed to actually run stuff06:49:12
@daiderd:matrix.orgLnLI'd consider a pure build something that could run anywhere like puredarwin06:50:09
@kloenk:petabyte.devFinn Behrens Has anybody an idea on how to build this? I did not see it in nixpkgs, and don't want to install brew. I tried make with nix-shell -p pkg-config libxml2 graphviz -I nixpkgs=channel:nixos-unstable. https://github.com/SwiftDocOrg/swift-doc 10:56:45
12 Jun 2021
@emilazy:matrix.orgemilywell, it requires swift which we have no darwin package for, so... I'd suggest giving up installing Swift and Xcode or something :)00:32:46
@emilazy:matrix.orgemily * well, it requires swift which we have no darwin package for, so... I'd suggest giving up and installing Swift and Xcode or something :)00:33:01
@abathur:matrix.orgabathurthe swift-corefoundation is a lie!01:08:32
@abathur:matrix.orgabathurI did find this https://github.com/eqyiel/nixpkgs/pull/3/files01:15:27
@abathur:matrix.orgabathurthis might also be workable under some circumstances? https://github.com/LnL7/dotfiles/blob/45477ad631af2a34c9156977f0e31c5360dc9f3c/nixpkgs/overlays/50-darwin-impure-packages.nix01:17:06
@kloenk:petabyte.devFinn Behrens
In reply to @emilazy:matrix.org
well, it requires swift which we have no darwin package for, so... I'd suggest giving up and installing Swift and Xcode or something :)
Swift and Xcode is installed. It complains about graphviz. Which I don’t want to build without nix :-)
08:29:31
@daiderd:matrix.orgLnLeither it's looking in a specific place for that or the swift compiler can't find it because it's not looking in nix locations unlike our compiler wrappers09:06:13
@toonn:matrix.orgtoonn LnL: I've been keeping an eye on the LLVM bump evaluation and it doesn't seem to be progressing any, mostly looking at the still succeeding figure. 19:05:45
@daiderd:matrix.orgLnLyeah it's because of the scheduling shares https://hydra.nixos.org/jobset/nixpkgs/lnl7-wip#tabs-configuration19:33:15
@daiderd:matrix.orgLnLthere's a 70k darwin queue so most other things get priority, which is totally reasonable but a bit annoying when waiting for results :D19:34:25
@toonn:matrix.orgtoonn 1 out of 72 million? Ouch >.< 19:37:48

Show newer messages


Back to Room ListRoom Version: 6