| 26 May 2021 |
andi- | Given that Python2 worked that means LTO did actually work?!? | 15:07:54 |
Finn 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- | 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 |
Finn 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 |
Finn Behrens | .#python3 is not building | 15:09:37 |
Finn Behrens | Download python3-aarch64-darwin.log | 15:10:04 |
sterni (he/him) | Finn Behrens: what is the lowdown failure, I'm curious | 15:10:35 |
sterni (he/him) | also you could always downgrade to nix stable :p | 15:10:48 |
Finn Behrens | someting involving sandboxing. this is mainly happening, when building github:nixos/nix#packages.aarch64-darwin.nix | 15:11:30 |
andi- | # 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- | I have that in my macbook specific config | 15:11:49 |
Finn 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 |
Finn 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 |
sterni (he/him) | aarch64-darwin builds are sandboxed?! | 15:12:51 |
sterni (he/him) | or what is this relating to | 15:12:54 |
andi- | I'd happily PR against nixpkgs but not against Nix. Those times are past.. | 15:12:54 |
andi- | sterni (he/him): I believe so to some degree but you can't nest it. | 15:13:14 |
Finn 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 |
Finn 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 |
sterni (he/him) | andi-: yeah clang 7 is too old for no-semantic-interposition | 15:14:22 |
sterni (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- | @sterni: Do we have a way to detect that without hardcoding yet another llvm version lookup everywhere? | 15:14:54 |
Finn 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 |
sterni (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- | Yes, I dislike Clang but it clutters all the derivations with logic like that.. | 15:16:02 |
andi- | Companies praise Clang for being great and all.. I am just like "ugh, why?" | 15:16:20 |
sterni (he/him) | andi-: you could also just not care about darwin for a few weeks | 15:16:26 |
sterni (he/him) | and hope the clang upgrade is done by then | 15:16:34 |
andi- | sterni (he/him): I have to work on a Darwin box :P | 15:16:42 |
Finn 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 |