<emily> i believe so
<emily> it is nix(1)'s usual output, unsure if it is documented anywhere
ece has joined #nix-darwin
bpye has quit [Ping timeout: 240 seconds]
bpye has joined #nix-darwin
<bpye> thefloweringash: Does your signing tool prevent re-signing a binary if it is already signed? I've been playing around and it looks like qemu's hypervisor entitlement is getting stripped off
<bpye> That won't happen with the current version in nixpkgs as the hvf patches for M1 aren't yet upstream - but if it is that it's something that will break eventually...
abathur has quit [Ping timeout: 260 seconds]
abathur has joined #nix-darwin
<thefloweringash> bpye: the plan is to behave close enough to the regular apple toolchain so that builds like qemu just work. in this case, the linker makes an ad-hoc signature, then the qemu build replaces it with a signature with entitlements and then nothing after that should break the signature
<thefloweringash> there's a branch here that can embed an entitlements plist: https://github.com/thefloweringash/sigtool/tree/entitlements but it's not quite done, still pending: passing the entitlements through the shell wrapper (or replacing the wrapper with a c++ driver), and implementing BER/DER entitlements (if they're required)
philr has quit [Ping timeout: 240 seconds]
__monty__ has joined #nix-darwin
<__monty__> abathur: Thanks for the ping : )
<abathur> :)
LnL has quit [Ping timeout: 248 seconds]
<__monty__> Anyone know how stdenv.bootstrapTools is made? Can I simply build make-bootstrap-tools.nix with an existing stdenv? I've made changes to mine which prevent it from building.
heywoodlh has quit [Quit: ZNC 1.8.2 - https://znc.in]
<__monty__> Looks like a catch-22, the bootstrapTools are extracted from pkgs.darwin.Libsystem and others but building a new Libsystem seems to require new bootstrapTools in my case 🤔
LnL has joined #nix-darwin
<bpye> thefloweringash great to see it’s something you’ve thought of, I didn’t see that branch. For now I’ve just added a postFixup using the Apple’s codesign which works for now - if I get a chance I’ll look at trying to use that branch.
<__monty__> LnL: Since the stage2 build of python3 isn't using xnu from apple-source-releases does that mean it's using sys/stat.h from the bootstrapTools?
<__monty__> And, if so, how do I update the bootstrapTools? Building `make-bootstrap-tools.nix` is problematic with my changes since it seems to require (most of?) a stdenv and without my changes it seems to simply fetch the bootstrapTools hydra built, which is based on 10.12 afaiu.
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nix-darwin
supersandro2000 has quit [Remote host closed the connection]
supersandro2000 has joined #nix-darwin
philr has joined #nix-darwin
__monty__ has quit [Quit: leaving]
contrapumpkin has joined #nix-darwin
afontaine has joined #nix-darwin
copumpkin has quit [Ping timeout: 265 seconds]
disasm_ has joined #nix-darwin
sparogy has quit [Ping timeout: 240 seconds]
contrapumpkin is now known as copumpkin
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nix-darwin