!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
26 May 2021
@kloenk:petabyte.devFinn Behrens
In reply to @andi:kack.it
I upgraded from 11.3 -> 11.4 tonight
Does Java still work on your system? (Complex Java code like Minecraft)
11:49:08
@thefloweringash:matrix.orgthefloweringash Maybe hydra is < 11.3? I also had problems on 11.3, but haven’t built stdenv on 11.4 yet. 11:49:17
@andi:kack.itandi-I don't use any Java11:49:28
@andi:kack.itandi-What is the easiest way to test?11:49:35
@kloenk:petabyte.devFinn Behrens This jar in my java home is also crashing. Not sure how the java home is set if you do it via nix. demo/jfc/J2Ddemo/J2Ddemo.jar 11:50:52
@sso-andi:guest.nixos.devAndreas Rammhold joined the room.11:51:13
@andi:kack.itandi-I'll continue hitting that report button whenever it appears.. I am a paying customer!! (LOL)11:54:21
@kloenk:petabyte.devFinn Behrens
In reply to @andi:kack.it
I'll continue hitting that report button whenever it appears.. I am a paying customer!! (LOL)
You mean with stdenv kernel chrashes?
11:55:13
@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

Show newer messages


Back to Room ListRoom Version: 6