!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
@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
@kloenk:petabyte.devFinn Behrens someting involving sandboxing. this is mainly happening, when building github:nixos/nix#packages.aarch64-darwin.nix 15:11:30
@andi:kack.itandi-
      # nested sandboxing doesn't seem to work so lets disable the feature in the build
      lowdown = super.lowdown.overrideAttrs (_: {
        postConfigure = ''
          for file in *.c; do
                  sed -e s/HAVE_SANDBOX/HAVE_NO_SANDBOX_SHIT/g -i $file
          done
        '';
      });
15:11:44
@andi:kack.itandi-I have that in my macbook specific config15:11:49
@kloenk:petabyte.devFinn Behrens
In reply to @sternenseemann:systemli.org
also you could always downgrade to nix stable :p
but then I can't load my flakes. And I'm not able to manage my nix path (to layzie xD)
15:11:59
@kloenk:petabyte.devFinn Behrens
In reply to @andi:kack.it
      # nested sandboxing doesn't seem to work so lets disable the feature in the build
      lowdown = super.lowdown.overrideAttrs (_: {
        postConfigure = ''
          for file in *.c; do
                  sed -e s/HAVE_SANDBOX/HAVE_NO_SANDBOX_SHIT/g -i $file
          done
        '';
      });
nice, just have to get it into nix, as the use an own version of lowdown :-)
15:12:27
@sternenseemann:systemli.orgsterni (he/him)aarch64-darwin builds are sandboxed?!15:12:51
@sternenseemann:systemli.orgsterni (he/him)or what is this relating to15:12:54
@andi:kack.itandi-I'd happily PR against nixpkgs but not against Nix. Those times are past..15:12:54
@andi:kack.itandi- sterni (he/him): I believe so to some degree but you can't nest it. 15:13:14
@kloenk:petabyte.devFinn Behrens
In reply to @andi:kack.it
I'd happily PR against nixpkgs but not against Nix. Those times are past..
I can't say I don't know what you are talking about xD
15:13:18
@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

Show newer messages


Back to Room ListRoom Version: 6