Sonarpulse has joined #nix-darwin
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
philr has joined #nix-darwin
philr has quit [Quit: WeeChat 2.1]
hamishmack has joined #nix-darwin
philr has joined #nix-darwin
<nikivi> I am trying to install LaTeX with texlive.combined.scheme-full
<nikivi> however at end of it I get this error
<nikivi> error: all build users are currently in use; consider creating additional users and adding them to the 'nixbld' group
<nikivi> I guess its a macOS specific thing as this issue says https://github.com/NixOS/nix/issues/1759
<nikivi> I am just trying to get LaTeX installed with Nix and have xelatex command available
<LnL> did you use a -j flag?
<nikivi> nix-env -iAj nixpkgs.stexlive.combined.scheme-full
<nikivi> ?
<mitchty> remove the -j or set it to something like 4
<clever> that will either fail or make the problem worse
<clever> yeah
<nikivi> mitchty what do you mean by set it to 4?
<clever> -j 4
<nikivi> I have not used a -j flag btw
<mitchty> nikivi: nix-evn -iA -j4
<nikivi> nix-env -iA nixpkgs.stexlive.combined.scheme-full is what I ran
<nikivi> mitchty error: attribute 'stexlive' in selection path 'nixpkgs.stexlive.combined.scheme-full' not found
<mitchty> set it to one then nix-env -iA -j1 ...
<mitchty> ah sorry, put the -j first
<mitchty> i forget A expects an argument
<nikivi> nix-env -j1 -iA nixpkgs.stexlive.combined.scheme-full
<nikivi> ?
<mitchty> that or put -j1 last
<clever> yeah
<nikivi> same error
<mitchty> stexlive->texlive
<nikivi> ohh, my bad
<nikivi> clever are you also using macOS and Nix?
<nikivi> There are dozens of us :D
<clever> i prefer nixos, but have to use darwin for some work stuff
<mitchty> thats basically the truth
<nikivi> I read something about NixOS not playing well with Steam games and things like it
<mitchty> steam is a bit of a special case in general
<mitchty> hard to run it outside of ubuntu
<clever> ive got steam running mostly fine in nixos
<clever> surviving mars, minimetro, stellaris, terraria, rocket league all work about 98%, just the occasional crash or lockup
<mitchty> i had no end of issues trying to get it to run under centos, but thats another can of worms i'm never opening again
<clever> KSP "works", but all mods fail to render fonts
<clever> and whats even more strange, steam KSP, a patchelf'd KSP, and even WINE KSP!!! fail with the exact same problem :P
<nikivi> Who here actually maintains Nix under macOS?
<nikivi> I am curious because from what I know Apple is locking more and more parts of macOS
<nikivi> So I wonder if at some point Nix will cease to exist
<nikivi> on macOS*
<nikivi> Although I am still a bit unaware of how Nix works under the hood so maybe that's a false assumption
<clever> nikivi: ive had problems with ghc on darwin
<clever> the load-commands field in the mach-o file is getting over 32kb, so the kernel refuses to load the binary
<mitchty> i thought that was a linker restriction they added in 10.11 or 10.12
<clever> it might be in userland, with dyld
<mitchty> but having such long paths is kinda getting out of hand if you think about it
<clever> but its not something nix can change
<clever> there is also a secondary problem in the kernel itself
<clever> there is a field in the mach-o, that contains the path to dyld, just like ELF has a path to ld.so
<nikivi> Does Nix work exactly the same on macOS as inside linux distros?
<clever> but the kernel refuses to run any binary with that path not set to /usr/bin/dyld
<nikivi> Or there are multiple versions of Nix
<clever> so its imposible for nix to use a custom dyld that actually works
<clever> nikivi: it works the same way, just install nix (or ./configure && make && make install), and then nix-env and nix-build all the things
<nikivi> Let's say you come across a cool node CLI tool that you can `npm -g install ..`
<nikivi> Do you create nix expression for it yourself?
<nikivi> or just run with npm
<clever> id create a nix expression, and nix-env -iA it
<nikivi> Nix doesn't break syntax of current expressions right?
<mitchty> theres also npm2nix
<nikivi> So all derivations in nixpkgs will work after few years
<nikivi> Just curious because there's so many derivations there already
<clever> nikivi: hydra also tests all of them regularly
<mitchty> work in what after a few years?
<nikivi> well I think the nix expression gets evaluated
<nikivi> So by work I mean evaluations are succesful
<nikivi> btw its node2nix that should be used, npm2nix is deprecated
<nikivi> but its really awesome
<clever> yarn2nix is also a thing
<LnL> somebody made a blog post about going back in time with nix https://matthewbauer.us/blog/channel-changing.html
<nikivi> This LaTeX install is still going
<nikivi> I read that Nix installs from binary caches, no?
<nikivi> So it should be fast?
<mitchty> it depends on if that derivation has been built or saved
<mitchty> i install from my own checkout so i tend to have to build everything
<mitchty> texlive is nothing compared to rust :)
pxc1 has joined #nix-darwin
pxc1 has quit [Ping timeout: 268 seconds]
pxc1 has joined #nix-darwin
pxc1 has quit [Ping timeout: 265 seconds]
angerman has quit [*.net *.split]
angerman has joined #nix-darwin
peel[m] has quit [*.net *.split]
peel[m] has joined #nix-darwin
philr has quit [Ping timeout: 265 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nikivi> how can I resolve these two errors
<nikivi> I found this https://nixos.org/nix-dev/2013-October/011898.html but I am afraid to delete the wrong channel
<nikivi> also this is from 2013
pxc1 has joined #nix-darwin
hamishmack has joined #nix-darwin
pxc1 has quit [Ping timeout: 260 seconds]
elasticdog has quit [Ping timeout: 260 seconds]
hamishmack has quit [Quit: Textual IRC Client: www.textualapp.com]
elasticdog has joined #nix-darwin