!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1181 Members
β€œThere are still many issues with the Darwin platform but most of it is quite usable.” β€” http://yves.gnu-darwin.org194 Servers

Load older messages


SenderMessageTime
26 May 2021
@andi:kack.itandi-yeah11:55:48
@andi:kack.itandi-All I wanted was to compile a compiler... :(11:55:58
@thefloweringash:matrix.orgthefloweringashI’m doing my part. (Hitting that report button)11:56:11
@kloenk:petabyte.devFinn Behrens
In reply to @andi:kack.it
All I wanted was to compile a compiler... :(
Is that metausing of a Mac? πŸ˜‚
11:56:51
@kloenk:petabyte.devFinn Behrens
In reply to @kloenk:petabyte.dev
will try
error: --- Error --- nix-daemon
builder for '/nix/store/d0clmi060xk8yixh0kk5h976rm30szq9-python3-minimal-3.8.9.drv' failed with exit code 1; last 10 log lines:
  checking for a thread-safe mkdir -p... /nix/store/8gj7xn11kxxrwhkzmar49ksfq931f5iy-bootstrap-stage0-clang/bin/mkdir -p
  checking for --with-pydebug... no
  checking for --with-trace-refs... no
  checking for --with-assertions... no
  checking for --enable-optimizations... no
  checking PROFILE_TASK... -m test --pgo
  ./configure: line 6456: which: command not found
  checking for --with-lto... yes
  checking for llvm-ar... no
  configure: error: llvm-ar is required for a --with-lto build with clang but could not be found.
error: --- Error --- nix-daemon

and some more failed to build because of dependencies

12:00:50
@andi:kack.itandi-Ahh, there is a pending commit that I have to push. Sorry for that.12:01:11
@andi:kack.itandi-Pull again then it should also work on darwin (Clang Stdenvs)12:02:33
@thefloweringash:matrix.orgthefloweringash andi-: I haven't looked at LTO on macos, but from tickets like https://github.com/NixOS/nixpkgs/issues/19098 I just thought it didn't work. Did that change? 12:10:39
@andi:kack.itandi-I don't know! I am trying to figure that out :-)12:11:05
@andi:kack.itandi-but it keeps crashing on llvm :/12:11:13
@sternenseemann:systemli.orgsterni (he/him) thefloweringash: if there is no linker plugin it may not work at all yeah 13:02:20
@sternenseemann:systemli.orgsterni (he/him)I wonder if we could use lld for the non bootstrap python derivation though?13:02:44
@sternenseemann:systemli.orgsterni (he/him) andi-: it fails at clang-7: error: unknown argument: '-fno-semantic-interposition' currently for minimal python on nixos currently 14:58:45
@andi:kack.itandi- mhm, perhaps the clang version is too old? I know that python 3.10 enables this by default with --enable-optimsations and only recently started doing so on GCC as well. 15:00:49
@kloenk:petabyte.devFinn Behrens
In reply to @andi:kack.it
Ahh, there is a pending commit that I have to push. Sorry for that.
.#python did build (as arm64). readline does not seem to work, so tab is not working in the python shell
15:00:52
@andi:kack.itandi-no idea if readline is supposed to work on the python build on MacOS. It seems to work on the old revision on my device πŸ€”15:02:11
@andi:kack.itandi-I am currently at 99% of clangd. So far the device hasn't crashed again...15:02:32
@kloenk:petabyte.devFinn BehrensI also have 11.5, maybe this helped to not let it crash15:03:03
@kloenk:petabyte.devFinn Behrens * I also have 11.5 (20G5023d), maybe this helped to not let it crash15:04:12
@kloenk:petabyte.devFinn Behrens
In reply to @andi:kack.it
no idea if readline is supposed to work on the python build on MacOS. It seems to work on the old revision on my device πŸ€”
It does not even work at the python version under /usr/bin/python. so probably expected behavior for python2
15:06:38
@andi:kack.itandi- Can you try python3? 15:07:06
@kloenk:petabyte.devFinn Behrenshave to build it. but on it15:07:13
@andi:kack.itandi-Given that Python2 worked that means LTO did actually work?!?15:07:54
@kloenk:petabyte.devFinn Behrens Btw, not sure if you saw this, but I'm trying it with flakes. so I am building lecagyPackages.aarch64-darwin.python. also my nix is x86 as lowdown did not worked on my system so far 15:08:18
@andi:kack.itandi-hah, my system is similar :D I have an overlay that pulls in all haskell related stuff from the x86_64-darwin equivalent as otherwise pandoc etc.. would not work.15:09:11
@kloenk:petabyte.devFinn Behrens
In reply to @andi:kack.it
hah, my system is similar :D I have an overlay that pulls in all haskell related stuff from the x86_64-darwin equivalent as otherwise pandoc etc.. would not work.
nice, did not do that yet
15:09:28
@kloenk:petabyte.devFinn Behrens .#python3 is not building 15:09:37
@kloenk:petabyte.devFinn BehrensDownload python3-aarch64-darwin.log15:10:04
@sternenseemann:systemli.orgsterni (he/him) Finn Behrens: what is the lowdown failure, I'm curious 15:10:35
@sternenseemann:systemli.orgsterni (he/him)also you could always downgrade to nix stable :p15:10:48

Show newer messages


Back to Room ListRoom Version: 6