andi- has quit [Ping timeout: 248 seconds]
andi- has joined #nix-darwin
copumpkin has quit [Quit: Bye!]
copumpkin has joined #nix-darwin
mog has quit [Ping timeout: 250 seconds]
mog has joined #nix-darwin
philr has quit [Ping timeout: 246 seconds]
mjlbach has quit [Ping timeout: 248 seconds]
mjlbach has joined #nix-darwin
plumm has joined #nix-darwin
<plumm> Is there any way to get a arm64 build of nix for M1?
__monty__ has joined #nix-darwin
<remexre> plumm: i added https://github.com/thefloweringash/nixpkgs/archive/apple-silicon.tar.gz as a channel, installed nix from it, and used that nix to rebuild the world
<remexre> and so far nothing's like, nuked my system, and all the binaries I get/build are for arm64
<plumm> thats so hot
<remexre> though lots of things (qemu, mosh) fail to build that I wish worked...
<remexre> but stdenv and most of my shell utils work
<plumm> how did you install nix from a channel? did you go from rosetta'd nix to native nix?
<remexre> teh latter
<plumm> ok i uninstalled nix and broke everything so let me retry this all again lolz
<__monty__> LnL: Happen to know how the headers.txt in the various apple-source-releases is generated? They were introduced in #109368 but I'm not sure whether I should update them manually.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/109368 (by holymonson, 10 weeks ago, merged): darwin: check apple headers
<bpye> remexre QEMU for example should build, it’s even cached in Hydra…
<remexre> bpye: I should clarify for qemu in particular, the cached copy... well, it installs, but gives "Could not allocate dynamic translator buffer", which I haven't had time to look into yet
<remexre> and building it myself (and building mosh), I run into something weird where the system headers try to #include <version>, and pick up a nix-created (I assume?) file in the build rather than whatever system header one they're going for
<bpye> Ah yeah, you will want to build 6.0 rc0 to get TCG to work - you should just be able to override the source to the package though and get a working build…
<bpye> I’m not sure what the build system issue you’re seeing is though…
<remexre> I can post logs if you wanna look into it; I was planning to do so myself "sometime soon"
<bpye> I managed to get it building + the hvf and vmnet patch set - I can post my overlay once I’m done with work but there’s really nothing fancy
<remexre> okay, that'd be greatly appreciated, thanks!
<bpye> No problem
<plumm> does anyone know how to stop the nix daemon? I want to uninstall the apfs volume but can't because it's in use by the kernel o_O
<clever> plumm: i think there is a launchctl cmd for that
<plumm> TIL nix-daemon is integrated with launchctl
<clever> thats the simplest way to run on boot
<clever> when on a mac
<plumm> :D
<plumm> I'm not able to unload the service, and forcibly killing the processes (wait4path nix-daemon & nix-daemon) doesn't work too well in my favor D:
plumm has quit [Quit: Textual IRC Client: www.textualapp.com]
plumm has joined #nix-darwin
<plumm> I was able to install nix again, but after the installation my environment doesn't source nix anymore (or did it ever?) and even when "opening" a new shell, I don't have the right binaries in my path
EmoSpice has joined #nix-darwin
<plumm> Damn, I don't know what changed but trying to do a multi-user install on big sur on m1 results in a successful install, but things like my ssl cert & path aren't set
philr has joined #nix-darwin
<abathur> plumm: which installer did you use?
<plumm> nixos.org/nix/install with the unencrypted volume and daemon mode
<abathur> and which shell?
<plumm> zsh
<abathur> there were some zsh fixes, I can't remember for sure if they were single/multi and if they're released...
<abathur> I've had too many installer iterations on the brain over the last year to keep it straight... let me look :)
<plumm> THank you so much in advance
<abathur> do you have an /etc/zshenv? I think I'm remembering https://github.com/NixOS/nix/commit/c40bad415104398450866d32682011db0acb0310
<plumm> nope
<abathur> it wasn't really my change; I just cleaned it up because master was broken when I needed to do the initial big sur change iirc
<abathur> that may be it, then; it doesn't look like that's released on gh
<plumm> from oct 19 2020 tho O_O
<plumm> abathur so just clone nix and run the install script from master?
<abathur> mmm, it gets built, not sure that'll work
<abathur> you can try the installer from my PR in nix#4289 which is up-to-date as of a few days ago, or maybe the one someone's publishing for flakes, don't recall the repo off the top of my head
<{^_^}> https://github.com/NixOS/nix/pull/4289 (by abathur, 17 weeks ago, open): darwin: encrypt nix volume if filevault is enabled
<abathur> confirmed that I don't see those commits on 2.3-maintenance, so I don't think they've gotten out
EmoSpice has quit [Ping timeout: 240 seconds]
<plumm> oh man why does nix need boost 0-0
<abathur> the flake installer was https://github.com/numtide/nix-flakes-installer fwiw :)
<plumm> I still don't know what nix flakes are either
<plumm> sorry heh
<abathur> me neither, in some sense
<abathur> I mean, I've read some articles
<plumm> I'm in the boat of "what do flakes provide for me"
<abathur> but, stuff to do, head in the sand, nose to the grindstone, etc. :)
<abathur> yeah
<plumm> Currently running into this lol https://github.com/NixOS/nix/issues/3658
<{^_^}> nix#3658 (by darlo-me, 42 weeks ago, open): Can't autoreconf when building from source
<plumm> I finally got past configure, need to figure out this json_fwd stuff
dhess has joined #nix-darwin
__monty__ has quit [Quit: leaving]
<plumm> abathur how in the world are you able to build from this branch lol. i had to hack like 3 things in the configure file before i was even able to GET to a makefile, and now there's semething about invalid syntax with libexpr
<abathur> hmm?
<plumm> are you building your branch of nix, using nix?
<abathur> oh, kinda, I guess
<abathur> I did for a while
<plumm> I'm building from source, which means I need to run bootstrap. That means I had to find some autoconf m4 file for finding boost, then including boost. then I had to hack around libeditline being called libedit on my machine
<abathur> domen sorted out something to make the computers do it
<abathur> so now CI is building it and I just sit here and look pretty
<plumm> after I got past autoconf, I was able to make, but none of those files had anything to do with nlohmann_json, so I had to manually include that in the autoconf files and edit the makefiles for libnixutil
<abathur> yeah, I'm not sure; I've never bootstrapped completely without an existing nix
<plumm> *suffering*
<abathur> maybe someone in nixos or nixos-dev will have done so
<abathur> presumably *someone* knows how the house of cards is built
<abathur> :)
<plumm> I spent so much time working on this that I forgot why I even bothered again lol
<plumm> I think it was because you said something about "building" when in reality all I needed was the updated install script
<abathur> oh I see, throw me under the bus :)
<plumm> hahaha noo
<supersandro2000> dbus ;)
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nix-darwin