!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
@kloenk:petabyte.devFinn Behrens
In reply to @sternenseemann:systemli.org
aarch64-darwin builds are sandboxed?!
I think lowdown create a sandbox in an own way somehow
15:13:39
@sternenseemann:systemli.orgsterni (he/him) andi-: yeah clang 7 is too old for no-semantic-interposition 15:14:22
@sternenseemann:systemli.orgsterni (he/him)
In reply to @kloenk:petabyte.dev
I think lowdown create a sandbox in an own way somehow
…that doesn't work on aarch64-darwin, but on x86_64-darwin?
15:14:54
@andi:kack.itandi-@sterni: Do we have a way to detect that without hardcoding yet another llvm version lookup everywhere?15:14:54
@kloenk:petabyte.devFinn Behrens
In reply to @sternenseemann:systemli.org
…that doesn't work on aarch64-darwin, but on x86_64-darwin?
seems like it, I did manage to build nix master for x86 but not for arm
15:15:21
@sternenseemann:systemli.orgsterni (he/him)
In reply to @andi:kack.it
@sterni: Do we have a way to detect that without hardcoding yet another llvm version lookup everywhere?
better than stdenv.cc.isClang && lib.versionAtLeast stdenv.cc.version "<whatever the min version is>"?
15:15:38
@andi:kack.itandi-Yes, I dislike Clang but it clutters all the derivations with logic like that..15:16:02
@andi:kack.itandi-Companies praise Clang for being great and all.. I am just like "ugh, why?"15:16:20
@sternenseemann:systemli.orgsterni (he/him) andi-: you could also just not care about darwin for a few weeks 15:16:26
@sternenseemann:systemli.orgsterni (he/him)and hope the clang upgrade is done by then15:16:34
@andi:kack.itandi- sterni (he/him): I have to work on a Darwin box :P 15:16:42
@kloenk:petabyte.devFinn Behrens I lost track of the bootstrap tarball. Where is it currently. Do I still have to use github:thefloweringash/nixpkgs/aarch64-darwin-bootstrap-tools as my nixpkgs, or is it in master/staging? 15:18:50
@thefloweringash:matrix.orgthefloweringashit's in master!15:19:09
@kloenk:petabyte.devFinn BehrensHope ghc has support for arm soon. Don't like that I can't compile exa without a great amount of work15:20:02
@andi:kack.itandi- thefloweringash: do you mind popping into #infrastructure:nixos.org? I asked Rob if the builders there are also panicing. Would be good to figure that out but my Mac foo is too weak :D 15:21:36
@kloenk:petabyte.devFinn Behrens
In reply to @kloenk:petabyte.dev
nice, just have to get it into nix, as the use an own version of lowdown :-)

Sadly still seeing this:

    GEN    doc/manual/nix-build.1
  lowdown: sandbox_init: Operation not permitted
  lowdown: sandbox_init: Operation not permitted
15:23:15
@sternenseemann:systemli.orgsterni (he/him)
In reply to @kloenk:petabyte.dev
Hope ghc has support for arm soon. Don't like that I can't compile exa without a great amount of work
it does? you just need to make sure it has llvm available
15:26:00
@sternenseemann:systemli.orgsterni (he/him)someone should just add aarch64-darwin to platforms for ghc and see how it goes I guess15:26:18
@sternenseemann:systemli.orgsterni (he/him)aarch64-linux is working perfectly fine15:26:25
@kloenk:petabyte.devFinn Behrensoh? last time I checked the website of ghc the said the are still building some fancy new shit15:26:52
@kloenk:petabyte.devFinn BehrensNever really learned haskell myself though15:27:02
@kloenk:petabyte.devFinn Behrens thefloweringash: how was this tool you have written named? The one to sign nix pathes in a reproducible way. I looked in my DiagnosticReports folder and so quite a lot crash files 15:28:05
@sternenseemann:systemli.orgsterni (he/him) Finn Behrens: https://hydra.nixos.org/eval/1673050?filter=aarch64&compare=1672940&full=#tabs-still-succeed :) 15:28:13
@kloenk:petabyte.devFinn Behrens * thefloweringash: how was this tool you have written named? The one to sign nix pathes in a reproducible way. I looked in my DiagnosticReports folder and saw quite a lot crash files 15:28:22
@thefloweringash:matrix.orgthefloweringashI think it'll show up as "sigtool"15:28:42
@kloenk:petabyte.devFinn Behrens
In reply to @sternenseemann:systemli.org
Finn Behrens: https://hydra.nixos.org/eval/1673050?filter=aarch64&compare=1672940&full=#tabs-still-succeed :)
Looks good. Will try to fix my nix, and that maybe I can build exa. yay
15:29:01
@kloenk:petabyte.devFinn Behrens
In reply to @thefloweringash:matrix.org
I think it'll show up as "sigtool"
yeah, have like 6 files from it in that folder
15:29:17
@sternenseemann:systemli.orgsterni (he/him)you probably need to mess with a bunch of files for it to allow aarch64-darwin though15:29:33
@sternenseemann:systemli.orgsterni (he/him)or set allowUnsupported15:29:38
@kloenk:petabyte.devFinn Behrens
In reply to @sternenseemann:systemli.org
you probably need to mess with a bunch of files for it to allow aarch64-darwin though
as long as it work, messing with files and than creating a pr would be a preferable way for me :-)
15:30:06

Show newer messages


Back to Room ListRoom Version: 6