gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
seafood has quit [Client Quit]
<betaboon> samueldr: did you have a chance to look at the refind stuff ?
<samueldr> not more than simply gazing at what you shared
seafood has joined #nixos
seafood has quit [Client Quit]
<betaboon> i currently have the refind-stuff in my overlay and running it on my machine. works like a charm
seafood has joined #nixos
wpcarro has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<samueldr> awesome
seafood has quit [Client Quit]
<samueldr> (I wanted to take a peek and see how difficult it would be to harmonize all bootloader config generation)
seafood has joined #nixos
seafood has quit [Client Quit]
<betaboon> i 'borrowed' alot of the python-code from systemd-boot (determing available profiles, generations, current configuration etc) that should be a perfect candidate for reusing.
<betaboon> tho i found that code to be a little unclean
seafood has joined #nixos
seafood has quit [Client Quit]
<{^_^}> [nixpkgs] @xeji merged pull request #43419 → paper-icon-theme: 2017-11-20 -> 2018-06-24 → https://git.io/fNLDF
<{^_^}> [nixpkgs] @xeji pushed commit from @rembo10 to master « paper-icon-theme: 2017-11-20 -> 2018-06-24 (#43419) »: https://git.io/fNtrx
seafood has joined #nixos
seafood has quit [Client Quit]
<betaboon> btw. is there a way to determine screen-resolution without a running xserver during buildPhase ?
bennofs has quit [Ping timeout: 265 seconds]
seafood has joined #nixos
Copenhagen_Bram has quit [Read error: Connection reset by peer]
seafood has quit [Client Quit]
<samueldr> because of sandboxing, no clean ways
seafood has joined #nixos
<gchristensen> hopefully no dirty way either X)
<samueldr> (there are)
* gchristensen hides
seafood has quit [Client Quit]
<betaboon> yeah you're right xD
<samueldr> (without sandboxing, I mean)
<samueldr> for your own configs, you could do with a custom option with resolution
<samueldr> and there per-computer define their expected res
<samueldr> that's what I'd do
seafood has joined #nixos
<betaboon> that's how i am doing it right now
<samueldr> (I have one for screen rotation for a tablet convertible)
seafood has quit [Client Quit]
<dhess> tenten8401: I'm not familiar with ocserv, but don't forget to set networking.nat.internalIPs and networking.nat.internalInterfaces
seafood has joined #nixos
<betaboon> for generating wallpaper, slim-theme, plymouth theme, refind-theme starting from a svg and then using imagemagick for all the manipulation (having a single source of truth for all color codes to be used for xresource, windowmanager etc)
seafood has quit [Client Quit]
<gchristensen> samueldr: during build??
<dhess> and networking.nat.externalInterface
Copenhagen_Bram has joined #nixos
seafood has joined #nixos
<samueldr> gchristensen: any system access with sandboxing disabled?
<samueldr> if so, /sys/ has a bunch of useful files :)
seafood has quit [Client Quit]
<gchristensen> samueldr: I mean, you do this during build? <samueldr> (I have one for screen rotation for a tablet convertible)
<samueldr> oh, a nixos config
<samueldr> that's for grub
seafood has joined #nixos
<gchristensen> ah
<samueldr> otherwise it's at the wrong angle in the keyboard dock
<samueldr> (and defaults for X and all)
seafood has quit [Client Quit]
erictapen has joined #nixos
wpcarro has quit [Ping timeout: 244 seconds]
<samueldr> also rotates the framebuffer consoles
<tenten8401> dhess: What would I set for those? The only iptables routing related commands I can see for that in multiple setup guides are "iptables -t nat -A POSTROUTING -j MASQUERADE", and they work just fine on my Ubuntu server
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<dhess> tenten8401: start here: https://nixos.org/nixos/manual/options.html#opt-networking.nat.enable
seafood has quit [Client Quit]
seafood has joined #nixos
<dhess> you shouldn't need to define any iptables commands directly to get a basic VPN NAT working.
<tenten8401> already have, https://hastebin.com/cuwazijuso.bash -- currently looking through the nat.nix to figure out how it all works
<betaboon> is anyone using slimlock and has systemd-hibernate/-suspend working with it correctly ?
seafood has quit [Client Quit]
<dhess> yeah you'll need to tell NixOS also which IP addrs should be NATed and from which interfaces, and to which interface
seafood has joined #nixos
<tenten8401> I don't think there's a specific interface that the VPN listens on though
seafood has quit [Client Quit]
<dhess> so networking.nat.externalInterface will presumably be set to "eth0" or whatever your VPS's/hardware's public NIC device name is
seafood has joined #nixos
<dhess> and then you should set internalInterfaces to [ "tun0" ] or whatever device ocserv creates
seafood has quit [Client Quit]
<tenten8401> there is "device = vpns" in ocserv, but it doesn't seem like there's an interface made for it at all
<dhess> and finally set internalIPs to [ "192.168.0.0/24" ] or whatever IP CIDR range you're assigning to your clients
i0-dfn has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<dhess> what devices show up in 'ip addr show' when ocserv is running?
seafood has quit [Client Quit]
<tenten8401> lo, enp2s0, docker0, pterodactyl0, vethe65b4bf@if43, and veth2c2c62c@if55
seafood has joined #nixos
<dhess> is your ocserv running in a docker container?
<tenten8401> nope
seafood has quit [Client Quit]
<tenten8401> docker0 and pterodactyl0 aren't related at all
erictapen has quit [Quit: leaving]
<dhess> Again, I'm not familiar with ocserv so I'm not sure. Maybe it's one of the veth devices
seafood has joined #nixos
<tenten8401> they don't have the IPs I've assigned to ocserv for clients though
erictapen has joined #nixos
seafood has quit [Client Quit]
fractalcat has joined #nixos
<dhess> they don't necessarily need to
seafood has joined #nixos
seafood has quit [Client Quit]
muzzy has joined #nixos
seafood has joined #nixos
<dhess> try just setting internalIPs and externalInterface, and leave internalInterfaces empty for now.
seafood has quit [Client Quit]
<tenten8401> doesn't look like there's any interface created either on my ubuntu server
<dhess> maybe in that case the NAT rules that NixOS generates won't be interface-specific
<tenten8401> I'll give it a shot
seafood has joined #nixos
Khetzal has quit [Ping timeout: 265 seconds]
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
muzzy_ has joined #nixos
spear2 has quit [Remote host closed the connection]
<tenten8401> nope, setting externalInterface to enp2s0 and internalIPs to 192.168.0.0/24 (what I'm using for ipv4-network in ocserv) doesn't seem to make a difference
seafood has joined #nixos
spear2 has joined #nixos
seafood has quit [Client Quit]
redj has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
<dhess> It's a bit ugly but you could also set networking.firewall.extraCommands to "iptables -t nat -A POSTROUTING -j MASQUERADE"
<dhess> plus whatever else you have set on your Ubuntu server
seafood has joined #nixos
seafood has quit [Client Quit]
<tenten8401> tried that already I believe, but I'll try it again with nat enabled just incase
muzzy has quit [Ping timeout: 260 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
raynold has quit [Quit: Connection closed for inactivity]
erictapen has quit [Quit: leaving]
seafood has joined #nixos
erictapen has joined #nixos
<tenten8401> yeah I have absolutely no clue
redj_ has quit [Ping timeout: 256 seconds]
seafood has quit [Client Quit]
<tenten8401> there's gotta be some stupid rule conflicting
freusque has joined #nixos
seafood has joined #nixos
<tenten8401> all I have set on my ubuntu server is the -A POSTROUTING -j MASQUERADE and it works
<dhess> well I would start with some logging in ocserv to make sure that the packets from your clients are actually making it to ocserv
seafood has quit [Client Quit]
Sonarpulse has quit [Ping timeout: 260 seconds]
<tenten8401> I can connect to the VPN server and authenticate with no problems
<tenten8401> once I'm authenticated I lose all internet access
seafood has joined #nixos
<dhess> sure but once you're connected, are the tunneled packets from the client hitting the ocserv instance?
seafood has quit [Client Quit]
seafood has joined #nixos
<tenten8401> I would think they are but I'll see if I can enable some logging
seafood has quit [Client Quit]
<dhess> also make sure that, after you've connected, the route on your client is correct.
seafood has joined #nixos
seafood has quit [Client Quit]
<tenten8401> I'm using the VPN as a default gateway
<tenten8401> there shouldn't be any routes getting sent over
seafood has joined #nixos
<dhess> presumably all of that works if you've just copied a working config from the Ubuntu side and are using more or less the same client config with it
seafood has quit [Client Quit]
<tenten8401> let me compare it with the ubuntu side once more
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<dhess> try this while ocserv is running: ifconfig vpns0
seafood has joined #nixos
seafood has quit [Client Quit]
<dhess> it looks lke "device = vpns" is telling ocserv to create an interface named vpns0
<Psi-Jack> Hmmm.. Interesting. nixos-install got an OOM kill with 512MB RAM. Most... Peculiar..
<tenten8401> config is identical, just went through line by line
seafood has joined #nixos
<dhess> and it might not show up in the default list of interfaces if it doesn't have an IP assigned, which is not unusual for a tunnel device
seafood has quit [Client Quit]
<tenten8401> ifconfig vpns0 returns device not found on both the ubuntu and nix boxes
alexteves has quit [Remote host closed the connection]
<samueldr> Psi-Jack: activate swap, nix 2.0.x is a bit ram-hungry right now :/
<dhess> hmm anything like vpns* show up if you do "ifconfig -a" ?
<infinisil> Psi-Jack: NixOS eats dat RAM
seafood has joined #nixos
<gchristensen> nix specifically
<Psi-Jack> Yeah. heh
seafood has quit [Client Quit]
<tenten8401> on the ubuntu box, all that appears is eth0 and lo
seafood has joined #nixos
<tenten8401> nothing related to vpns0 on the nix box
<dhess> that's strange. Googling a bit seems to indicate there should be some kind of tunnel device with ocserv
seafood has quit [Client Quit]
<tenten8401> yeah, it's very strange. Let me verify once more that I can indeed connect to the ubuntu box
seafood has joined #nixos
seafood has quit [Client Quit]
Mateon1 has quit [Remote host closed the connection]
seafood has joined #nixos
seafood has quit [Client Quit]
<Psi-Jack> Created a NixOS VM on my Proxmox VE cluster to form into a base template VM to deploy more subjective testing. :)
seafood has joined #nixos
<gchristensen> neat
<Psi-Jack> Didn't even create a swap partition, but I just made a swap file instead.
<tenten8401> Ahh, seems the tun device is only created when there are users connected
seafood has quit [Client Quit]
<tenten8401> in that case I do see vpns0 on my Ubuntu server
<tenten8401> let me do it on my NixOS server again with a client connected
seafood has joined #nixos
<dhess> ok so now remove any networking.firewall.extraCommands you've added to the config, and set networking.nat.internalInterfaces to [ "vpns0" ]
<dhess> with the other networking.nat.* settings as before
seafood has quit [Client Quit]
seafood has joined #nixos
<tenten8401> All I have in there is enable = true, which settings from before specifically?
<dhess> <tenten8401> nope, setting externalInterface to enp2s0 and internalIPs to
<dhess> 192.168.0.0/24 (what I'm using for ipv4-network in ocserv)
<dhess> doesn't seem to make a difference [17:22]
<dhess>
seafood has quit [Client Quit]
Mateon1 has joined #nixos
seafood has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43446 → xmrig: 2.6.3 -> 2.6.4 → https://git.io/fNtKw
seafood has quit [Client Quit]
<tenten8401> do I need the internalIPs part now that I have the interface?
<dhess> yes
<dhess> (maybe :)
<tenten8401> alright, deploying
seafood has joined #nixos
<dhess> just do it as a starting point anyway
<Psi-Jack> Well, slowly, it worked, with 2GB swapfile. heh
blankhart has quit [Ping timeout: 260 seconds]
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
blankhart has joined #nixos
seafood has joined #nixos
aarvar has quit [Ping timeout: 260 seconds]
<tenten8401> dhess: I still don't seem to have internet access with the following set: https://hastebin.com/okoducivot.bash
seafood has quit [Client Quit]
<samueldr> Psi-Jack: if you're intersted in LXC containers for nixos under proxmox VE, https://nixos.wiki/wiki/Proxmox_Linux_Container
<Psi-Jack> I don't really use LXC.
<tenten8401> I do see "vpns0" as an interface when I'm connected, and enp2s0 is my external interface
countoren has joined #nixos
seafood has joined #nixos
<countoren> hi everybody
seafood has quit [Client Quit]
<dhess> tenten8401: those settings should be sufficient from the NixOS config side anyway. If I were you I'd start looking at ocserv logs at this point and make sure it's getting packets and nat'ing them properly, and check for errors.
seafood has joined #nixos
seafood has quit [Client Quit]
<samueldr> hi countoren
<tenten8401> doesn't look like there are any errors in the ocserv logs at all, but I'll see if I can enable more thorough logging
seafood has joined #nixos
sigmundv has quit [Ping timeout: 244 seconds]
seafood has quit [Client Quit]
<dhess> tenten8401: I have a much more elaborate "full-tunnel" VPN server NixOS module here: https://github.com/quixoftic/quixops-modules/blob/master/modules/services/full-tunnel-vpn/default.nix
<countoren> when im trying to run vimUtils.buildVimPluginFrom2Nix in repl im getting error: infinite recursion encountered, at undefined position
seafood has joined #nixos
<Psi-Jack> heh, wow.. Even `nix search ` got OOM killed. :/
<dhess> you can poke around in there for more clues, though as I said, it's fairly complicated and doesn't support ocserv. But the NixOS I'm setting should be irrespective of the VPN server software
seafood has quit [Client Quit]
seafood has joined #nixos
<tobiasBora> Hum... I tried lot's of things to make the raspberry pi use "ondemand" governor... But even when I stress the cpu the frequence is stable...
<tobiasBora> I tried powerManagement.cpuFreqGovernor =
<tenten8401> yeah, I'm testing a PR for someone that would allow for ocserv from nixpkgs
<tobiasBora> "ondemand";
<dhess> "the NixOS bits I'm setting..." is what I meant to say
seafood has quit [Client Quit]
blankhart has quit [Ping timeout: 240 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
thc202 has quit [Ping timeout: 240 seconds]
seafood has joined #nixos
<tenten8401> would the iptables rules fail to apply if there wasn't an interface to apply them to, or would it not matter if the interface exists at the time of applying?
seafood has quit [Client Quit]
seafood has joined #nixos
<countoren> any help?
seafood has quit [Client Quit]
<dhess> well you can check by looking at "iptables --list -t nat"
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #43447 → lollypop-portal: init at 0.9.7 → https://git.io/fNtKN
seafood has quit [Client Quit]
seafood has joined #nixos
<tenten8401> I do see the nat rules in place for the IP
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43448 → xmrig-proxy: 2.6.3 -> 2.6.4 → https://git.io/fNt6v
seafood has quit [Client Quit]
<tenten8401> uhg so there's apparently a seperate interface created for every user that connects
seafood has joined #nixos
blankhart has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
voice_ftp has quit [Quit: Leaving]
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<{^_^}> [nixpkgs] @Infinisil pushed to master « httpd: Fix typo »: https://git.io/fNt6m
seafood has joined #nixos
seafood has quit [Client Quit]
<tenten8401> quite a bit of information is being transferred to the ocserv instance, but only a tiny amount is getting sent back
seafood has joined #nixos
<dhess> I'm not an iptables expert but it does appear that NixOS will only NAT a packet if it's been marked as coming from an internalInterfaces device: https://github.com/NixOS/nixpkgs/blob/861211217fd101bb508e7933a424f0c24677c41b/nixos/modules/services/networking/nat.nix#L36
seafood has quit [Client Quit]
<dhess> if that's true and each client gets its own tunnel interface, that's going to be ugly.
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43449 → wxSVG: 1.5.13 -> 1.5.14 → https://git.io/fNt68
seafood has quit [Client Quit]
<tenten8401> I've got internalIPs set exactly the same as my ipv4-network in ocserv
blankhart has quit [Ping timeout: 268 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
<tenten8401> interfaces do appear on that IP range I specified
<Psi-Jack> 512MB RAM, 2GB swap, current utilization of swap just to `nix search` 754MB... Ouch.
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
seafood has joined #nixos
Supersonic112 is now known as Supersonic
seafood has quit [Client Quit]
<tenten8401> I think seafood is having some serious connection issues
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<tenten8401> uhg yeah I don't even know what to try at this point
seafood has quit [Client Quit]
<tenten8401> if I had to guess, it's just not getting NATed correctly
<Psi-Jack> Annnd.. Now "A stop job is running for SSH Daemon" with a timeout of up to 1min 30s.
<Psi-Jack> During shutdown. heh
seafood has joined #nixos
<infinisil> Something ain't right there
seafood has quit [Client Quit]
<Psi-Jack> And it's taking the full duration.
ericsagnes has joined #nixos
seafood has joined #nixos
<tenten8401> usually whenever I see a stop job like that and it takes over a minute I'll just cut the power
seafood has quit [Client Quit]
<Psi-Jack> heh
seafood has joined #nixos
seafood has quit [Client Quit]
<Psi-Jack> The only other distros I've seen to do this is /sometimes/ Fedora, and most often times Arch Linux. Solus never has even once for me, which has been fantastic. :)
seafood has joined #nixos
blankhart has joined #nixos
<infinisil> It shouldn't happen if everything's set up correctly
<Psi-Jack> Exactly.
seafood has quit [Client Quit]
<Psi-Jack> This is an extremely minimal nixos setup with almost nothing on it. :)
seafood has joined #nixos
libertyprime has joined #nixos
seafood has quit [Client Quit]
<Psi-Jack> Pretty much a swap file, openssh enabled, and a few packages installed. htop, vim, wget, w3m and lsof.
<tenten8401> if there are no TX packets going out on my tun interface, would that be a sign of it not getting NATed correctly?
seafood has joined #nixos
<infinisil> Psi-Jack: On a physical machine or VM?
<Psi-Jack> VM.
seafood has quit [Client Quit]
<Psi-Jack> That was after running a "shutdown -h" within the OS itself.
seafood has joined #nixos
seafood has quit [Client Quit]
<Psi-Jack> And after the aformentioned nix search I'd done.
erictapen has quit [Quit: leaving]
Edes has joined #nixos
<Psi-Jack> Heh, with 1GB RAM, the same nix search runs instantly.
seafood has joined #nixos
<gchristensen> nix search caches :)
seafood has quit [Client Quit]
<Psi-Jack> Ahh
<Psi-Jack> Can that cache be cleared?
<gchristensen> ~/.cache/nix
<Psi-Jack> Danke. :)
<gchristensen> bitte
seafood has joined #nixos
seafood has quit [Client Quit]
<Psi-Jack> Yeah, there it goes. Eating up all the RAM again. heh
seafood has joined #nixos
<Psi-Jack> But, this time, it got up to 1GB RAM usage, used a couple MB of swap, and finished, quickly.
<infinisil> Psi-Jack: Check the logs when the machine is back up to find out why it hanged, hopefully
seafood has quit [Client Quit]
<Psi-Jack> infinisil: Which logs?
<infinisil> journalctl -u sshd -e
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<Psi-Jack> Nothing useful, except that "Stopping SSH daemon at 01:04:18, and at 01:06:18 timed out, Killing.
seafood has quit [Client Quit]
<gchristensen> hmm were you connected over ssh?
<Psi-Jack> 1:04:48, actually.
<gchristensen> not sure if that'll keep it alive
<Psi-Jack> I had been, but that dropped instantly.
seafood has joined #nixos
seafood has quit [Client Quit]
<samueldr> could be a process started by the ssh session keeping the tree alive?
<Psi-Jack> Nothing was started, except nix search, but that had ended.
<Psi-Jack> Didn't happen this time I rebooted.
seafood has joined #nixos
seafood has quit [Client Quit]
<Psi-Jack> Was actually the first time I'd seen it happen, but any time a process hangs at shutdown I question it. :)
Copenhagen_Bram has quit [Read error: Connection reset by peer]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<Psi-Jack> Yep. Not happening consistently. Just the one time... So far.
seafood has quit [Client Quit]
<Psi-Jack> Now... The fun part. Hooking up cloud-init. heh heh heh
seafood has joined #nixos
seafood has quit [Client Quit]
<infinisil> And the only ssh related thing you did was log in and log out with a single session and user? No other users, no ControlMaster, no tmux or so?
<Psi-Jack> Correct.
Edes has quit [Quit: leaving]
seafood has joined #nixos
<infinisil> Weird
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<tenten8401> alright, so ocserv is definently receiving packets from the clients, it's just not being NATed correctly
<tenten8401> I enabled debug logging and its receiving packets, decrypting them, and writing them to the TUN interface
seafood has joined #nixos
<Psi-Jack> heh.. cloud-init adds soooo many things.. heh
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
freusque has quit [Ping timeout: 244 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<tenten8401> almost tempted to reboot the server and see if it'd help
seafood has quit [Client Quit]
sam__ has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<Psi-Jack> Hmm... Well then... cloud-init failed.
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43451 → tevent: 0.9.36 -> 0.9.37 → https://git.io/fNtic
seafood has joined #nixos
<Psi-Jack> Heh, man, and the default cloud-init setup is in DEBUG mode. oi...
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
Copenhagen_Bram has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43452 → tdb: 1.3.15 -> 1.3.16 → https://git.io/fNtig
seafood has joined #nixos
seafood has quit [Client Quit]
worldofpeace has quit [Quit: worldofpeace]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<gchristensen> anyone do a mass-rebuild locally recently?
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
worldofpeace has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<infinisil> gchristensen: Hmm I guess, in the last week or so
<gchristensen> any idea how long it took to get to a built bash?
raynold has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #43424 → libqmatrixclient: 0.2.1 -> 0.3.0.2; quaternion: 0.0.9 -> 0.0.9.2 → https://git.io/fNtUt
<{^_^}> [nixpkgs] @peterhoeg pushed 3 commits to master: https://git.io/fNtii
seafood has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43453 → talloc: 2.1.13 -> 2.1.14 → https://git.io/fNtiP
<infinisil> gchristensen: I think stdenv was only like an hour, less than I expected
<gchristensen> cool
seafood has quit [Client Quit]
<infinisil> iirc
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<ldlework> i installed fontforge, but when starting it i am dropped to a python interpreter
<ldlework> strange
seafood has joined #nixos
<Psi-Jack> Well, disabling cloud-init was very easy, and only thing that changed was the ssh keys, which.. cloud-init does.
seafood has quit [Client Quit]
<Psi-Jack> So, that's rather nice. :)
seafood has joined #nixos
seafood has quit [Client Quit]
<gchristensen> nice
seafood has joined #nixos
seafood has quit [Client Quit]
<Psi-Jack> Almost like it was never installed, except for the ssh hostkeys. heh
zearen has joined #nixos
<Psi-Jack> Almost... heh
seafood has joined #nixos
<samueldr> writing this up I hope?
seafood has quit [Client Quit]
<Psi-Jack> Oh yeah. LOL
<Psi-Jack> gchristensen already knows, I'm doing a pretty thorough NixOS review. :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43454 → usbguard: 0.7.2 -> 0.7.4 → https://git.io/fNtiS
seafood has joined #nixos
<Psi-Jack> ldle as well. hehe
<gchristensen> I know? :) I didn't know :D
<gchristensen> I didn't know you were writing it up anyway
<Psi-Jack> Okay, maybe it was just ldle. :)
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<samueldr> well, now we know :)
<Psi-Jack> hehe
<gchristensen> very cool!
<Psi-Jack> I'm pretty harsh at times, but extremely thorough. :)
trcc has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
<Psi-Jack> Back when, for example, Arch still weren't doing any kind of signatures of authentication of verification for packages, ohhhhhh, they got nailed big time. :)
<gchristensen> ouch
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<gchristensen> well, Nix and NixOS is by no means perfect, so I expect some good critique to come out of it.
seafood has quit [Client Quit]
markus1199 has quit [Ping timeout: 260 seconds]
seafood has joined #nixos
<gchristensen> and with any luck, we'll improve
seafood has quit [Client Quit]
<Psi-Jack> Heh yeah. nix is definitely going to get slapped a bit by me because of how memory hungry it is. :)
seafood has joined #nixos
<samueldr> OH, duh, I wondered why there was so much stuff in a nixos build-vm VM's store
<samueldr> it's mounting the host's store obviously
seafood has quit [Client Quit]
trcc has quit [Ping timeout: 268 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
nuncanada has quit [Quit: Leaving]
seafood has joined #nixos
seafood has quit [Client Quit]
<gchristensen> some good memory improvements will be released in 2.1.0, but no word on when exactly that'll be out
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
robogoat has quit [Ping timeout: 240 seconds]
<Psi-Jack> Yeah, I reaaaaally hope so. 1GB RAM just for `nix search`, is painful. :)
seafood has quit [Client Quit]
<gchristensen> not sure if that one will be fixed in 2.1.9
<gchristensen> 2.1.0*
seafood has joined #nixos
seafood has quit [Client Quit]
<gchristensen> a nice feature of NixOS is being able to build the system on one machine and copy the results to another, it used to be this process was also memory-intensive but will not be in 2.1.0. this makes it easy to deploy to low memory devices
robogoat has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
<Psi-Jack> That is the primary reasons I'm evaluating NixOS, actually. The built-in declarative construction of it. It would reduce my need for things like salt and chef, if even use them at all.
seafood has joined #nixos
<gchristensen> exactly :)
seafood has quit [Client Quit]
<gchristensen> I deploy many-a-server through this mechanism
<gchristensen> (without salt or chef)
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<Psi-Jack> I mean, even if I did use salt, it would be to configure nixos, mostly, and keeping it insatiably minimal. :)
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<Psi-Jack> I'm also evaluating NixOS, though, for professional level use. At work for example, we use salt+debian. On hardware, in virtual machines, on hosted "cloud" providers like AWS and Rackspace.
seafood has joined #nixos
seafood has quit [Client Quit]
<samueldr> nobody's ever been fired for buying IBM^W^W running nixos <- this ought to catch on
<gchristensen> samueldr++
<{^_^}> samueldr's karma got increased to 7
seafood has joined #nixos
<gchristensen> sure, Psi-Jack, I've worked with deploys of each of those types, among many others here
seafood has quit [Client Quit]
<gchristensen> I do loads of work with NixOS at Packet.net
<Psi-Jack> heh
seafood has joined #nixos
<gchristensen> in other words, sounds good
seafood has quit [Client Quit]
<Psi-Jack> I've a huge history in HA/HS with Linux. :)
seafood has joined #nixos
<gchristensen> I have no doubt
seafood has quit [Client Quit]
<samueldr> anyone awake with knowledge of packages with / packaging python, gobjectIntrospection?
<Psi-Jack> I'm literally well known enough, recommended enough, and always getting job offers... On a near daily basis. :)
<samueldr> having issues with "Namespace ______ not available", here it's Namespace LightDM
seafood has joined #nixos
seafood has quit [Client Quit]
<samueldr> I have a feeling GI_TYPELIB_PATH may be related, though I'm not entirely positive, and if it is, don't know how to make it work
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
markus1189 has joined #nixos
seafood has quit [Client Quit]
<dhess> gchristensen: are you doing anything with Terraform at the moment?
seafood has joined #nixos
<dhess> for Tweag maybe? Did I see that somewhere?
<gchristensen> nothing too interesting, what's up?
orzo has quit [Ping timeout: 265 seconds]
seafood has quit [Client Quit]
<gchristensen> I made a weird terraform resource to do a thing with nixos + nixops, but its weird and not souseful
seafood has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43456 → riot-web: 0.15.6 -> 0.15.7 → https://git.io/fNtPi
orzo has joined #nixos
seafood has quit [Client Quit]
doyougnu has joined #nixos
<Psi-Jack> Heh, I've used terraform as well. :)
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<dhess> gchristensen: that might be what I'm thinking of
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<gchristensen> ok, that is all the benchmarking fun I can have for the day. g'night everyone.
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
libertyprime has quit [Ping timeout: 260 seconds]
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
joebobjoe has joined #nixos
seafood has quit [Client Quit]
<joebobjoe> how do I list all derivations matching a given name?
dbmikus has joined #nixos
<joebobjoe> warning: there are multiple derivations named 'python-2.7.14'; using the first one
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
Wharncliffe has quit [Ping timeout: 268 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
Mr_Keyser_Soze has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
jperras has quit [Quit: WeeChat 2.1]
seafood has joined #nixos
phreedom has quit [Ping timeout: 250 seconds]
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
phreedom has joined #nixos
seafood has joined #nixos
<infinisil> joebobjoe: Check out `nix-env -qaP | fzf`, best package search ever
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<tenten8401> I love the subtle xkcd reference in defaultMailServer.authPass: https://i.imgur.com/raljrxi.png
seafood has joined #nixos
seafood has quit [Client Quit]
Mr_Keyser_Soze has quit [Ping timeout: 244 seconds]
seafood has joined #nixos
lassulus_ has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<tenten8401> Can anyone verify that NAT works correctly in NixOS in the first place? I can't seem to get any of my traffic to be routed correctly
<{^_^}> [nixpkgs] @dtzWill opened pull request #43457 → abc-verifier: 20160818 -> 2018-07-08 → https://git.io/fNtXV
seafood has joined #nixos
<dhess> It definitely does. That VPN module I referred you to earlier works for me on multiple hosts
<tenten8401> ah dang
seafood has quit [Client Quit]
<tenten8401> it seems like ocserv is definently getting traffic from the clients
<tenten8401> and sending it to the TUN device
seafood has joined #nixos
<tenten8401> I can PM the logfile if you'd like, mostly since it's got IPs in it
seafood has quit [Client Quit]
lassulus has quit [Ping timeout: 268 seconds]
lassulus_ is now known as lassulus
seafood has joined #nixos
seafood has quit [Client Quit]
<dhess> Sorry, I just don't know enough about ocserv to help
seafood has joined #nixos
<tenten8401> I don't think it's an ocserv issue
<samueldr> hah, got it, gobjectIntrospection had to be added to lightdm, so its hook could do its thing to make it available to packages needing it
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<tenten8401> Here's a log with redacted IPs: https://hastebin.com/uvexoqibag.makefile -- notice how it's receiving packets from the client, decrypting them, and writing them to the TUN device
seafood has joined #nixos
<tenten8401> the traffic either isn't making it out of the server or not making it back to the tun device
seafood has quit [Client Quit]
wpcarro has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<tenten8401> they're definently making it to the TUN device from ocserv, I can see my RX packets slowly go up as I refresh a page on my connected client
seafood has joined #nixos
seafood has quit [Client Quit]
doyougnu has quit [Ping timeout: 240 seconds]
seafood has joined #nixos
freusque has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
wpcarro has quit [Ping timeout: 240 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
zearen has quit [Ping timeout: 264 seconds]
muzzy_ has quit [Ping timeout: 244 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
joebobjoe has left #nixos [#nixos]
seafood has quit [Client Quit]
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 244 seconds]
Mateon3 is now known as Mateon1
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<{^_^}> [nixpkgs] @bhipple opened pull request #43458 → pythonPackages.aws-adfs: init at 0.12.0 → https://git.io/fNt1q
seafood has joined #nixos
seafood has quit [Client Quit]
graphene has quit [Remote host closed the connection]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
graphene has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
sam__ has quit [Ping timeout: 264 seconds]
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<tenten8401> so I set up iptables to log all traffic in realtime, and it seems like traffic is making it into vpns0, but there's no OUT= interface in the log, which makes me think it might not be routing traffic to an interface
seafood has joined #nixos
<tenten8401> I don't know, this whole thing is so confusing
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
sir_guy_carleton has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
<{^_^}> [nixpkgs] @bhipple opened pull request #43459 → s4cmd: init at 2.0.1 → https://git.io/fNt1R
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<tenten8401> yeah, traffic just isn't making it out and I don't know why
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
phreedom has quit [Ping timeout: 250 seconds]
seafood has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.0]
phreedom has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
sir_guy_carleton has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<iqubic> Is there a guide out there somewhere to getting nix to work with javasript? Like can I get nix to run a local server for me?
<iqubic> So that I can test things before I deploy them?
seafood has joined #nixos
seafood has quit [Client Quit]
<iqubic> Neither the Nix manual nor the NixOS manual are particularlly helpful.
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<samueldr> iqubic: that's an interesting idea, though nix itself wouldn't do much, it can run "check" phases, so it may be possible to run headless test suites this way
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<ryantm> iqubic: node2nix https://github.com/svanderburg/node2nix is probably worth checking out
seafood has joined #nixos
<iqubic> I'm actually not trying to do much beyond installing libraries with NPM.
seafood has quit [Client Quit]
spear2 has quit [Remote host closed the connection]
seafood has joined #nixos
<ryantm> iqubic: You can do `nix-shell -p nodejs`
seafood has quit [Client Quit]
spear2 has joined #nixos
<iqubic> I can?
seafood has joined #nixos
<ryantm> That starts a shell with node and npm available
<samueldr> my shell.nix for js proejcts basically does this + yarn
seafood has quit [Client Quit]
<iqubic> Can I put that into a shell.nix file so that I only need to run nix-shell?
<ryantm> Yes.
seafood has joined #nixos
<iqubic> samueldr: How do you run projects? What server do you use?
<samueldr> when I develop, I enter a nix-shell and do it exactly like I would otherwise
seafood has quit [Client Quit]
<samueldr> though I deal strictly with client-side JS
<samueldr> (so I can't help with node-specifics)
<samueldr> but here it's using webpack fine
seafood has joined #nixos
seafood has quit [Client Quit]
<iqubic> Well, I was planning on doing only client-side JS myself. I just need NPM for grabbing libraries.
seafood has joined #nixos
<samueldr> then that should work fine for developmen
<iqubic> But how would I run the JS code?
seafood has quit [Client Quit]
<samueldr> like you would outside nix/nixos
<iqubic> Also, what should my shell.nix look like?
seafood has joined #nixos
<samueldr> the default.nix I shared is what is used for my shell since I don't have a shell.nix file
nlytendd has joined #nixos
seafood has quit [Client Quit]
<iqubic> But why? Why not just make a shell.nix.
<samueldr> I use release.nix for building for releases
seafood has joined #nixos
<iqubic> Are you going to be building this ever?
<samueldr> iqubic: no particular reason
<samueldr> when it builds, I build it using release.nix
seafood has quit [Client Quit]
<samueldr> which then uses yarn2nix
<samueldr> (as I use yarn for js stuff)
<tenten8401> Hey so I finally got ocserv working
<tenten8401> rebooted and it all magicially came to life
<tenten8401> so I don't know what changed but it works now
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<iqubic> So is there a nix API I can browse? Like I want to know what parameters I need to give to mkShell.
seafood has joined #nixos
seafood has quit [Client Quit]
<iqubic> Or just to browse and see what functions are available.
seafood has joined #nixos
seafood has quit [Client Quit]
<samueldr> iqubic: for that particular one, it's in the doc here: https://github.com/NixOS/nixpkgs/blob/master/doc/shell.section.md
seafood has joined #nixos
seafood has quit [Client Quit]
<samueldr> though not everything is in the doc, some are documented where they are defined
seafood has joined #nixos
<samueldr> as for mkShell, other than "inputsFrom", it acts 100% like mkDerivation, except it's been given a name for you
seafood has quit [Client Quit]
<nlytendd> what does this mean "note: currently hard linking saves 7763.43 MiB"?
<samueldr> those that are in the main manual are defined here: https://nixos.org/nixpkgs/manual/#chap-functions
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<samueldr> nlytendd: look at the description of auto-optimise-store here https://nixos.org/nix/manual/#description-41
seafood has joined #nixos
<samueldr> basically, files that are byte-for-byte identical are present only one time physically on your disk
seafood has quit [Client Quit]
andymandias has joined #nixos
<nlytendd> ah thanks
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
rcshm has joined #nixos
tenten8401 has quit [Ping timeout: 268 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<nlytendd> # nix-store --optimise doesn't do anything
seafood has joined #nixos
seafood has quit [Client Quit]
<nlytendd> "note: currently hard linking saves 7844.51 MiB 0 store paths deleted, 0.00 MiB freed"
seafood has joined #nixos
<nlytendd> after running # nix-collect-garbage -d
seafood has quit [Client Quit]
seafood has joined #nixos
freusque has quit [Quit: WeeChat 2.1]
seafood has quit [Client Quit]
<samueldr> that's because you're already all-optimised :)
seafood has joined #nixos
<samueldr> especially after a garbage collection run
seafood has quit [Client Quit]
seafood has joined #nixos
<nlytendd> ah but it keeps reminding me there is 7000mb to be saved lol
seafood has quit [Client Quit]
alex``` has joined #nixos
<samueldr> it's actually that you already have saved 7844.51MB :)
<nlytendd> ohh nice
seafood has joined #nixos
seafood has quit [Client Quit]
<samueldr> when you nix-store --optimise and it saves new space, it looks like this:
<samueldr> 8751.77 MiB freed by hard-linking 579225 files
<samueldr> (just did it)
seafood has joined #nixos
<samueldr> the output of --optimise is what's been newly done
seafood has quit [Client Quit]
<nlytendd> right. samueldr++
<samueldr> (it could be an improvement to also print the current total saved space)
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<nlytendd> maybe.. :)
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
trcc has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
igo95862 has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
owickstrom has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<iqubic> What version of Node do I want? Will they all give me NPM?
trcc has quit [Ping timeout: 264 seconds]
seafood has quit [Client Quit]
<samueldr> iqubic: probably the most recent one
<iqubic> Also will operations done in "nix-shell" remain if I leave nix-shell?
seafood has joined #nixos
seafood has quit [Client Quit]
<samueldr> uuuh, as long as you're not manipulating environment variables, it works like node/npm does usually, so yes
<iqubic> Like if I enter nix-shell and fetch some libraries with NPM, will I have to fetch them again when I leave and then re-enter nix-shell.
seafood has joined #nixos
<samueldr> nah, npm isn't aware it's running within a nix-shell
seafood has quit [Client Quit]
<samueldr> so it works like your ol' usual npm
<iqubic> Alright, cool.
seafood has joined #nixos
<samueldr> the biggest difference is that you can't (IIRC) use -g for global installs
seafood has quit [Client Quit]
<iqubic> What happens if you try?
<samueldr> (as it would install to the nix store)
<samueldr> hmm, haven't tried, but I would bet on error as it's read-only
<samueldr> (as it would on systems where you would need sudo to do it)
nallar has joined #nixos
seafood has joined #nixos
<samueldr> AFAIK, for npm, --global (-g) is a specific action the user (you) would do on the CLI
seafood has quit [Client Quit]
sbdchd has quit [Remote host closed the connection]
<iqubic> haskellPackages.g-npm confuses me so much. Let me show you the description:
<iqubic> Generate Gentoo ebuilds from NodeJS/npm packages
alex``` has quit [Ping timeout: 240 seconds]
seafood has joined #nixos
Ross has quit [Ping timeout: 240 seconds]
nallar is now known as Ross
<samueldr> isn't haskellPackages auto-generated from a list of haskell packages?
seafood has quit [Client Quit]
<iqubic> Why the heck is that a Haskell Package, if it deals with Node/NPM. Also, why do we need this in Nixpkgs?
seafood has joined #nixos
seafood has quit [Client Quit]
<iqubic> It's like a mix of several different semi-related things.
seafood has joined #nixos
seafood has quit [Client Quit]
<samueldr> iqubic: » Nixpkgs distributes build instructions for all Haskell packages registered on Hackage
<iqubic> Oh, I see. That makes sense.
<samueldr> so it probably isn't the only "weird" thin in haskellPackages
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<iqubic> why is nodejs-6.14.3 the "default" nodejs when 9.11.2 exists?
seafood has quit [Client Quit]
<samueldr> no idea
<samueldr> probably compatibility for a non-npm package depending on node?
seafood has joined #nixos
<samueldr> or LTS?
seafood has quit [Client Quit]
jb55 has quit [Ping timeout: 264 seconds]
<samueldr> looks like it may have been LTS https://github.com/nodejs/Release
seafood has joined #nixos
seafood has quit [Client Quit]
<iqubic> Well, I can't run nix-shell.
seafood has joined #nixos
<iqubic> I get this error: "error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied"
seafood has quit [Client Quit]
<samueldr> using nixos?
<samueldr> are you already in a nix-shell?
rcshm has quit [Ping timeout: 268 seconds]
seafood has joined #nixos
<iqubic> Using nixos. Not in a nix-shell.
seafood has quit [Client Quit]
seafood has joined #nixos
<iqubic> This is a weird issue to run into.
seafood has quit [Client Quit]
<samueldr> weird (you're missing a semi-colon after the buildInputs list, but it's unrelated to your issue)
<iqubic> Does anyone know what's up with that error?
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
aarvar has joined #nixos
<samueldr> iqubic: please run `readlink -f $(type -P nix-shell)`
<samueldr> this'll tell us which nix-shell your session sees
<samueldr> (and which nix)
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<iqubic> I don't have the type command available.
<dtz> iqubic: did you recently update through the nix 1.x -> 2 change?
seafood has quit [Client Quit]
<iqubic> dtz: I have updated to Nix 2.
<samueldr> iqubic: hmm, using zsh?
<iqubic> samueldr: No.
<samueldr> dtz: I was thinking along the way
seafood has joined #nixos
<samueldr> what shell then?
<dtz> ("command -v nix-shell" will do the job of "type -P nix-shell", FWIW)
hxrts_ has joined #nixos
seafood has quit [Client Quit]
<dtz> iqubic: try setting NIX_REMOTE=daemon and if that fixes it we know something
<samueldr> (type is a bash builtin)
seafood has joined #nixos
<iqubic> I'm being esoteric and using the emacs eshell.
<samueldr> ah lol
<iqubic> Which is being a pain.
<iqubic> I just love emacs though.
seafood has quit [Client Quit]
<samueldr> use `which` instead of `type -P`
<samueldr> no worries, esotheric isn't inherently bad, breaking some workflows can be illuminating :D
seafood has joined #nixos
<samueldr> (I like to break things for shits and giggles using non-standard stuff)
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
hxrts_ has quit [Remote host closed the connection]
seafood has joined #nixos
<dtz> I forget what we know but it's the thing that makes sense-- anyway if taht fixe
<dtz> ah, you have an "old" (pre-nix-2) 'nix' in your profile (or PATH, possibly) ... but a nix-2-enabled NixOS no longer sets NIX_REMOTE since it's not needed
seafood has quit [Client Quit]
<samueldr> dtz: what I had in mind
<iqubic> Here's what I have from the readlink: /nix/store/aq8i9jvxgi2m6igkpyic3lcx7kawvwpg-nix-1.11.16/bin/nix-build
<samueldr> looks like it
<dtz> btw why does matrix say this channel is "#nixos:pierrebeaucamp.com"
seafood has joined #nixos
<samueldr> iqubic: nix-env -q 'nix.*'
seafood has quit [Client Quit]
Mr_Keyser_Soze has joined #nixos
seafood has joined #nixos
<dtz> samueldr: <3 awesome
<samueldr> dtz: no idea how matrix works, bridge used?
<iqubic> error: selector ‘nix.*’ matches no derivations
seafood has quit [Client Quit]
<samueldr> oh, then nix 1.11 isn't installed in your user profile...
<samueldr> same with sudo?
seafood has joined #nixos
<iqubic> yes.
seafood has quit [Client Quit]
<samueldr> dtz: any tricks you know to figure out from which profile nix 1.11 comes from?
seafood has joined #nixos
seafood has quit [Client Quit]
<samueldr> at least, iqubic: `readlink -f /nix/var/nix/profiles/system/sw/bin/nix-env`
<samueldr> that'll tell us what your nixos configuration installed
seafood has joined #nixos
seafood has quit [Client Quit]
<iqubic> /nix/store/aq8i9jvxgi2m6igkpyic3lcx7kawvwpg-nix-1.11.16/bin/nix-env
seafood has joined #nixos
<samueldr> that's... a surprising twist
seafood has quit [Client Quit]
<iqubic> Why?
seafood has joined #nixos
<samueldr> iqubic: which channel are you following? your nixos is rebuilding using a channel or a git checkout?
<dtz> $ nix-store -q --roots $(readlink -f $YOURPATH)
<dtz> ?
seafood has quit [Client Quit]
<dtz> oh
<dtz> was answering Q hadn't seen chat since sorry :3
seafood has joined #nixos
<samueldr> no worries, dtz, answer is still useful even if unneeded <3
seafood has quit [Client Quit]
<iqubic> nix-store -q --roots $(readlink -f /nix/var/nix/profiles/system/sw/bin/nix-env)
<samueldr> it's surprising because since 18.03 the default is for nix is 2.0.x
seafood has joined #nixos
<iqubic> I just ran that and it removed a ton of stale links.
seafood has quit [Client Quit]
<samueldr> (not an issue, and shouldn't change anything)
seafood has joined #nixos
blankhart has quit [Quit: WeeChat 1.9.1]
seafood has quit [Client Quit]
seafood has joined #nixos
<iqubic> Well, I just remembered that nix 2 was giving me OOM errors so I temporarily switched back to nix 1.x.y
<iqubic> Going to switch back to 2
<samueldr> did you reboot once you switched?
seafood has quit [Client Quit]
<iqubic> Yeah.
<samueldr> or, since you switched?
<iqubic> No.
seafood has joined #nixos
<iqubic> I'm switching back to Nix 2 now.
seafood has quit [Client Quit]
<samueldr> okay, so it's probably then a nix 2.0 daemon, with nix 1.11 "frontend" (client?) which is what we expected in the end
seafood has joined #nixos
<iqubic> I had "nix.package = pkgs.nix1" in my configuration.nix
seafood has quit [Client Quit]
<iqubic> I have now removed that and ran nixos-rebuild.
<samueldr> that would probably cause the issues you had
<iqubic> Do I have to reboot now?
<samueldr> probably not, iqubic
seafood has joined #nixos
<samueldr> oh duh, dtz, instead `readlink -f $(which nix-shell)` just `which nix-shell` would have answered my earlier question :)
seafood has quit [Client Quit]
seafood has joined #nixos
thevoidthevoidth has joined #nixos
<iqubic> Well, nix-shell now works.
<iqubic> Why did we run into an issue in the first place?
seafood has quit [Client Quit]
<dtz> haha I blame Nix's love of symlinks for conditioning us to automatically `readlink -f $(actual thing)`
<samueldr> the reason why you had "error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied" ?
seafood has joined #nixos
<iqubic> Like why was the version mismatch an issue.
seafood has quit [Client Quit]
<iqubic> samueldr: yes. that.
<samueldr> iqubic: that would be because with nix 1.11 you needed to tell it to use the daemon, nix 2.0 detects it
seafood has joined #nixos
coot_ has joined #nixos
<samueldr> your system was built with 2.0 in mind, and your session did not have that NIX_REMOTE environment variable around
seafood has quit [Client Quit]
<iqubic> No. Should I add the NIX_REMOTE environment variable?
<samueldr> nix 1.11 then tried to run as single-user instead of multi-user
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<samueldr> iqubic: generally, the system should have done it. if you rebooted since switching to nix 1.11 and it had this issue, it's possibly a bug
seafood has quit [Client Quit]
<samueldr> `nixos-rebuild` cannot change environment variables in existing sessions ^[citation needed]
seafood has joined #nixos
seafood has quit [Client Quit]
muzzy_ has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
graphene has quit [Remote host closed the connection]
seafood has quit [Client Quit]
<dtz> never say "can't" re:Nix or a lurker will appear and point you to some old github repo where exactly that was implemented
seafood has joined #nixos
<dtz> *nixos-rebuild "chooses not to" change environment variables in existing sessions...
<dtz> jk but you're basically right :)
<samueldr> a lurker maching /^clever$/?
wpcarro has joined #nixos
seafood has quit [Client Quit]
mahalel_ has quit [Remote host closed the connection]
graphene has joined #nixos
<dtz> samueldr: lmao yes, I was too specific with my example :D
seafood has joined #nixos
<samueldr> :D with love obviously
seafood has quit [Client Quit]
<samueldr> but yeah, it's more of a "it shouldn't mess with sessions" than "really can't"
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<iqubic> should I add any environment variables to my session, or is the nix-shell thing solved?
seafood has joined #nixos
<samueldr> solved
seafood has quit [Client Quit]
seafood has joined #nixos
<samueldr> (if you ever switch back to nix 1.11, do a reboot and see if it sets that variable)
<iqubic> I'm not going to switch back. Sorry.
seafood has quit [Client Quit]
wpcarro has quit [Ping timeout: 244 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
dbmikus has quit [Ping timeout: 256 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
<samueldr> ah, I wasn't suggesting you to, just if you did
seafood has joined #nixos
seafood has quit [Client Quit]
endformationage has quit [Quit: WeeChat 1.9.1]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
countoren has quit [Ping timeout: 252 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<iqubic> I know. I'm just saying that I can't forsee a time in the near future where I want to switch back.
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
lord| has quit [Read error: Connection reset by peer]
seafood has joined #nixos
seafood has quit [Client Quit]
lord| has joined #nixos
reinzelmann has joined #nixos
seafood has joined #nixos
<ghasshee> Oh, dropbox had synced while I slept, the process seemed to have much time than that in macos.
seafood has quit [Client Quit]
<samueldr> doesn't macOS provide an API to "fake out" cloud storage sync?
seafood has joined #nixos
<samueldr> (not inherently bad, even good)
seafood has quit [Client Quit]
reinzelmann has quit [Client Quit]
seafood has joined #nixos
<ghasshee> @samuldr I do not know it well.. Nice to have NixOS!
<samueldr> :)
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
sippandsap has quit [Ping timeout: 256 seconds]
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
wpcarro has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
sbdchd has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
igo95862 has quit [Quit: igo95862]
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
wpcarro has quit [Ping timeout: 268 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
wpcarro has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
Ariakenom has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
manny has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
sbdchd has quit [Ping timeout: 240 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
wpcarro has quit [Ping timeout: 244 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
remmbster has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
lostman has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<lostman> hi all. if I run nix-build with -K (--keep-failed), is there a way to resume it somehow?
seafood has joined #nixos
seafood has quit [Client Quit]
<lostman> I have a trivial mistake in the middle of large build... so need to re-run whole thing which takes forever
<samueldr> not really, nix doesn't have any knowledge how to restart a build
<samueldr> which commands would it run and which would it skip?
<lostman> if I fix the build phase though, can I tell it to still run postBuild, installPhase and so on?
<samueldr> and starting from point XYZ from a build instead of from a clean slate can cause side-effects in some build systems
seafood has joined #nixos
seafood has quit [Client Quit]
<samueldr> lostman: no way to do this (I understand and know the pain)
<lostman> cool. I expected that would be the case
seafood has joined #nixos
* srk hides
seafood has quit [Client Quit]
seafood has joined #nixos
<samueldr> srk: `help until` ;)
seafood has quit [Client Quit]
<samueldr> until "$@"; do : ; done
<samueldr> (will not be strictly equivalent to eval though)
muzzy_ has quit [Remote host closed the connection]
<srk> too verbose, I can just prefix a failing command with untilsuccess :D
<srk> and wait
seafood has joined #nixos
<samueldr> oh, I meant you can re-write you shell script :)
muzzy_ has joined #nixos
seafood has quit [Client Quit]
<srk> aaah
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<jackdk> seafood, you ok? You've been blinking in and out of this channel for hours
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<samueldr> australian internet
seafood has joined #nixos
* samueldr has joins/parts hidden for this channel
seafood has quit [Client Quit]
<samueldr> oh my! I didn't know it was this bad
seafood has joined #nixos
seafood has quit [Client Quit]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1dd67f1aef1 (from 35 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
Khetzal has joined #nixos
<samueldr> oh, "client quit", this looks bad :/
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<lostman> does anyone know how to enable ccache for a particular derivation?
seafood has joined #nixos
libertyprime has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
remmbster has quit [Ping timeout: 264 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<lostman> there's some `configuration.nix` setting: `config.program.ccache.enabled = true` but how would I use that if I don't have `nixos` but just `nix` on Ubuntu?
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43460 → altcoins.parity-ui: 0.2.5 -> 0.2.8 → https://git.io/fNt9a
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
johanot has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
qualiaqq has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
<teto1> lostman: if nix-build fails, tries to fix it first from a nix-shell this way you don't need to rebuild from scratch
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
wpcarro has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
nlytendd has left #nixos ["Leaving"]
seafood has quit [Client Quit]
wpcarro has quit [Ping timeout: 244 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
reinzelmann has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
libertyprime has quit [Remote host closed the connection]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
muzzy_ has quit [Ping timeout: 240 seconds]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
qualiaqq has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
Khetzal has quit [Ping timeout: 265 seconds]
seafood has quit [Client Quit]
drakonis has quit [Read error: Connection reset by peer]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
freeman42]NixOS has joined #nixos
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
Mrmaxmeier has quit [Remote host closed the connection]
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
seafood has quit [Client Quit]
seafood has joined #nixos
Khetzal has joined #nixos
seafood has quit [Client Quit]
wpcarro has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43462 → mytetra: 1.42.2 -> 1.43.27 → https://git.io/fNtQO
Ariakenom has quit [Quit: Leaving]
wpcarro has quit [Ping timeout: 276 seconds]
johanot has quit [Ping timeout: 240 seconds]
tertle||eltret has joined #nixos
Sufixx has joined #nixos
spear2 has quit [Remote host closed the connection]
spear2 has joined #nixos
Izorkin has quit [Ping timeout: 240 seconds]
Ariakenom has joined #nixos
spear2 has quit [Read error: Connection reset by peer]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pluplog has joined #nixos
sbdchd has joined #nixos
wpcarro has joined #nixos
johanot has joined #nixos
freeman42]NixOS has quit [Ping timeout: 265 seconds]
hamishmack has joined #nixos
trcc has joined #nixos
sbdchd has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43463 → mkvtoolnix: 24.0.0 -> 25.0.0 → https://git.io/fNt5e
trcc has quit [Remote host closed the connection]
<iqubic> I'm having some issues with firefox. When ever I watch a youtube video in full screen, after about 2 minutes the screen goes black. It's the same behavior I get if I just leave my machine inactive for a bit of time.
wpcarro has quit [Ping timeout: 248 seconds]
<iqubic> I feel like this shouldn't occur. I feel like the screen shouldn't go blank if I'm in fullscreen.
<iqubic> VLC in fullscreen works fine.
camsbury_ has joined #nixos
srl295 has quit [Quit: Connection closed for inactivity]
camsbury has quit [Ping timeout: 264 seconds]
andymandias_ has joined #nixos
andymandias has quit [Ping timeout: 260 seconds]
regulus_ has quit [Ping timeout: 244 seconds]
regulus_ has joined #nixos
<adisbladis[m]> iqubic: I can't answer _why_ this is happening but you should be able to work around it with systemd-inhibit
<iqubic> How does that work?
andymandias has joined #nixos
npmccallum has joined #nixos
<iqubic> Ultimately I want something like caffeine.
<sphalerit> adisbladis: I don't think so, since that's for suspend/power off etc
andymandias_ has quit [Ping timeout: 240 seconds]
<sphalerit> iqubic: I have the same problem, and I think blanking is prevented correctly in chromium
thc202 has joined #nixos
periklis has joined #nixos
<iqubic> sphalerit: I don't want to switch browsers rihgt now.
<sphalerit> Might be worth trying firefox-bin as well. I have a suspicion that maybe the wrapper doesn't include libXss in the library path and it might need that, but I can't check now, I'm on my phone
<sphalerit> That's perfectly understandable and I'm not saying you should :)
<manveru> iqubic: you can use `xset dpms 0 0 0` for now
<manveru> basically disabling your monitor standby
andymandias_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43464 → musescore: 2.3 -> 2.3.1 → https://git.io/fNtdl
kristoferus75 has joined #nixos
<manveru> your current settings are in `xset -q | grep Standby`, if you want to restore it after
<kristoferus75> hi ! i cannot login with normal user in lightdm & xfce4 with root works
andymandias has quit [Ping timeout: 260 seconds]
<manveru> kristoferus75: what does "cannot login" mean? does it at least try?
johanot has quit [Remote host closed the connection]
<kristoferus75> in the home directory of the user : xsessions it says : window manager xfce cannot found
<kristoferus75> i can login boot the xfce wont start
johanot has joined #nixos
<kristoferus75> i can login in lightsm but the xfce wont start
<kristoferus75> i can login in lightdm but the xfce wont start
Mr_Keyser_Soze has quit [Remote host closed the connection]
<adisbladis[m]> Looking for some feedback on https://github.com/NixOS/nixpkgs/pull/42610
<{^_^}> #42610 (by adisbladis, open): installer: Don't run graphical installer ISOs as root
<manveru> kristoferus75: and what's your configuration for the xserver?
<kristoferus75> i have configured all in the nix config file :
palo has quit [Ping timeout: 264 seconds]
<kristoferus75> services.xserver.desktopManager.xfce.enable = true;
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
<adisbladis[m]> Linus: Btw I just checked and libXss is in the wrapper of the `-bin` derivation(s)
<kristoferus75> services.xserver.displayManager.lightdm.enable = true;
<kristoferus75> thats all
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43465 → nomacs: 3.10.0 -> 3.10.2 → https://git.io/fNtd9
owickstrom has quit [Quit: Leaving]
<manveru> kristoferus75: `services.xserver.windowManager.default = "xfce"`
<manveru> i think that should help
<manveru> you need both to enable xfce, and to set it as the default
<angerman> so I can enter a nix-shell for a package.
<angerman> and I can do somehting like `cd $(mktemp -d)` to have the rest execute in a temporary directory. Is there also a command to run the full build procedure? Or do I need to run `unpackPhase`, ... all by hand?
winem_ has joined #nixos
tmaekawa has joined #nixos
<manveru> angerman: does running `genericBuild` work?
patrl has joined #nixos
tmaekawa has quit [Client Quit]
<kristoferus75> now it says if i bouild the config : error: Default window manager (xfce) not found
<manveru> kristoferus75: i think it could be `xfce4-session`
<manveru> just checked the docs
goibhniu has joined #nixos
<sphalerit> adisbladis: and in the source-built one?
<adisbladis[m]> Linus: Also in inputs
<angerman> manveru: let’s see.
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
johanot1 has joined #nixos
<kristoferus75> no it wont work also with: services.xserver.desktopManager.default = "xfce"
<kristoferus75> and `services.xserver.windowManager.default = "xfce4-session"
<ghasshee> Hi , is there any good tutorial to build opam system on nixos ? I failed utop because cannot solve the dependency "camlp4" ...
sbdchd has joined #nixos
hamishmack has joined #nixos
civodul has joined #nixos
periklis has quit [Remote host closed the connection]
sbdchd has quit [Ping timeout: 240 seconds]
<goibhniu> hi ghasshee, are you trying to build opam without using nix?
<LnL> there's an ocaml section in the manual IIRC, not sure about anything else
<ghasshee> Yes. I installed nixos.opam .
<ghasshee> Ohh, ... it seems that I should use ocamlPackages.utop rather than `opam install utop`.
<ghasshee> and ocamlPackages.camlp4
<sphalerit> !library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<sphalerit> ghasshee: ^ on nix systems you don't install libraries
<ghasshee> {^_^}: so shuould I use `opam package manager ?'
<ghasshee> @sphalerit
periklis has joined #nixos
<ghasshee> hmm, should I start nix-shell ?
obadz has joined #nixos
<goibhniu> yep, use nix-shell for development
<ghasshee> @goibhniu Thanks, I will try it.
knupfer has joined #nixos
alex``` has joined #nixos
wucke13 has quit [Quit: WeeChat 2.0]
<kristoferus75> yes ai alos have tried this but without success
<kristoferus75> yes also have tried this but without success
Lisanna has quit [Quit: Lisanna]
<kristoferus75> i have also tried to add a other user but also no success
<{^_^}> [nixos-hardware] @boothead opened pull request #63 → Add a note about rcu_sched problems → https://git.io/fNtNi
npmccallum has quit [Quit: npmccallum]
tertle||eltret has quit [Quit: Connection closed for inactivity]
vasiliy_san has quit [Quit: Connection closed for inactivity]
lostman has quit [Quit: Connection closed for inactivity]
jackdk has quit [Ping timeout: 240 seconds]
fragamus has joined #nixos
johanot has quit [Ping timeout: 268 seconds]
fragamus has quit [Client Quit]
fragamus has joined #nixos
<{^_^}> [nixos-hardware] @yegortimoshenko merged pull request #63 → Add a note about rcu_sched problems → https://git.io/fNtNi
<{^_^}> [nixos-hardware] @yegortimoshenko pushed 3 commits to master: https://git.io/fNtp4
orivej has joined #nixos
cacatoes has joined #nixos
phdoerfler1 has joined #nixos
<kristoferus75> with i3 it works i can login and start i3 with normal user
<kristoferus75> but i want to start xfce as normal user
<kristoferus75> crazy
fractalcat has quit [Quit: WeeChat 2.1]
<manveru> kristoferus75: sorry, i don't know either, i'm using i3 -.-
<manveru> maybe you can ask at https://discourse.nixos.org/
npmccallum has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43467 → jackett: 0.8.1209 -> 0.9.1 → https://git.io/fNthG
betaboon has quit [Ping timeout: 268 seconds]
wpcarro has joined #nixos
johanot has joined #nixos
johanot has quit [Ping timeout: 240 seconds]
johanot has joined #nixos
wpcarro has quit [Ping timeout: 260 seconds]
Lisanna has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43469 → imagemagick7: 7.0.8-2 -> 7.0.8-6 → https://git.io/fNtjq
johanot has quit [Remote host closed the connection]
<kristoferus75> ok thanks !
winem_ has quit [Remote host closed the connection]
vmandela has joined #nixos
sigmundv has joined #nixos
joepie91_to_go has joined #nixos
<{^_^}> [nixpkgs] @numinit opened pull request #43470 → dwarf-fortress: [WIP] refactor, round 2: support multiple unfuck/dfhack/TWBT versions → https://git.io/fNqeY
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43471 → igv: 2.4.11 -> 2.4.13 → https://git.io/fNqeO
joko has quit [Changing host]
joko has joined #nixos
simukis has joined #nixos
ajs124 has left #nixos ["Stream closed by us: Timed out waiting for stream resumption (connection-timeout)"]
joepie91_to_go has quit [Remote host closed the connection]
andymandias has joined #nixos
ajs124 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43432 → circleci-cli: init at 2018-05-12 → https://git.io/fNtnY
<{^_^}> [nixpkgs] @xeji pushed commit from @Synthetica9 to master « circleci-cli: init at 2018-05-12 (#43432) »: https://git.io/fNqvf
andymandias_ has quit [Ping timeout: 240 seconds]
raynold has quit [Quit: Connection closed for inactivity]
phdoerfler1 has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43472 → golly: 3.1 -> 3.2 → https://git.io/fNqvs
jtojnar has joined #nixos
andymandias_ has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nixos
andymandias has quit [Ping timeout: 264 seconds]
nschoe has joined #nixos
ericsagnes has quit [Ping timeout: 240 seconds]
winem_ has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
camsbury has joined #nixos
sbdchd has joined #nixos
w17t has joined #nixos
camsbury_ has quit [Ping timeout: 256 seconds]
fragamus has joined #nixos
<Taneb> "error: unrecognized flag '--help'. Try 'hydra-queue-evaluator --help' for more information"
sbdchd has quit [Ping timeout: 248 seconds]
betaboon has joined #nixos
<betaboon> hello #nixos, is there a way to speedup kernel-compilation ?
<nschoe> Hi all, I have a section `shellHook` in my default.nix, which ix executed when I enter `nix-shell`, but not when I run `nix-build`. How can I have it executed?
<makefu> betaboon: normally nix will scale to the number of available cores. you can set `nix.buildCores` in your configuration.nix
<srhb> betaboon: We build a loooot of modules, so if you disable them...
<makefu> betaboon: or you can have your super powerful build machine do the heavy lifting via remote building https://nixos.wiki/wiki/Distributed_build
<infinisil> nschoe: you generally can't do that, what are you trying to achieve?
<betaboon> well nix.maxJobs is set to 8 in hardware-configuration.nix. setting buildColrs is documented to introduce non-deterministic behavior !?
<srhb> betaboon: In some cases only.
<srhb> betaboon: maxJobs 2 just means you can build two kernels at the same time.
<betaboon> srhb: ah yeah. figured
telent has joined #nixos
<srhb> betaboon: And derivations that are known to be nondeterministic in face of multiple build threads should have parallel building disabled individually.
<nschoe> infinisil, well, that's pretty ugly (so don't judge ^^). I'm experimenting a bit, and I'm trying my hand at packaging ROS for nix. By https://wiki.ros.org/Installation/Source it says it needs some dependencies, and we can install them with python pip. So I have followed this https://nixos.org/nixpkgs/manual/#python (section 9.11.3.6) that explains how to use shellHook to setup python so that it installs with pip.
<manveru> angerman: did it work?
<nschoe> infinisil, and this sorts of work when I run `nix-shell`: I can see a bunch of stuffs installed, and the dependencies listed in the requirements.txt are found when I try to run them.
<infinisil> nschoe: ah no that's not what you wanna do
<nschoe> infinisil, argh. Why?
<infinisil> There should be a python section in the manual explaining how to build packages
<nschoe> infinisil, actually what I wish I could do is write those dependencies in the `buildInputs`, but since there are no nix packages I can't do that. So how do I "list them / build them" as dependencies for ny derivation?
<disasm> looking for recommendations for a home dns server that can be declaratively declared in nix. Currently using pdns with pgsql backend, but looking at moving my dns to a more reliable machine with less CPU/RAM, and would like to manage my records with nix as well.
<betaboon> srhb: so i'll try setting buildCores to 4 and see what happens :X
<nschoe> infinisil, well the thing is: I don't just need to build them for my system, I need them as dependencies for my derivation. Is that possible?
betaboon has quit [Quit: WeeChat 2.1]
<srhb> betaboon: If you have both maxJobs and buildCores set fairly high, know that memory usage can skyrocket for some builds. In case you suddenly see failing builds due to OOM conditions :)
<srhb> ... oh well
<Taneb> So, I've got a problem with my local hydra (deployed with nixops)
<Taneb> The hydra-queue-runner user can't read /nix/var/nix/db/big-lock
betaboon has joined #nixos
<Taneb> So it's erroring with hydra-queue-runner[1885]: error: opening lock file '/nix/var/nix/db/big-lock': Permission denied
<infinisil> nschoe: and you need a nixpkgs, which contains a lot of python oackages already, you have that already though
<infinisil> ,pills nschoe
<nschoe> infinisil, yes but the packages are not in python-packages.
<infinisil> Probably you should read these to get a basic idea of how nix works ^^
<nschoe> infinisil, yep I have read the nix pills (though I think a refresher would do no harm ^^)
<infinisil> Oh
<aminechikhaoui> Taneb: what's the output of ls -l /nix/var/nix/db/big-lock ?
<nschoe> I have a basic idea (which I'm trying to improve, though so any how-to, link, resource is welcome!), but in this case, the packages are not in python-packages.
<infinisil> Such as?
<nschoe> infinisil, rosdep rosinstall_generator wstool rosinstall
<nschoe> infinisil, those are the packages that I need to install, according to the wiki page of ROS on hwo to build from source
<betaboon> hm doesnt seem like the kernel is now build in parallel
<infinisil> Yeah then you should package those first with nix
<disasm> nschoe: you could either add the deps to nixpkgs, or setup an overlay with them in it.
<srhb> After a rebuild switch?
<srhb> betaboon: &
<infinisil> nschoe: Oh and check out https://github.com/garbas/pypi2nix which might just work
<srhb> ... wow, keyboarding is hard.
<nschoe> disasm, hum okay, I'm not sure what this means :/ "overlay".
johanot1 has quit [Ping timeout: 248 seconds]
<nschoe> infinisil, thanks I'll read that, looks promising
w17t has quit [Ping timeout: 240 seconds]
<betaboon> ehm. i think i did a switch. not sure now tho .... need coffee
<Taneb> aminechikhaoui: after all my messing with it it was "-rw-rw-rw- 1 root hydra 0 Jul 13 11:10 /nix/var/nix/db/big-lock" but initially the permissions were -rw------- and the group was root
<srhb> betaboon: nix show-config | grep cores
<betaboon> did another switch. it restarted nix-daemon. so i guess just just did a build ...
<srhb> :)
<goibhniu> Taneb: https://github.com/NixOS/nixpkgs/issues/40355 is probably related
<{^_^}> #40355 (by cillianderoiste, open): Imperative containers broken on 18.03/nixos-unstable
clacke has joined #nixos
NightTrain has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #43364 → fltk: get rid of composableDerivation → https://git.io/fNkjS
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNqTk
PLPD-Bot has quit [Remote host closed the connection]
<clacke> I'm messing with services in /etc/nixos/configuration.nix
<clacke> Actually using nix-darwin, but it uses the same framework.
<clacke> How do I add a module with options and config without having to patch the nixos tree
<betaboon> srhb: now it's building in parallel :D
<Taneb> goibhniu: certainly looks liek it
<infinisil> clacke: You can just set your configuration.nix to something like `{ pkgs, ... }: { options = { <option defs> }; config = { <your actual config> }; }`
PLPD-Bot has joined #nixos
<clacke> From what I understand, I can't.
<infinisil> clacke: Or alternatively, create a new file that looks like this and add `imports = [ ./path/to/file ]` from configuration.nix
<clacke> Ah yes, that imports attribute is what I was looking for, thanks!
<infinisil> :)
johanot has joined #nixos
lstanley has quit [Ping timeout: 276 seconds]
lstanley has joined #nixos
<Taneb> goibhniu: hmm, actually, I'm not sure
<Taneb> That's a writability issue, right?
<Taneb> I can write (as root), but as a different user (such as the hydra-queue-runner) I can't use the nix store at all
<srhb> Taneb: All these operations ought to go through the nix daemon, which should have root privileges.
w17t has joined #nixos
<Taneb> I got the same error trying to do "nix-env --version" as hydra-queue-runner
__monty__ has joined #nixos
humanoyd has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43474 → curlcpp: 1.0 -> 1.1 → https://git.io/fNqkN
iyzsong has joined #nixos
<srhb> Taneb: But your user can do it fine? Have you restricted the users who can use the nix daemon?
<Taneb> "root" can
<srhb> Taneb: Any other user?
<Taneb> This is a VM just for running hydra, I don't per se have a user
<Taneb> srhb: none that I've tried
<srhb> Taneb: Who owns /nix/var/nix/daemon-socket and what are its permissions?
<srhb> er, /nix/var/nix/daemon-socket/socket
<Taneb> srw-rw-rw- 1 root root 0 Jul 13 11:42 /nix/var/nix/daemon-socket/socket
phreedom has quit [Ping timeout: 250 seconds]
<srhb> That looks right..
<srhb> Probably not that issue then. Hum!
<srhb> Is this daemon running correctly? I suppose it shoudl if that socket exists.
phreedom has joined #nixos
<Taneb> systemctl status nix-daemon looks happy
<srhb> At this point I'd probably delete the lock and see if that fixes it (or breaks everything)
<srhb> I doubt it does though.. Hmmm
<Taneb> I've tried that before, it seems like the lock gets recreated pretty quickly and the same problem happens
<srhb> It gets recreated without you doing anything?
wpcarro has joined #nixos
<Taneb> No, it gets recreated after I restart the hydra-queue-runner service
<srhb> Ah.
<srhb> Nothing springs to mind. Weird issue.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43475 → couchdb2: 2.1.1 -> 2.1.2 → https://git.io/fNqLe
<srhb> Taneb: What rev is your VM on? I can try to recreate it on my Hydra
<Taneb> It's roughly on master with some small private changes that go nowhere near this
<srhb> OK :)
<Enzime> Mumble is currently broken w/ Qt 5.11
<Enzime> this patch should fix it
<{^_^}> #43146 (by Enzime, open): mumble_git: 2018-01-12 -> 2018-07-01
<Enzime> pull *
fendor has joined #nixos
<Enzime> can someone take a look at it
<{^_^}> [nixpkgs] @cillianderoiste merged pull request #43146 → mumble_git: 2018-01-12 -> 2018-07-01 → https://git.io/fNvB8
<{^_^}> [nixpkgs] @cillianderoiste pushed 2 commits to master: https://git.io/fNqLO
<goibhniu> Thanks Enzime!
<Enzime> goibhniu: thanks :)
wpcarro has quit [Ping timeout: 265 seconds]
nschoe has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43476 → eclib: 20171219 -> 20180710 → https://git.io/fNqLS
ericsagnes has joined #nixos
<LnL> clacke: yeah, you don't need to change nixpkgs to add new modules
knupfer has quit [Ping timeout: 276 seconds]
npmccallum has quit [Quit: npmccallum]
migy has quit [Quit: migy]
migy has joined #nixos
betaboon has quit [Quit: WeeChat 2.1]
ivanivan has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43477 → dnsdist: 1.3.0 -> 1.3.2 → https://git.io/fNqtw
Izorkin has joined #nixos
<srhb> Taneb: I can't seem to reproduce it.. But I feel it must be an issue with nix or nix config itself somewhere.
andymandias_ has quit [Ping timeout: 268 seconds]
johanot has quit [Quit: Leaving.]
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
ivanivan has quit [Quit: WeeChat 2.1]
wpcarro has joined #nixos
NightTrain has quit [Quit: Lost terminal]
<ghasshee> Are not nix users using OCaml as a development tool?
<ghasshee> I love OCaml since it is very simple. Then should I return to ArchLinux ?
<__monty__> Mentioning my issue again because I figure it's only gonna come up more often when packages start using `license-files:`: #41857
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43478 → elisa: 0.2.0 -> 0.2.1 → https://git.io/fNqqK
<{^_^}> https://github.com/NixOS/nixpkgs/issues/41857 (by toonn, open): haskell-modules/lib: doJailbreak mangles `license-files` field
<__monty__> ghasshee: What are you missing?
<goibhniu> ghasshee: are you trying to ask for help with doing ocaml development with nix?
<ghasshee> yes, I need help to build environment.
<ghasshee> what I did:
<ghasshee> opam init
<ghasshee> opam install utop : failed
<ghasshee> opam depext : failed
wpcarro has quit [Ping timeout: 264 seconds]
<ghasshee> then I install gnumake and makeWrapper .. and failed ..
<symphorien> ,library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<symphorien> For missing system deps use a nix-shell
<symphorien> Also, there are a few ocaml packages in nixpkgs
Copenhagen_Bram has quit [Read error: Connection reset by peer]
<symphorien> You must use findlib inside a nix-shell to use them, though
wpcarro has joined #nixos
<ghasshee> I do not understand well. What is library ?
<ghasshee> I thought I installed libraries via opam , is this wrong ?
<symphorien> Most build time things including makeWrapper
<symphorien> opam is fine
<symphorien> But installing makeWrapper won't help
<ghasshee> Thanks for that information.. I should learn more ...
<symphorien> If what you want to use is in nixpkgs I'd advise sticking to nixpkgs
<ghasshee> Do you have a good tutorial to build opam environment ?
<symphorien> No, sorry
<ghasshee> I did not know 'findlib'. I will try to google it.
<symphorien> There is also opam2nix but honnestly it is not easy yo use
<symphorien> findlib == ocamfind
<symphorien> *ocamlfind
wpcarro has quit [Ping timeout: 276 seconds]
iyzsong-x has joined #nixos
<symphorien> Inside a nix-shell with ocaml packages, the packages will only be found if you use ocamlfind
iyzsong has quit [Ping timeout: 264 seconds]
<Taneb> srhb: it's entirely possible my config's weird, I'm trying to update one we've had for a couple of years with a weirdly patched Hydra
Copenhagen_Bram has joined #nixos
<ghasshee> Ah, ok. That sounds the same with Arch Environment... I forget that I should try ocamlfind ...
simukis has quit [Read error: Connection reset by peer]
simukis has joined #nixos
<symphorien> The only difference with arch is that it is nix-shell which will populate the OCAMLPATH with what you asked in the shell.nix
<ghasshee> @symphorien Thanks!
<dmj`> does hydra no longer have links to the dependency graph?
<symphorien> With opam you will have problems with things depending on a C lib
<dmj`> Where can I see all deps. a package uses in hydra?
<symphorien> Again, add the lib to the shell.nix with pkgconfig and cmzkake and hope
<manveru> dmj`: i saw it yesterday, should still be there
<symphorien> *cmake
<dmj`> manveru: do you still have the link?
coot_ has quit [Quit: coot_]
init_6 has joined #nixos
<dmj`> manveru: I just see “inputs"
<manveru> yeah... strange
<manveru> but the tab seems to be gone from some builds
eddyb has quit [Changing host]
eddyb has joined #nixos
eddyb has joined #nixos
__Sander__ has joined #nixos
<manveru> sorry, no idea what's going on there
<dmj`> manveru: thank you! ncdu looks cool too
<manveru> ncdu++
<{^_^}> ncdu's karma got increased to 1
<{^_^}> [nixpkgs] @Profpatsch pushed to revert-42832-bazel-hydra-darwin « Revert "bazel: fix darwin build on hydra" »: https://git.io/fNqYo
<{^_^}> [nixpkgs] @Profpatsch opened pull request #43479 → Revert "bazel: fix darwin build on hydra" → https://git.io/fNqY6
<{^_^}> [nixpkgs] @Profpatsch merged pull request #43479 → Revert "bazel: fix darwin build on hydra" → https://git.io/fNqY6
<{^_^}> [nixpkgs] @Profpatsch pushed to master « Revert "bazel: fix darwin build on hydra" »: https://git.io/fNqYM
worldofpeace has quit [Quit: worldofpeace]
worldofpeace has joined #nixos
cryp7nix has joined #nixos
<dmj`> lol
fendor has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @grahamc pushed 0 commits to revert-42832-bazel-hydra-darwin: https://git.io/fNqY5
thevoidthevoidth has left #nixos ["sext: the end the end the end the end the end the end the end the end the end the end the end the end the end the end the end"]
blu3r4d0n has quit [Quit: ZNC 1.6.6+deb1 - http://znc.in]
<cryp7nix> can somebody maybe help me with nixpkgs-overylays? I find the documentation about installing them confusing.
<cryp7nix> re overlays: what I want is something like this: https://github.com/kreisys/nixpkgs-kreisys/tree/master/pkgs but I don't now where to put/link the default.nix in the root of that repo
<cryp7nix> and I'm unsure how to debug it properly... I read the manuals of nixpkgs about overlays and some page on the wiki and an issue from 2017 and now my head is spinning with too many options...
<radisson> I'm on NixOS 18.03 and I'm pretty new to it and I guess my question is half-haskell-half-nix: how can I update all-cabal-hashes to its latest revision (from https://github.com/commercialhaskell/all-cabal-hashes/) on my system?
mariatsji has joined #nixos
Neo-- has joined #nixos
<{^_^}> [nixos-org-configurations] @grahamc opened pull request #50 → add packet-epyc-1 → https://git.io/fNqOq
nschoe has joined #nixos
alex``` has quit [Quit: WeeChat 2.1]
<infinisil> cryp7nix: clone the repo, then symlink ~/.config/nixpkgs/overlays/kreisys -> /path/to/clone/pkgs/default.nix
pie_ has joined #nixos
<infinisil> Oh wait, kreisys -> /path/to/clone/pkgs
<dmj`> I have a haskell package locally, how do I nix-env -iA it into my profile
hxrts_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43480 → bubblewrap: 0.2.1 -> 0.3.0 → https://git.io/fNqOi
<gchristensen> if you did a nix-build and have a ./result, you can do nix-env -i ./result
<{^_^}> [nixpkgs] @dotlambda pushed commit from @marsam to master « pythonPackages.pdfx: init at 1.3.1 (#42815) »: https://git.io/fNqO5
<{^_^}> [nixpkgs] @dotlambda merged pull request #42815 → pythonPackages.pdfx: init at 1.3.1 → https://git.io/fETvE
<dmj`> gchristensen: thanks :)
reinzelmann has quit [Quit: Leaving]
hxrts_ has quit [Remote host closed the connection]
<dmj`> gchristensen: where is that bash script that all derivations get evaluated through
<gchristensen> huh?
<dmj`> gchristensen: its the most important file that is used when building a derivation
<dmj`> gchristensen: has all the hooks definitions
<dmj`> yadda yadda
<gchristensen> oh
migy has quit [Quit: migy]
migy has joined #nixos
<gchristensen> nobody wants 1200 lines of bash but here it is :P
<dmj`> this is it!
<dmj`> this is how that nix sausage gets made
<dmj`> gchristensen: ty
<{^_^}> [nixos-org-configurations] @edolstra pushed 2 commits to master: https://git.io/fNq3P
<{^_^}> [nixos-org-configurations] @edolstra merged pull request #50 → add packet-epyc-1 → https://git.io/fNqOq
halfbit has quit [Ping timeout: 265 seconds]
d1rewolf has joined #nixos
Xiro` has joined #nixos
Lisanna has quit [Remote host closed the connection]
hxrts_ has joined #nixos
knupfer has joined #nixos
<LnL> we even use eval :p
<dmj`> gchristensen: knowing this file is basically knowing nix well
hxrts_ has quit [Remote host closed the connection]
graphene has quit [Read error: Connection reset by peer]
graphene has joined #nixos
graphene has quit [Read error: Connection reset by peer]
graphene has joined #nixos
orivej has joined #nixos
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
ixxie has joined #nixos
alexteves has joined #nixos
w17t has quit [Quit: Leaving]
aarvar has quit [Ping timeout: 264 seconds]
alex``` has joined #nixos
<oharvey> I'm trying to update xfce4-pulseaudio-plugin from 2.3 to 4.1 since it is 3 years behind and doesn't work . I've tried messing around with the configure and install flags, but I keep running into wrapper spawning errors. https://gist.github.com/lepsa/f1af944637a68eb3198aba5206973f2f
mariatsji has quit [Ping timeout: 276 seconds]
<oharvey> From looking at other plugins, I don't think that the build script shouldn't require much editing from the current version in nixpkgs.
<Psi-Jack> hmmmmmm....
<Psi-Jack> No pacemaker package in nix.
<etu> Psi-Jack: PR's are welcome ;)
pie_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #43483 → pythonPackages.scikitlearn: skip `test_max_iter` test → https://git.io/fNqZ2
fendor has joined #nixos
graphene has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @markuskowa opened pull request #43484 → octopus: 7.2 -> 8.1 (lixc 3.0.1 -> 4.2.3) → https://git.io/fNqZA
graphene has joined #nixos
pie_ has joined #nixos
aarvar has joined #nixos
d1rewolf has quit [Remote host closed the connection]
fendor_ has joined #nixos
<dmj`> gchristensen: hey
<dmj`> how do I build a docker image for linux on osx
<dmj`> pkgs.vmTools.runInLinuxImage (pkgs.dockerTools.buildImage {
<dmj`> error: Unknown QEMU binary for 'x86_64-darwin'
<dmj`> :(
patrl has quit [Quit: WeeChat 2.0]
fendor has quit [Quit: Leaving]
fendor_ is now known as fendor
<gchristensen> so delete the runInLinuxImage part, you get an error about being darwin but needing linux, right?
<Psi-Jack> etu: Heh. Oh, I'm sure. Pacemaker would be a complicated one, especially with declarative configurations to go along with it.
<etu> Psi-Jack: I'm not familiar with it so I wouldn't know:)
<gchristensen> indeed, it'd be two parts: 1) the package, which wouldn't be so hard, 2) the module -- which I'm certain would be quite tricky
<Psi-Jack> Yep.
<Psi-Jack> I use pacemaker for things like automated failover PostgreSQL, to promote/demote a master within them.
<etu> Cool :)
<etu> And yeah, that sounds complicated to write a module for
<gchristensen> etu: pacemaker is neat stuff, you should check it out!
<gchristensen> Psi-Jack: may I suggest setting your sights slightly lower to start? :P
<Psi-Jack> hehe
<Psi-Jack> I was just rebuilding my own existing cluster setup in NixOS. But this prevents me from going on with that. :)
periklis has quit [Ping timeout: 268 seconds]
<Psi-Jack> I can see about doing my smaller non-clustered instance though, which is more just ZNC, OpenVPN, and Zabbix. heh
dbmikus has joined #nixos
<Psi-Jack> In my desktop VM of nixos, I'd gotten a PostgreSQL 10 server setup and provisioned with a few users, a few databases, schemas for them, etc. Was actually pretty cool.
<gchristensen> nice! yeah, the double-edged sword of being actually declarative is it makes it much harder to do things like failover which require changing the system
<gchristensen> it is doable, but nixos' modules aren't built with exactly that in mind
hsribei has joined #nixos
<clacke> infinisil: just to confirm I got everything working in the end, and now our macOS build slave and our main hydra are talking OpenVPN to each other -- sweet!
<clacke> thanks for your help, now it's time for dinner and movie night over here
<{^_^}> [nixpkgs] @dtzWill merged pull request #43457 → abc-verifier: 20160818 -> 2018-07-08 → https://git.io/fNtXV
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fNqcc
<Psi-Jack> gchristensen: Yeah. I always have options. Some more difficult than others to accomplish, even normally, but that's what gives me thorough investigative ideas, too. :)
<Psi-Jack> hehe, another one I /could/ do, which would be a simpler approach to figure out how to build nix packages, would be to rebuild my whole BBS system. Synchronet, BinkD, Husky-Tools, and apparently dosemu since nixos doesn't have dosemu either. hehe
<Psi-Jack> But, all of those mentioned, I'd already made CentOS 7 and Debian 9 packages for already. :)
justbeingglad has joined #nixos
<dmj`> gchristensen: ok I deleted it
<dmj`> gchristensen: and yes, there was an error
<gchristensen> good, you have to run a linux VM (or have access to a linux server you can build on) to build docker containers on your mac (this is also true for docker, where docker4mac brings a linux vm)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #43485 → arangodb: 3.3.11 -> 3.3.12 → https://git.io/fNqCJ
<gchristensen> (pleasehold)
* dmj` holds
<gchristensen> you can follow these directions: https://github.com/LnL7/nix-docker#running-as-a-remote-builder or these directions: https://github.com/nix-community/linuxkit-builder/blob/master/README.md#installation -- both should end you up with a working Linux VM which can build docker images
jperras has joined #nixos
<dmj`> gchristensen: oh shoot, so if I have a linuxkit builder running I can just change my system to "x86_64-linux” ?
<dmj`> and it should all just work (tm) ?
<gchristensen> no need to change your system iirc, I tihnk buildImage is marked as needing to be run in x86_64-linux and will automatically do it
graphene has quit [Remote host closed the connection]
<dmj`> gchristensen: so I used those instructions, but got an error here
<dmj`> error: a 'x86_64-linux' is required to build '/nix/store/h381xgbnjva8lblsnw28s5j5ww57ljsy-hello-1531489534.drv', but I am a 'x86_64-darwin'
graphene has joined #nixos
<gchristensen> hmm can you paste the output of from when you ran `nix-linuxkit-configure`?
<dmj`> gchristensen: refresh the gist
<gchristensen> oh actually, try running your build again -- it may have still been booting up
<dmj`> hmmm
<dmj`> gchristensen: unable to open SSH connection to 'ssh://nix-linuxkit': cannot connect to 'nix-linuxkit'; trying other available machines...
<gchristensen> hmmm indeed, what do you see when you run `pgrep hyperkit vpnkit linuxkit`
<dmj`> nothing
<gchristensen> huh! try `launchctl start org.nix-community.linuxkit-builder` and then the pgrep command again
<dmj`> same
alex``` has quit [Ping timeout: 240 seconds]
Neo-- has quit [Remote host closed the connection]
Neo-- has joined #nixos
clacke has quit []
<gchristensen> paste the output from `tree ~/.cache/nix-linuxkit-builder/`
<dmj`> I installed docker for mac
<dmj`> beforehand
<gchristensen> that shouldn't be a problem
<dmj`> gchristensen: refresh the gist
alex``` has joined #nixos
<gchristensen> interesting
Lisanna has joined #nixos
graphene has quit [Remote host closed the connection]
<LnL> what about nix-build -vvv
graphene has joined #nixos
dbmikus_ has joined #nixos
cherrybl0ss0m_ has joined #nixos
dbmikus has quit [Ping timeout: 240 seconds]
<gchristensen> dmj`: try adding the contents of http://ix.io/1h32 to ~/Library/LaunchAgents/org.nix-community.linuxkit-builder.plist after the <true/> line and before </dict>, and then `launchctl unload ~/Library/LaunchAgents/org.nix-community.linuxkit-builder.plist; launchctl load ~/Library/LaunchAgents/org.nix-community.linuxkit-builder.plist`
halfbit has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.beta: 3.2.0.19 -> 3.2.0.20 »: https://git.io/fNqlr
coot_ has joined #nixos
<LnL> ^ infinisil
aarvar has quit [Ping timeout: 256 seconds]
justbeingglad has left #nixos [#nixos]
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.{dev,canary}: 3.3.0.1 -> 3.3.0.2 »: https://git.io/fNq4W
<infinisil> LnL: hmm..
__monty__ has quit [Quit: leaving]
<nschoe> Can anyone confirm that in order to include my own copy of the nixpkgs with nix-shell, it's the -I option, like `nix-shell -I /home/nschoe/nixpkgs my-custom.nix`?
<{^_^}> [nixpkgs] @copumpkin pushed to master « botocore, boto3, awscli: 1.10.48->1.10.57, 1.7.48->1.10.57, 1.15.49->1.15.48 »: https://git.io/fNq4w
halfbit has quit [Ping timeout: 240 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
halfbit has joined #nixos
<infinisil> nschoe: -I nixpkgs=/the/path
<nschoe> oh!
<nschoe> infinisil, thanks.
<nschoe> Well it doesn't solve my problem for some reason.
<gchristensen> lewo``: how do you like to install the glance cli?
pluplog has quit [Ping timeout: 260 seconds]
<nschoe> It says "anonymous function ... called without required argument 'sdformat'". Yet when I check the git branch for nixpkgs, there is `sdformat`.
wpcarro has joined #nixos
mariatsji has joined #nixos
trcc has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.13.0 -> 1.14.0 »: https://git.io/fNqBZ
<gchristensen> primeos[m] / primeos_ those updates should probably be backported too, I think signal breaks the older clients regularly
freeman42x]NixOS has joined #nixos
wpcarro has quit [Remote host closed the connection]
<dhess> gchristensen: oh is that linuxkit stuff working reliably now?
<dhess> more or less?
wpcarro has joined #nixos
<gchristensen> dhess: reliably? more or less. my team uses it with periodic issues, and dmj`'s install seems to have not gone properly
<dhess> huh cool. I thought that was still squarely in the experimental or "works for the maintainer" mode
<gchristensen> I've not talked about it much b/c the name is really bad
<dhess> I'll check it out. Normally all of my Macs have access to my remote builders, but I need something that works on a plane or e.g., with poor Internet connectivity
<gchristensen> cool
wpcarro has quit [Ping timeout: 248 seconds]
wpcarro has joined #nixos
wpcarro has quit [Remote host closed the connection]
wpcarro has joined #nixos
trcc has quit [Read error: Connection reset by peer]
mariatsji has quit [Remote host closed the connection]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
ixxie has quit [Ping timeout: 268 seconds]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @primeos pushed to master « fuse3: 3.2.3 -> 3.2.4 »: https://git.io/fNq02
tzemanovic has joined #nixos
endformationage has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
Sonarpulse has joined #nixos
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<primeos[m]> gchristensen: ok, thanks for the information, I wasn't aware of this
<gchristensen> no worries :)
tzemanovic has quit [Remote host closed the connection]
<dhess> gchristensen: looks like you fixed that NixOS issue that was causing lo interfaces to time out when trying to assign IPs to them?
tzemanovic has joined #nixos
<gchristensen> dhess: yep
tzemanovic has quit [Remote host closed the connection]
<dmj`> gchristensen: so it works on my newer mac
tzemanovic has joined #nixos
<dhess> gchristensen: cool. I've been using dummy interfaces as a workaround; do you know of any reasons to prefer one to the other?
<Taneb> What are the .drv files in the nix store for?
tzemanovic has quit [Remote host closed the connection]
<dmj`> gchristensen: maybe my old 2012 mac didn’t have the kernel extensions necessary for linuxkit
<dmj`> gchristensen: nvm dude I totally spoke prematurely error: a 'x86_64-linux' is required to build '/nix/store/86bsmdsgx58b0cbyg2xh7dwq77kgxkz2-hello-1531493408.drv', but I am a 'x86_64-darwin'
tzemanovic has joined #nixos
<gchristensen> dhess: I dunno, I just really really wanted to experiment with Packet's BGP support as a method of load balancing and HA, and they recommended using lo
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<dhess> gchristensen: I use lo (or dummy) devices to run "anycast"-style services.
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/9bbb84f622e (from 13 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<lewo``> gchristensen: openstackclient are packaged in nixpkgs-python
doyougnu has joined #nixos
<gchristensen> oh cool
sir_guy_carleton has joined #nixos
<gchristensen> lewo``: can I use it without adding it as an overlay?
<lewo``> yes by manually checking out the nixpkgs-python repo
<lewo``> (note sure to understand your question)
<gchristensen> when I do nix-build . -A openstackclient it says it is missing the file ./openstackclient/requirements_override.nix -- I'll dig in
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/adbd3ead271 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.credstash: 1.14.0 -> 1.15.0 »: https://git.io/fNqzW
<lewo``> gchristensen: hmm, maybe it is not working anymore
<cocreature> I’m confused, it looks like nixos-unstable went back to a 3 weeks old commit. why did it do that? I’m pretty sure it was at a newer commit before
<gchristensen> cocreature: I don't see it jumping back in time? https://channels.nix.gsc.io/nixos-unstable/history-v2
<dhess> cocreature: it's just a merge from an older commit
<cocreature> ah so I was just misinterpreting the commit that howoldis links to
<cocreature> thanks!
<dhess> np
Neo-- has quit [Ping timeout: 244 seconds]
<sphalerite> Taneb: .drv files are the result of instantiating nix derivation expressions
<gchristensen> lewo``: did you create your own requirements_override.nix file?
<sphalerite> Taneb: they contain the complete information necessary for building a particular derivation
<Taneb> With "nix-store -r", which was the answer to the quetion I didn't ask
<Taneb> Thanks, though!
<sphalerite> :)
<sphalerite> nix 2.0's `nix build` command can also be used to realise a derivation
<{^_^}> [nixpkgs] @dtzWill merged pull request #43445 → yices: fix symlink created to match version → https://git.io/fNtrB
<{^_^}> [nixpkgs] @dtzWill pushed 4 commits to master: https://git.io/fNqzp
<Taneb> We're tied to nix 1 at work :(
<lewo``> gchristensen: maybe I've forgotten to commit it or maybe it was not required some times ago
<gchristensen> yeah, seems the repo's structure changed and openstack hasn't been updated yet
<gchristensen> taknig a look
knupfer has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #43486 → e2fsprogs: 1.44.2 -> 1.44.3 → https://git.io/fNqgU
<lewo``> gchristensen: yes, i think we should regenerate all of these files
tzemanovic has joined #nixos
<lewo``> gchristensen: moreover with the override file, the build fails due to missing remote python module: Download error on https://pypi.python.org/simple/vcversioner/: [Errno -2] Name or service not known -- Some packages may not be found!
drewr has quit [Ping timeout: 276 seconds]
wpcarro has quit [Remote host closed the connection]
<gchristensen> OK I'll try sending a PR updating it :D
<gchristensen> thank you for your help!
wpcarro has joined #nixos
<nschoe> Is github user akru here by chance?
Tucky has quit [Quit: WeeChat 2.1]
<nschoe> I have some questions regarding his ros packaging :)
<Taneb> Ugh, I've removed everything from my nixops config thing that could be causing my hydra weirdness that I was talking to srhb about earlier and it's still happening...
Ariakenom has quit [Ping timeout: 264 seconds]
tzemanovic has quit [Ping timeout: 256 seconds]
<lewo``> gchristensen: ok thanks!
wpcarro has quit [Ping timeout: 264 seconds]
<infinisil> Taneb: What weirdness?
orivej has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #42994 → meson: 0.46.1 -> 0.47.0 → https://git.io/fbxBj
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to staging: https://git.io/fNq2m
init_6 has quit [Ping timeout: 244 seconds]
<Taneb> infinisil: the hydra-queue-runner fails because its user (and any user other than root) don't have permissions to read or write /nix/var/nix/db/big-lock
<infinisil> I'd go dig in the nix source
wpcarro has joined #nixos
<gchristensen> are you running agarbage collection?
<Taneb> gchristensen: not intentionally
<Taneb> I auto-optimize the store but I don't auto-gc
drewr has joined #nixos
jensens has quit [Ping timeout: 240 seconds]
sigmundv has quit [Ping timeout: 260 seconds]
grp has joined #nixos
<dhess> Taneb: could this have something to do with Hydra using Nix 1.x and your system using Nix 2?
<Taneb> dhess: Hydra's running on a VM with Nix 2
__Sander__ has quit [Quit: Konversation terminated!]
<dhess> Taneb: is this Hydra from GitHub master or similar? Because I believe that the Hydra that's in nixpkgs will always use Nix 1
<dhess> It doesn't matter which version of Nix your system config is using
<Taneb> I've been switching between them and rebuilding the VM trying to get something working, it was happening with both
cryp7nix has quit [Ping timeout: 264 seconds]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
graphene has quit [Remote host closed the connection]
<srhb> Taneb: What dhess is saying is that the hydra derivation hardcodes nix 1, or at least used to
<srhb> (I think)
graphene has joined #nixos
<Taneb> So I'll have to specify in my config that I should have nix 1?
<lewo``> dhess: i don't think hydra from nipkgs is using nix1
stepcut has quit [Ping timeout: 260 seconds]
<dhess> lewo``: I believe it was until recently, anyway.
<nschoe> Is that a bad sign if I have to run `sudo <my-command>` in my builder.sh?
<nschoe> Does it mean I'm doing smth wrong?
<Taneb> So, any idea what I should do?
<dhess> lewo``: for example, I recently had to configure my Hydra (running a recent nixos-unstable-small channel rev) to use a different machines file, rather than /etc/nix/machines, because Nix 2 requires the "ssh://" prefix for remote builders, but that broke Hydra, because it still uses Nix 1 syntax
graphene has quit [Remote host closed the connection]
hxrts_ has joined #nixos
<dhess> and sometimes I like to nix-build interactively from my Hydra machine, and I wanted to be able to use the same remote builders that Hydra uses
graphene has joined #nixos
<dhess> so now I have a Nix 2-compatible /etc/nix/machines file, and a separate machines file for Hydra, because of that syntax change.
hxrts_ has quit [Client Quit]
hxrts_ has joined #nixos
<nschoe> My command needs to setup some things in /etc/, so it tells me it has permission denied :/
rsa has quit [Ping timeout: 240 seconds]
<dhess> Taneb: well I'm not sure this is your problem, but I do remember having very strange permissions issues on the store when I switched from Nix 1 to Nix 2. I believe there was a workaround posted in a GitHub issue, but unfortunately I don't recall exactly what it was.
<dhess> so you could poke around in issues for something like "nix 2 permissions" and see if that uncovers anything.
<dhess> Taneb: however this might just be a red herring and nothing to do with the actual problem you're having. Sorry I can't be more specific or helpful.
<{^_^}> [nixpkgs] @7c6f434c merged pull request #43472 → golly: 3.1 -> 3.2 → https://git.io/fNqvs
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fNqV9
tzemanovic has joined #nixos
telent has quit [Ping timeout: 244 seconds]
ixxie has joined #nixos
<{^_^}> [nixpkgs] @FRidh closed pull request #43486 → e2fsprogs: 1.44.2 -> 1.44.3 → https://git.io/fNqgU
FRidh has joined #nixos
tzemanovic has quit [Ping timeout: 268 seconds]
knupfer has joined #nixos
onon is now known as onon--
<dhess> so as of this commit, Hydra master uses Nix 2: https://github.com/NixOS/hydra/commit/cb43da06f39c71c7e4a33604a0a5072ab392ec4b
<rotaerk> Finally finished bisecting the commit that caused my program to have RPATH set instead of RUNPATH
<dhess> but I don't think that version of Hydra is in nixpkgs yet
<{^_^}> [nixpkgs] @fpletz merged pull request #43446 → xmrig: 2.6.3 -> 2.6.4 → https://git.io/fNtKw
<{^_^}> [nixpkgs] @fpletz pushed commit from R. RyanTM to master « xmrig: 2.6.3 -> 2.6.4 »: https://git.io/fNqr4
<rotaerk> It looks like it's due to the upgrade to binutils 1.30
<dhess> yes, this is the version of Hydra in nixpkgs: https://github.com/NixOS/hydra/commit/b7bc4384b7b471d1ddf892cb03f16189a66d5a0d
<dhess> from Nov 21 2017
cherrybl0ss0m_ has quit [Remote host closed the connection]
<Taneb> Ugh, I've made a new error happen
<Taneb> Now the hydra evaluator can't see the github token. This is a new one.
<hxrts_> hii, sorry to interrupt, but I'd be incredibly appreciative if someone could point me to a config with a solid trackpad calibration for Gen 5 Thinkpad X1 Carbon. ty!
<Taneb> Ah, that was because I turned sandboxed builds back on
telent has joined #nixos
remmster has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
vmandela has quit [Quit: Leaving]
<remmster> Hey I have a question. If I want to do a substituteInPlace, with the same substitutions, on multiple files, what's the best way to do that?
cryp7nix has joined #nixos
<Taneb> remmster: I'd use a bash for-loop
<Taneb> for $FILE in file1 file2 file3; do substituteInPlace whatever $FILE; done
<remmster> Ah ok
<remmster> Thanks
<Taneb> There may be a better way, don't take what I say as gospel
<remmster> Aha ok - I think it's good enough for now, just to get it to build
<remmster> Then I'll refactor if I need to
knupfer has quit [Remote host closed the connection]
doyougnu1 has joined #nixos
wpcarro has quit [Remote host closed the connection]
wpcarro has joined #nixos
sbdchd has joined #nixos
winem_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #43128 → ocamlPackages.ezjsonm: 0.4.3 -> 0.6.0 → https://git.io/fNeNa
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.ezjsonm: 0.4.3 -> 0.6.0 »: https://git.io/fNq6v
srl295 has joined #nixos
doyougnu has quit [Ping timeout: 264 seconds]
hxrts_ has quit [Remote host closed the connection]
wpcarro has quit [Ping timeout: 260 seconds]
sbdchd has quit [Ping timeout: 240 seconds]
hxrts_ has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
jperras has joined #nixos
hxrts_ has quit [Client Quit]
hxrts_ has joined #nixos
hxrts__ has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #43418 → dar: 2.5.14 -> 2.5.15 → https://git.io/fNLXM
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fNq6F
cryp7nix has quit [Ping timeout: 256 seconds]
<jbetz> after wiping out `~/.cabal` I started getting compiler errors about not having the `dyn` libraries installed for a package in a nix-haskell project. does nix use `~/.cabal` for anything? and if not, what else might have caused this?
hxrts__ has quit [Client Quit]
hxrts__ has joined #nixos
<johnw> it shouldn't
<johnw> did you also wipe ~/.ghc?
<johnw> I've regularly wiped both without trouble
<jbetz> nope, just `~/.cabal`
hxrts__ has quit [Client Quit]
<gchristensen> lewo``: novaimage + glance works a charm! thank you!
fendor has quit [Ping timeout: 244 seconds]
<jbetz> johnw: could installing a package directly with cabal interfere with nix at all?
<jbetz> e.g., `cabal install hoogle`
<{^_^}> [nixpkgs] @FRidh merged pull request #43469 → imagemagick7: 7.0.8-2 -> 7.0.8-6 → https://git.io/fNtjq
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNqiN
<{^_^}> [nixpkgs] @FRidh merged pull request #43452 → tdb: 1.3.15 -> 1.3.16 → https://git.io/fNtig
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNqiA
<jbetz> ha, wiping `/.ghc` fixed it :|
<{^_^}> [nixpkgs] @FRidh merged pull request #43451 → tevent: 0.9.36 -> 0.9.37 → https://git.io/fNtic
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNqix
<{^_^}> [nixpkgs] @FRidh merged pull request #43449 → wxSVG: 1.5.13 -> 1.5.14 → https://git.io/fNt68
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNqPe
<johnw> jbetz: I'm not sure, actually
<{^_^}> [nixpkgs] @FRidh merged pull request #43454 → usbguard: 0.7.2 -> 0.7.4 → https://git.io/fNtiS
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNqPT
<johnw> jbetz: I've done that before too and haven't had the dyn problem
<{^_^}> #8888 (by bjornfor, closed): Document the fact that ~/.ghc contents may interfere with GHC as installled by Nix
<johnw> jbetz: though usually I restrict such actions to a cabal sandbox
<johnw> ah
<johnw> yeah, so, I never wipe .cabal without also wiping .ghc
<johnw> maybe that has helped me
<jbetz> heh
<{^_^}> [nixpkgs] @FRidh merged pull request #43448 → xmrig-proxy: 2.6.3 -> 2.6.4 → https://git.io/fNt6v
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNqPL
<{^_^}> [nixpkgs] @FRidh merged pull request #43464 → musescore: 2.3 -> 2.3.1 → https://git.io/fNtdl
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNqPm
<{^_^}> [nixpkgs] @FRidh merged pull request #43343 → folly: 2018.06.25.00 -> 2018.07.09.00 → https://git.io/fNkzN
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNqP4
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNqPR
<{^_^}> [nixpkgs] @FRidh merged pull request #43347 → flow: 0.75.0 -> 0.76.0 → https://git.io/fNkVu
<Enzime> hadn't seen the "with stdenv.lib;" used before
<Enzime> is this a good/bad idea?
orivej has quit [Ping timeout: 244 seconds]
<gchristensen> I don't recommend it, it makes it hard to see where things come from
<{^_^}> [nixpkgs] @FRidh merged pull request #43456 → riot-web: 0.15.6 -> 0.15.7 → https://git.io/fNtPi
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNqPi
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNqPD
<{^_^}> [nixpkgs] @FRidh merged pull request #43460 → altcoins.parity-ui: 0.2.5 -> 0.2.8 → https://git.io/fNt9a
<{^_^}> [nixpkgs] @FRidh merged pull request #43462 → mytetra: 1.42.2 -> 1.43.27 → https://git.io/fNtQO
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNqP7
Ariakenom_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #43471 → igv: 2.4.11 -> 2.4.13 → https://git.io/fNqeO
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNqPA
telent has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #43475 → couchdb2: 2.1.1 -> 2.1.2 → https://git.io/fNqLe
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNqPh
<{^_^}> [nixpkgs] @FRidh merged pull request #43477 → dnsdist: 1.3.0 -> 1.3.2 → https://git.io/fNqtw
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNqXe
<{^_^}> [nixpkgs] @FRidh merged pull request #43478 → elisa: 0.2.0 -> 0.2.1 → https://git.io/fNqqK
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNqXf
mariatsji has joined #nixos
ntqz has quit []
<{^_^}> [nixpkgs] @FRidh merged pull request #43371 → aws-sdk-cpp: 1.4.78 -> 1.4.82 → https://git.io/fNImU
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNqXn
<{^_^}> [nixpkgs] @FRidh merged pull request #43436 → sage: replace flask-babel version pin by patch → https://git.io/fNtlT
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNqX4
<remmster> Is there any way to reload the nix file in a nix-shell after I've made changes?
<{^_^}> [nixpkgs] @FRidh merged pull request #43474 → curlcpp: 1.0 -> 1.1 → https://git.io/fNqkN
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNqXE
erickomoto has joined #nixos
<cocreature> remmster: afaik you have to exist and reenter the shell
hxrts_ has quit [Quit: Leaving]
hxrts_ has joined #nixos
d1rewolf has joined #nixos
mariatsji has quit [Remote host closed the connection]
<teozkr> is import-from-derivation broken on Travis? o.O
mariatsji has joined #nixos
<d1rewolf> hi guys. I'm just getting started with nixos and have done my first install. however, I notice that useradd is pointing to /etc/skel as the default skeleton dir, but this doesn't exist. is this expected?
armin has left #nixos ["WeeChat 2.1"]
mariatsji has quit [Ping timeout: 240 seconds]
xy2_ has joined #nixos
graphene has quit [Remote host closed the connection]
<d1rewolf> anyone? ;)
graphene has joined #nixos
<teozkr> d1rewolf: generally you don't want to use useradd with NixOS
<d1rewolf> teozkr, hmm....this is straight from the manual's installation instructions
<d1rewolf> Quoting: " You’ll probably want to create some user accounts as well, which can be done with useradd: "
<teozkr> but yeah, weird that it the install guide mentions the imperative tools :/
<d1rewolf> teozkr, does using the declarative style handle skeletons properly
<d1rewolf> ?
<teozkr> I don't belive I've had any skeleton errors with that
nschoe has quit [Ping timeout: 276 seconds]
<teozkr> but it's not exactly a feature I use constantly
halfbit has quit [Ping timeout: 265 seconds]
<d1rewolf> teozkr, also, I note that the default configuration generated uses the syntax "users.extraUsers" instead of users.users (as in the user mgmt guide). what's the difference? Which should I use?
<teozkr> it used to be called `extraUsers` back when it could only add new users, and not remove old ones
<teozkr> these days they're synonyms, so it doesn't matter which you use
<d1rewolf> teozkr, well, in my case, switching from ubuntu, I'm used to /etc/skel providing the default .bashrc, .bash_logout, and .profile files. For some reason I'm not seeing this on nixos, but I'd expect it to be there
halfbit has joined #nixos
pie_ has quit [Ping timeout: 256 seconds]
ydlr has joined #nixos
<teozkr> d1rewolf: the default bashrc is in `/etc/bashrc`, it doesn't seem to add any per-user settings by default
humanoyd has quit [Quit: WeeChat 2.1]
<d1rewolf> once becoming familiar with nixos concepts, how does one put together the packages necessary, say, for a X window manager? for example, I personally use i3 and would like to install it, but aside from installing that deriviation, I know there has to be other packages to install, right?
graphene has quit [Remote host closed the connection]
Copenhagen_Bram has quit [Ping timeout: 260 seconds]
<gchristensen> for nixos you'd enable the i3 module
graphene has joined #nixos
<d1rewolf> gchristensen, so how would one know the various options typically needed for an xserver? for example, I wouldn't have know by default that I'd need to setup libinput
Copenhagen_Bram has joined #nixos
igo95862 has joined #nixos
<gchristensen> you don't need it, anyway
<d1rewolf> is it just finding a config file from someone else which works and then keeping it giong?
<gchristensen> you can run `man configuration.nix` to explore, or read the configuration.nix generated when you install nixos, or explore here: https://nixos.org/nixos/options.html#
* goibhniu just ran `nix-collect-garbage -d` inside a container, and it seems to have garbage collected the host :/
graphene has quit [Read error: Connection reset by peer]
<d1rewolf> gchristensen, ok, thanks. I've got some reading, learning and exploring to do
humanoyd has joined #nixos
<gchristensen> goibhniu: oh my
graphene has joined #nixos
xy2_ has quit [Ping timeout: 276 seconds]
<remmster> is there any way I can pass substituteInPlace to xargs?
Judson has joined #nixos
<remmster> In the nix-shell, `which substituteInPlace` gives me "which: no substituteInPlace in ..."
<gchristensen> no
Judson is now known as Guest21266
<iqubic> What happens if I try to use "npm" in a nix-shell and tell it to install a thing globally? Will that work in the way I want it too?
<gchristensen> you have to use it in a for loop, it is a bash function not a program in the PATH, and xargs can only call programs
gtklocker has quit [Ping timeout: 256 seconds]
<iqubic> As in, let me use that executable outside of a nix-shell.
<remmster> ah I gotcha
<remmster> Ok, I'll use a for loop
leo60228 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 311 commits to staging: https://git.io/fNqDd
gtklocker has joined #nixos
gtklocker is now known as Guest19917
<d1rewolf> is there a defacto way to install an oracle jdk on nix, or would I have to create my own package for this?
<goibhniu> I installed nix-env in the host, but when I try to use `nix-channel --update` I get "error: unable to download 'https://nixos.org/channels/nixos-unstable': Problem with the SSL CA cert (path? access rights?) (77)", any idea how to make that happy?
pie_ has joined #nixos
<tilpner> > oraclejdk # d1rewolf
<{^_^}> "<derivation /nix/store/03wvxqhwzipha571dbkgq23fcxxljy53-oraclejdk-8u171>"
<Enzime> > :b oraclejdk
<{^_^}> Unknown command: b
<tilpner> (But it can't build automatically due to licensing foo)
<d1rewolf> tilpner, when I do nix-env -qa | grep jdk, all I see is openjdk. Is there another channel I'd get that from? sorry if that's the wrong terminology....still coming up to speed
<tilpner> ,unfree d1rewolf
<{^_^}> d1rewolf: You cannot install your unfree software? See https://nixos.wiki/wiki/FAQ/unfree
<tilpner> Not another channel, just an option to allow oraclejdks license
* d1rewolf nods.
<d1rewolf> thanks very much
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<iqubic> Is it possible to install npm executables globally on NixOS?
nh2 has joined #nixos
halfbit has quit [Ping timeout: 240 seconds]
<d1rewolf> is environment.systemPackages where you'd put all the various programs you wish installed by default?
<tilpner> d1rewolf - What do you mean by that? All of the entries of systemPackages will be installed, always, globally, for every user
<tilpner> (Minus collisions, I guess)
halfbit has joined #nixos
<d1rewolf> tilpner, well, I'd like to have a set of packages installed every time I build a new nix system. for example, my preference of a terminal (terminator), things like that
<tilpner> d1rewolf - That is exactly what systemPackages does
<d1rewolf> ideally I'll have one config I can copy to many machines, run nixos-install, and have my environment set up the ay I want
<iqubic> tilpner: What part of that do you want to draw my attention to?
<d1rewolf> ok, thanks. just making sure
<tilpner> iqubic - The highlighted part
<iqubic> Yeah. joepie91 did "npm set prefix ~/.npm-global"
<iqubic> Is that helpful here?
<tilpner> d1rewolf - I prefer users.users.myuser.packages for those
xy2_ has joined #nixos
<tilpner> iqubic - Yes
<tilpner> Read up and down a few lines
<d1rewolf> tilpner, ok...so that isolates it to just that user? sounds good to me
<tilpner> d1rewolf - Exactly. Not every system user needs to have a browser, etc. in its PATH
<d1rewolf> tilpner, cool, thank you
<iqubic> Well, I see how that works.
wucke13 has joined #nixos
<iqubic> Will it work if I have only ever installed npm via nix-shell?
<goibhniu> I tried downloading the cacert.pem from mozilla and setting CURL_CA_BUNDLE to point to it, but that doesn't seem to work.
igo95862 has quit [Quit: igo95862]
* goibhniu wonders if nix-install would help
<goibhniu> *nixos-install*
<srk> check `date`
<ben> Fri: command not found
<ben> rip
<srk> it happens when your time is way off
mariatsji has joined #nixos
<iqubic> > date
<{^_^}> undefined variable 'date' at (string):154:1
<tilpner> ben++
<{^_^}> ben's karma got increased to 1
Jason_Grossman has joined #nixos
<ben> does curl -vvv https://nixos.org/channels/nixos-unstable say anything useful?
<ben> at least it should say which certs it's using iirc
<ben> also NIX_SSL_CERT_BUNDLE and/or curl --cacert maybe
tzemanovic has joined #nixos
<LnL> goibhniu: what about SSL_CERT_FILE or NIX_SSL_CERT_FILE
<LnL> is this on nixos?
<goibhniu> Thanks! Just to be clear, curl works on its own, but not via nix. I tried setting all these variables, but it doesn't seem to help.
onon-- is now known as onon
<goibhniu> LnL: in case you missed it ... I ran `nix-collect-garbage -d` in a container, but it garbage collected everything from the host system :/
tzemanovic has quit [Ping timeout: 268 seconds]
<LnL> euh...
<goibhniu> I get this error when I try to run nix-channel, or nix-env commands that download stuff. Both in the container and on the host.
<LnL> like gcroots on the host?
<goibhniu> yep, I only have access to the programs that are still running, and what's in the store for the container
<LnL> ok #1 please create an issue for that, this really shouldn't be possible
<goibhniu> at least I can install stuff from the store that the container uses
<ben> oh i guess the nix daemon isnt seeing your local env vars
<goibhniu> I can't look up the issue now, but it's probably because I changed /nix/var/nix/db (or something like that) to rw, to work around an issue.
<ben> is that how it works
<goibhniu> oh!
<LnL> hrm, that might have enabled this yes
<LnL> containers should only talk to the daemon, not access the db directly AFAIK
* goibhniu thinks there's some env var that can get nix to not use the daemon
<LnL> phew!
<LnL> well if you make the db writable it'll try to use that directly unless you explicitly set NIX_REMOTE=daemon
<LnL> container -> nix-cli -> host -> nix-daemon -> db would know about your host's roots, container -> nix-cli -> db won't
<LnL> anyway
<LnL> do you know what nixpkgs commit this is?
<goibhniu> ah, here's the issue: https://github.com/NixOS/nixpkgs/issues/40355
<{^_^}> #40355 (by cillianderoiste, open): Imperative containers broken on 18.03/nixos-unstable
<srk> grep VERSION /etc/os-release
<LnL> I fixed an issue recently that was causing openssl/curl to ignore NIX_SSL_CERT_FILE on darwin, maybe this is the same issue?
<goibhniu> interesting
<LnL> can you strace?
<LnL> yeah, so it's only looking at /etc/ssl/certs/ca-certificates.crt
<LnL> was this with NIX_SSL_CERT_FILE=/path/to/cacert?
<goibhniu> ah, so I could try moving my bundle there
andymandias has joined #nixos
sbdchd has joined #nixos
<goibhniu> sorry, that wasn't with all the env variables set, I'll try that
<{^_^}> #42415 (by LnL7, merged): curl: disable default CA bundle
Yaniel has quit [Remote host closed the connection]
<LnL> I'm curious if your system is before or after that
<goibhniu> great success!! setting the vars did work, I've got a channel \o/
sbdchd has quit [Ping timeout: 240 seconds]
<goibhniu> nixos-rebuild is working, very exciting! thanks so much!
iyzsong-x has quit [Quit: ZNC 1.7.0 - https://znc.in]
<{^_^}> [nixpkgs] @rembo10 opened pull request #43490 → arc-theme: 2017-05-12 -> 2018-07-13 → https://git.io/fNqQh
pie_ has quit [Ping timeout: 260 seconds]
<LnL> great :)
Jason_Grossman has quit [Ping timeout: 260 seconds]
<LnL> can you link me the commit of the channel before you updated?
* goibhniu will post the revision details when it's back up, in case that's of interest
erickomoto has quit [Ping timeout: 240 seconds]
<goibhniu> I know it was the nixos-unstable channel from ~ 3 days ago
stepcut has joined #nixos
xy2_ has quit [Ping timeout: 240 seconds]
Jason_Grossman has joined #nixos
hxrts__ has joined #nixos
Jason_Grossman has quit [Client Quit]
Jason_Grossman has joined #nixos
cransom has quit [Quit: WeeChat 2.0]
cransom has joined #nixos
Jason_Grossman has quit [Remote host closed the connection]
Jason_Grossman has joined #nixos
<manveru> anyone know how to fix the dhall-to-nix package? it depends on hnix, which is marked as broken
<manveru> i can get it from the 18.03 channel, but that's using an ancient version of dhall
<grp> What's the least clumsy way to actually package something in nix? I've been struggling with packaging an app that must have some hardcoded stuff among other quirks, and writing the default.nix, then runinng nix-build and see it fail miserably doesn't cut it. I mean, there's -K, but I'd like to have a shell in the very build environment to test a few things with everything correctly setup for the build process.
<grp> I recall this is possible with nix-shell, but still can't get it to work.
* grp would be ok with just a link to some up-to-date tutorial
ninjarai4[m] has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
hxrts__ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #43087 → network-manager: 1.10.6 → 1.12.0 → https://git.io/fbjtd
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to master: https://git.io/fNq5G
fragamus has joined #nixos
xy2_ has joined #nixos
remmster has quit [Remote host closed the connection]
<grp> disregard that, just got it working
spring322[m] has joined #nixos
<EuAndreh[m]> Is there a built-in/more general version of a integer->string function with 0 padding?
<manveru> made an issue for dhall-to-nix at https://github.com/NixOS/nixpkgs/issues/43491
<{^_^}> #43491 (by manveru, open): dhall-to-nix is broken
pie_ has joined #nixos
<manveru> EuAndreh[m]: there's lib.fixedWidthNumber
<manveru> > lib.fixedWidthNumber 2 1
<{^_^}> "01"
<manveru> but note that it'll fail if you try to pass 100 for a width of 2
<EuAndreh[m]> manveru: Thanks! That's what I was looking for
wpcarro has joined #nixos
Copenhagen_Bram has quit [Read error: Connection reset by peer]
doyougnu1 has quit [Ping timeout: 260 seconds]
wpcarro has quit [Ping timeout: 244 seconds]
Copenhagen_Bram has joined #nixos
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
<nh2> dtz: almost getting this to work, but I have a weird libiconv issue: https://github.com/NixOS/nixpkgs/pull/43369#issuecomment-404925693
<dtz> nh2: one sec I've been poking at this I have goodness for you :3
<nh2> nice
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
tzemanovic has joined #nixos
<iqubic> Does nix-shell inherit the $PATH of the shell that calls it?
<LnL> yes, unless you use --pure
<iqubic> Cool. That's what I want.
winem_ has joined #nixos
<iqubic> Now I need to figure out how to add ~/.npm-global/bin to the $PATH of the emacs eshell.
mariatsji has quit [Remote host closed the connection]
tzemanovic has quit [Ping timeout: 256 seconds]
mariatsji has joined #nixos
mariatsji has quit [Ping timeout: 256 seconds]
<stepcut> when I submit a bug to nixpkgs regard a haskell package -- is there anything special I should be doing to tag it so that haskell people might see it?
Jason_Grossman has quit [Ping timeout: 240 seconds]
rihards has joined #nixos
winem_ has quit [Ping timeout: 240 seconds]
tenten8401 has joined #nixos
* goibhniu ritually sacrifices a jellyfish for good luck ... and reboots
erickomoto has joined #nixos
erickomoto has quit [Client Quit]
ashkitten has quit [Remote host closed the connection]
erickomoto has joined #nixos
ashkitten has joined #nixos
goibhniu1 has joined #nixos
coot_ has quit [Quit: coot_]
goibhniu has quit [Ping timeout: 265 seconds]
<goibhniu1> LnL: The host NixOS was using revision 2a8a5533d18b22ed983a1fe526ec16b801cbcd97
* goibhniu1 checks if it has the relevant commit
<dtz> nh2: sorry, will be pushing shortly hopefully-- but in case I don't the answer is just remove that libiconv line :)
<dtz> on nixpkgs master "libiconv" is basically just the iconv header from musl itself
<goibhniu1> LnL: my system does not include your changes to curl
xy2_ has quit [Ping timeout: 268 seconds]
<LnL> yeah, I think it might even still be in staging
<goibhniu1> ah, cool
<goibhniu1> thanks for adding a note to the ticket about containers too
raynold has joined #nixos
<LnL> hopefully nobody else runs into this :)
<LnL> using the nix-daemon socket from the host should work fine as an alternative and is much safter
<gchristensen> #nixos is lucky 888 right now
<goibhniu1> oh, to build the container generation from the host?
<samueldr> gchristensen: 888th channel? I see 902 users here
<goibhniu1> that would be a lovely way to manage imperative containers in general ... (IIUC)
<gchristensen> huh, I see 888
<LnL> I also see 888
<LnL> goibhniu1: try adding a bind mount for /nix/var/nix/daemon-socket/socket
Copenhagen_Bram has quit [Read error: Connection reset by peer]
<samueldr> my client mus be out of sync with something :/
<LnL> that should enable nix inside the container to communicate with the daemon, similar to how it works for your local user
<goibhniu1> nice, cheers!
radisson has quit [Quit: Page closed]
<LnL> I think it's also possible to use a different path with NIX_REMOTE=daemon?socket=/foo or something
kristoferus75 has quit [Quit: WeeChat 2.1]
doyougnu has joined #nixos
Copenhagen_Bram has joined #nixos
<{^_^}> [nixpkgs] @jb55 opened pull request #43494 → clipmenu: init at 5.4.0 → https://git.io/fNqxP
<LnL> ah no, just unix:///foo
<ben> ://////
muzzy_ has joined #nixos
<LnL> sorry you have to escape backslashes here
<ajs124> I'm trying to use mysql ensureUsers + ensurePermissions right now, but the user does not seem to be created or granted permissions. Any idea what I might be doing wrong?
<ajs124> my config looks like "services.mysql.ensureUsers = [ { name = "test"; ensurePermissions = { "*.*" = "ALL PRIVILEGES"; }; } ];"
mariatsji has joined #nixos
Copenhagen_Bram has quit [Read error: Connection reset by peer]
philippD has joined #nixos
crmlt has joined #nixos
doyougnu has quit [Quit: WeeChat 2.0]
Copenhagen_Bram has joined #nixos
halfbit has quit [Ping timeout: 256 seconds]
<tenten8401> hey, so if I have an application that I try to download, and they only offer an unversioned download link, what would be the best way to go about including it in a package?
<tenten8401> is there a way to skip the sha256sum?
<tenten8401> would it be better to try pulling the release from github and building the .jar from source?
halfbit has joined #nixos
<samueldr> if you can build the .jar from source, it's always the right solution
<samueldr> else, check if the unversioned URL redirects (through http probably) to a versioned URL
<samueldr> tenten8401: if you tell us what it is exactly, I can take a peek and see if there is a stable URL to use
<tenten8401> it doesn't sadly
erictapen has joined #nixos
<samueldr> ah
<tenten8401> I think it should build pretty easily with Maven
<tenten8401> but I don't know how I'd go about having it build with Maven in a .nix file
<samueldr> grep in the nixpkgs repo, there are a couple maven-built software already
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @leenaars opened pull request #43495 → orthorobot: 1.0 -> 1.1.1 → https://git.io/fNqhK
<samueldr> tenten8401: <pkgs/servers/exhibitor/default.nix> and <pkgs/applications/science/misc/gephi/default.nix> are using similar approaches
humanoyd has quit [Quit: WeeChat 2.1]
<tenten8401> thanks, I'll have a look at em
<samueldr> as long as atlauncher doesn't use something really weird, it may work this way
erictapen has quit [Quit: leaving]
<tenten8401> what's the difference between nativeBuildInputs and buildInputs?
<clever> tenten8401: when cross-compiling, it will get the buildInputs from the target device and use the host for nativeBuildInputs
<samueldr> they are explained in this section → https://nixos.org/nixpkgs/manual/#ssec-stdenv-dependencies
<samueldr> but yeah, what clever said ^
<samueldr> clever: correct me if wrong: if your build system needs to run a perl script, perl would be added to your nativeBuildInputs, right?
<clever> samueldr: yeah
<samueldr> and if it needs it at build time, AND run-time, it would be in both or does buildInputs also concats nativeBuildInputs?
<clever> i think if you want it at runtime you need to embed ${pkgs.perl}/bin/perl somewhere
<clever> not sure how the automated patching handles things like #!/usr/bin/env
<samueldr> (maybe perl wasn't the best example)
<samueldr> could it happen that a dependency is needed both in buildInput and in nativeBuildInputs?
halfbit has quit [Ping timeout: 260 seconds]
<clever> samueldr: yeah, perl and python are examples of that
<clever> you may need the target version to compile against, and the host for the build scripts
sbdchd has joined #nixos
Baughn has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
igo95862 has joined #nixos
<Dezgeg> or flex (libfl.a + running the flex binary at build time)
<samueldr> awesome, this means I got it figured out I think :)
Baughn has joined #nixos
telent has joined #nixos
<Lisanna> samueldr I really hope that depsBuildHost is aliased to nativeBuildInputs
<Lisanna> and depsBuildBuild to buildInputs
sbdchd has quit [Ping timeout: 244 seconds]
Copenhagen_Bram has quit [Read error: Connection reset by peer]
<infinisil> <gephi/default.nix>
Copenhagen_Bram has joined #nixos
<d1rewolf> is there a way to allowUnfree in configuration.nix?
<d1rewolf> I have packages I wish to include in my users.users.d1rewolf.packages
muzzy_ has quit [Ping timeout: 240 seconds]
<d1rewolf> well, damn it
<d1rewolf> never mind. it's right there in front of me
graphene has quit [Remote host closed the connection]
wpcarro has joined #nixos
graphene has joined #nixos
<Lisanna> *depsHostTarget to buildInputs
<d1rewolf> holy batman...I think nixos is actually going to be the os I've always dreamed of. I switch machines so regularly...being able to store my os (sorta) in one file is awesome :)
<infinisil> \o/
<clever> :D
<tenten8401> it's great, using it on a desktop and a server at the moment
<tenten8401> still figuring out the whole package management thing currently
<clever> d1rewolf: i now have nixos on my desktop, 2 laptops, NAS, router, and a raspberry pi
<tenten8401> it runs on a raspberry pi?
wpcarro has quit [Ping timeout: 256 seconds]
<clever> tenten8401: yeah, but there is no binary cache support, so it takes a lot fo compiling
zugzug has quit [Ping timeout: 244 seconds]
<tenten8401> wasn't there some way to designate a computer as a build slave? could you compile in arm with qemu?
<clever> tenten8401: yeah, and with qemu-user, you can do it without emulating the kernel
<clever> tenten8401: qemu-user lets an x86 machine run arm binaries
rardiol1 has quit [Remote host closed the connection]
<samueldr> (there is binary cache support for the aarch64 raspberry pi 3)
<clever> ive not tried aarch64 yet
<tenten8401> most of the raspberry pis I own are pi 3s
<tenten8401> so I wouldn't have to compile too much if I'm using that?
mariatsji has quit [Remote host closed the connection]
<clever> yeah
<tenten8401> ah well that should be nice, I'll have to try it later
<samueldr> there are some packages that don't build for aarch64, so it's not 1:1 support, but everything that does is built by hydra
mariatsji has joined #nixos
<d1rewolf> clever, nice ;-)
<samueldr> (so, if you enable something huge and it starts building, it may mean that it doesn't build on hydra either)
<d1rewolf> I'll be starting replacement of my various boxen this weekend ;)
<tenten8401> should be fine for the most part, I assume things like KDE Plasma are already built
<samueldr> one thing I liked with nixos, d1rewolf, I had an issue with my work computer, I was able to spin up a temporary VM that was a complete working clone, in under one hour (including download time)
<samueldr> I was ready to work while I was still searching how to RMA the SSD at the time :)
<tenten8401> yeah, just the other day I accidentially killed my OS install with a bad package I was testing
<tenten8401> booted the NixOS installer, cloned my config from github and had a pretty much identical system in like 30 minutes
<tenten8401> granted I did need to clone a few of my projects down from gitlab but still worked really well
<infinisil> There should be a default "reproducible template" for nixos installations (and maybe even nixops)
<infinisil> So you can start with such a repo as your initial config and work your way up from there
mariatsji has quit [Ping timeout: 240 seconds]
logzet has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #43496 → Cypari 1.2.1 → https://git.io/fNmvN
<d1rewolf> samueldr, nice!
<d1rewolf> tenten8401, that's exactly the experience I'm looking for
<d1rewolf> I'm stoked. Between nixos and i3, I have valhalla
<gchristensen> :D
<tenten8401> I'm really excited for a good /etc/skel implementation for nixos
<d1rewolf> tenten8401, interesting. I was just asking earlier why there was no /etc/skel on my install. what's the back story?
<clever> d1rewolf: you generally configure all the users from configuration.nix
<tenten8401> clever: you can't really define an initial home template from that though
<d1rewolf> clever, right...but doing so doesn't create a skel either, right?
<clever> yeah, for that, you would need an activation script or a systemd unit
Lisanna has quit [Remote host closed the connection]
<d1rewolf> clever, why not just provide a /etc/skel directory?
rardiol1 has joined #nixos
<d1rewolf> with some safe defaults?
<tenten8401> There's PR #41858 which has potential
<{^_^}> https://github.com/NixOS/nixpkgs/pull/41858 (by bobvanderlinden, open): Initial home contents
<tenten8401> but it was chmodding my home directory to where I couldn't log in anymore
<tenten8401> so it needs some work
<manveru> home-manager is my weapon of choice :)
<manveru> though i should probably try putting my home-manager config into my nixos config at some point...
<tenten8401> home-manager is a good concept, but I wish there was something official
rardiol1 has quit [Client Quit]
<manveru> what does official mean?
<tenten8401> part of nixpkgs by default
<manveru> well, i guess it could finally be added to nixpkgs, it doesn't change much anymore
<manveru> but that's up to rycee :)
<d1rewolf> anyone using i3-gaps on nixos here?
<logzet> Just out of interest: How do you sync your nixos config using git? By just turning /etc/nixos into a git repo? By using a script to copy the config ~ to /etc?
<ldlework> there's no licecap package?!
drakonis has joined #nixos
<logzet> d1rewolf: I did for some time
<manveru> d1rewolf: i do
<clever> logzet: a git repo at /etc/nixos/nixcfg/
<samueldr> tenten8401: if I understand correctly, you want /etc/skel since you want to use software which creates users imperatively, right?
Copenhagen_Bram has quit [Read error: Connection reset by peer]
<samueldr> I made /etc/nixos the repo outright
rardiol1 has joined #nixos
<manveru> logzet: `{ config, pkgs, ... }: { imports = [ ./hardware-configuration.nix /home/manveru/github/manveru/nixos-conf/kappa.nix ]; }`
<clever> manveru: yeah, i do things like that
<clever> manveru: i keep the bare minimum required to boot in configuration.nix, and put the rest into what you have named kappa.nix
<logzet> I actually thought about making /etc/nixos a hardlink into $HOME
<d1rewolf> manveru, I have this in my config: services.xserver.windowManager.i3.package = pkgs.i3-gaps;
<clever> so if i spin up a second machine with slightly different boot config, it cant conflict
<d1rewolf> but when I login, I still have regular i3
<d1rewolf> even tho nixos-rebuild switch works
<d1rewolf> is there something else to do?
Copenhagen_Bram has joined #nixos
<logzet> d1rewolf: How do you tell? By using i3-gap features and they are not working?
<d1rewolf> logzet, ah...now...that's probably my problem. I just assumed gaps would appear, but I'll bet theres configuration to be had. I'll take a look
<manveru> d1rewolf: i use home-manager for configuring i3, so i'm not sure
<logzet> d1rewolf: iirc gaps does look the same if you don't use gaps features
<manveru> yeah
<d1rewolf> logzet, cool, thanks
<d1rewolf> manveru, you store your entire i3 config in home-manager? how does that end up working, out of curiosity? Can you share a config?
<manveru> home-manager automatically reloads my i3 if i change something
<manveru> so that's nice
<manveru> plus it has options for almost everything :)
Dagger has joined #nixos
<d1rewolf> manveru, cool...thanks. I've rolled my own home grown system for generating machine-specific i3 configs, but this might be much better
<grp> how can I inspect the paths of buildInputs inside a nix-shell?
<infinisil> manveru: Whoa, that's indeed a big module
<clever> grp: echo $buildInputs or echo $nativeBuildInputs
<infinisil> 800 lines
<manveru> d1rewolf: the machine specific config is https://github.com/manveru/dotfiles/blob/master/kappa.nix where i set monitor to workspace mapping and such
<grp> oh, I see, they are bound to env vars
erickomoto has quit [Ping timeout: 265 seconds]
<manveru> infinisil: yeah, it's fantastic
<d1rewolf> manveru, nice...thanks!
<infinisil> Now we just need a better module system that doesn't scale linearly in eval time with the amount of available options...
<{^_^}> [nixpkgs] @dtzWill opened pull request #43497 → ncurses: if enableStatic is set, don't remove the "*.a" files! → https://git.io/fNmJX
<logzet> clever, samueldr, manveru: Thanks for the input, I'm always curious on how others solve stuff like this :)
coot_ has joined #nixos
<d1rewolf> I wonder why i3-gaps hasn't simply been merged as an option to i3. it seems like a small set of features to warrant a fork
<manveru> the i3 devs are very opinionated...
<manveru> which is good and bad :)
<d1rewolf> manveru, I suppose. have you found i3-gaps to be stable?
<manveru> very
Lisanna has joined #nixos
<d1rewolf> manveru, cool...thanks
erickomoto has joined #nixos
<logzet> I wonder what the distribution of i3{,-gaps} users actually is
<gchristensen> I use i3
<clever> pure xfce
<d1rewolf> logzet, I see quite a few using i3-gaps. I'm using i3 myself
<d1rewolf> but am eyeing gaps
phreedom has quit [Ping timeout: 250 seconds]
Mrmaxmeier has joined #nixos
<d1rewolf> manveru, beautiful
<infinisil> xmonad \o/
<logzet> My guess would be that gaps would land at a good two digit share, but it may be that gaps users are more vocal
graphene has quit [Remote host closed the connection]
phreedom has joined #nixos
<orbekk> anecdotally I know several i3 users at work but none of them use gaps
<manveru> i used i3 happily for a long time until i got into ricing
graphene has joined #nixos
<orbekk> I didn't really understand the point, but that screenshot looks great I admit :)
<manveru> in practice it doesn't make much difference
<d1rewolf> ricing?
<logzet> I think that a desktop you like to work with has an effect, wether it's good or bad… idk
<infinisil> Is the only difference between i3 and i3gaps that the gaps one has gaps between windows??
<infinisil> Or is there more to it?
<logzet> infinisil: I think some color configuration for the status bar (transparency?)
<manveru> yeah
rihards has quit [Quit: rihards]
<manveru> it's not a whole lot
dbmikus_ has quit [Ping timeout: 260 seconds]
erickomoto has quit [Ping timeout: 240 seconds]
<logzet> I actually went xmonad → i3 → i3-gaps → kde
<manveru> i tried tiling on kde maybe a year ago, and it was awful
aarvar has joined #nixos
<manveru> otherwise i'd probably go for it too
<infinisil> Heh, with xmonad there's just a bunch of libraries you can use to get those features
<infinisil> Or write your own
<orbekk> xmonad is more like a toolkit to make your own wm
<Lears> You could write gaps/spacing in probably less than 15 lines in your config.
<manveru> i used xmonad for a year or so as well, but that was back when you had to recompile it everytime you changed config
<Lears> It would be dead easy too.
<infinisil> manveru: That's still the case
dbmikus__ has joined #nixos
<logzet> infinisil: Exactly and that was a little too timeconsuming for me
<manveru> and my machine wasn't big or fast enough for ghc... i think that was gentoo?
mbrgm has joined #nixos
<logzet> And i like the approach from i3 more
<infinisil> Hmm.. I think it should be possible to get a debug env where you can recompile and test changes quickly
<infinisil> Via ghci possibly
<leotaku> logzet: Do the compile times scale with the size of your config?
<orbekk> xmonad --recompile takes 1.5 seconds on my workstation...
<Lears> My configs have like >2k lines of code in libs and it still recompiles in a few seconds.
<infinisil> And you can split it into multiple modules
<infinisil> Which are then incremental
<logzet> leotaku: I think my config never got tooo big and that was some time ago ;)
wpcarro has joined #nixos
<infinisil> This video got me hooked on XMonad: https://www.youtube.com/watch?v=70IxjLEmomg
<leotaku> logzet: Yeah, thats why I was wondering. Because recompiling Xmonad always seemed very snappy to me.
graphene has quit [Remote host closed the connection]
isHavvy has joined #nixos
graphene has joined #nixos
d1rewolf_ has joined #nixos
d1rewolf has quit [Read error: Connection reset by peer]
<leotaku> What is the recommended workflow for having local changes to your nixpkgs repo while still using another channel-checkout?
drakonis has quit [Read error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number]
drakonis has joined #nixos
wpcarro has quit [Ping timeout: 244 seconds]
Havvy has quit [Ping timeout: 244 seconds]
ixxie has quit [Ping timeout: 268 seconds]
darkmeson is now known as darkmesonic
<logzet> leotaku: You mean using single packages from your repo but the rest from eg stable?
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<leotaku> logzet: Yes
<logzet> I have my nixpkgs cloned to $HOME/ins/nixpkgs and use nix-shell to access them (I usually don't install them)
winem_ has joined #nixos
<logzet> But you should be able to mix them in your configuration.nix
<leotaku> logzet: But in my case I would like to build my system based on those pkgs.
<logzet> But if it is something like a missing package, I try to make it PR-ready and get it on github
<logzet> -I also works for nixos-rebuild, but that would pull everything from your repo
<symphorien> but replace import <nixpkgs-unstable> with import /path/to/checkout
<logzet> I was just about looking for that page ☺
stepcut has quit [Ping timeout: 260 seconds]
<leotaku> logzet: Yeah, that's essentially my problem. I want all packages but mine from a stable/prebuilt checkout.
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
xy2_ has joined #nixos
winem_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #43498 → haskell generic-builder: Use strictDeps always, take II → https://git.io/fNmkH
<raynold> ahh it's a wonderful day
<{^_^}> [nixpkgs] @jtojnar pushed to master « gnome3.gnome-logs: 3.28.3 → 3.28.5 »: https://git.io/fNmkh
<worldofpeace> infinisil: Would you mind explaining (probably for the nth time) how to use home-manager in nixos config? :D
<{^_^}> #97 (by rycee, merged): Experimental NixOS module
orivej has joined #nixos
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43202 → fcitx-engines.cloudpinyin: 0.3.4 -> 0.3.6 → https://git.io/fNv9t
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « fcitx-engines.cloudpinyin: 0.3.4 -> 0.3.6 (#43202) »: https://git.io/fNmIt
<worldofpeace> infinisil: So all the home-manager options are under 'home-manager.`
<infinisil> Yup
<{^_^}> [nixpkgs] @xeji merged pull request #43206 → fcitx-engines.m17n: 0.2.3 -> 0.2.4 → https://git.io/fNv9i
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « fcitx-engines.m17n: 0.2.3 -> 0.2.4 (#43206) »: https://git.io/fNmI3
<worldofpeace> Why is there `home-manager.users.<name>`?
<{^_^}> [nixpkgs] @xeji merged pull request #43208 → fcitx-engines.anthy: 0.2.2 -> 0.2.3 → https://git.io/fNv9A
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « fcitx-engines.anthy: 0.2.2 -> 0.2.3 (#43208) »: https://git.io/fNmIG
<{^_^}> [nixpkgs] @xeji merged pull request #43209 → fcitx-engines.chewing: 0.2.2 -> 0.2.3 → https://git.io/fNv9j
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « fcitx-engines.chewing: 0.2.2 -> 0.2.3 (#43209) »: https://git.io/fNmIc
<{^_^}> [nixpkgs] @xeji merged pull request #43204 → fcitx-engines.hangul: 0.3.0 -> 0.3.1 → https://git.io/fNv9B
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « fcitx-engines.hangul: 0.3.0 -> 0.3.1 (#43204) »: https://git.io/fNmIW
<infinisil> Oh god, I need to fix {^_^}
<infinisil> {^_^}: That is unacceptable!
<infinisil> worldofpeace: That's where all the options are
raynold has quit [Quit: brb reboot]
<{^_^}> [nixpkgs] @xeji merged pull request #43203 → fcitx-configtool: 0.4.9 -> 0.4.10 → https://git.io/fNv9W
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « fcitx-configtool: 0.4.9 -> 0.4.10 (#43203) »: https://git.io/fNmIw
tzemanovic has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #43200 → flyway: 5.1.3 -> 5.1.4 → https://git.io/fNvSK
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « flyway: 5.1.3 -> 5.1.4 (#43200) »: https://git.io/fNmIK
<worldofpeace> there should be a limit to this, like '@xeji is doing some stuff right now' it's like talking over gunfire :P
dbmikus__ has quit [Quit: WeeChat 2.1]
<infinisil> I think samueldr and others have been thinking that removing the "pushed commit" messages should be removed as well
<infinisil> I was talking about {^_^} linking the file when you did <name>, which is my fault :)
<infinisil> I'll try to fix this now
<worldofpeace> Hah right, have fun
simukis has quit [Quit: simukis]
<iqubic> Well, looks like nix-shell isn't getting the right path.
<samueldr> as for the push messages, what was talked before were the individual commits summary (last three iirc) which is already done
wpcarro has joined #nixos
<samueldr> mapping a push event with a pr close is hard (but not impossible) with the webhooks api
<iqubic> Ignore me. I haven't set the path correctly.
<infinisil> samueldr: Ah I also thought I saw some conversation about removing the push ones as well though, oh well, I don't mind them
<samueldr> what was proposed was to do some kind of throttling, on event X, wait Y seconds/minutes and bunch up all messages into a digest
<samueldr> but the response wasn't great, it'd lose much of what's of value here
<samueldr> (though, merging the push/PR close messages is still on the table)
<leotaku> What do I have to look out for when contributing to nixpkgs? How do I make sure everything will work? Are there any resources?
<grp> finally managed to get this app packaged, builds allright. However, there's a quirk that's bugging me: when I fix some hardcoded paths in a postUnpack hook, I get an error that the makefile is older than the conf script but with preConfigure hook works fine... wtf? isn't postUnpack an even earlier stage than preConfigure?
logzet has quit [Remote host closed the connection]
<samueldr> leotaku: chapter 14 ( https://nixos.org/nixpkgs/manual/#chap-submitting-changes ) is pretty good for this
<samueldr> though, I personally think one of the biggest thing you should look for is to ensure you enabled sandboxing
<samueldr> then, when opening the PR, you could also ask for details from reviewers, even nit picking and/or what they'd do
wpcarro has quit [Ping timeout: 260 seconds]
<samueldr> most (all?) committers are generally friendly :)
<manveru> is there still no way to make `nix build` output all the logs while building? :|
<leotaku> Is it a good idea to always have sandboxing enabled? Or should I just use it when testing pkgs?
<manveru> is there a good reason to disable sandboxing?
<clever> i always enable it
wpcarro has joined #nixos
winem_ has joined #nixos
<samueldr> leotaku: I never ran nixos without sandboxing
<infinisil> manveru: Well nix-build still works
bmikedesk has joined #nixos
stepcut has joined #nixos
<samueldr> manveru: is an issue filed for logs with `nix build`?
Ariakenom_ has quit [Quit: Leaving]
wpcarro has quit [Ping timeout: 244 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/ade8242b811 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<tobiasBora> Hello,
<samueldr> hi!
<{^_^}> [nixpkgs] @xeji merged pull request #43496 → pythonPackages.cypari2: 1.1.4 -> 1.2.1 → https://git.io/fNmvN
<{^_^}> [nixpkgs] @xeji pushed commit from @timokau to master « pythonPackages.cypari2: 1.1.4 -> 1.2.1 (#43496) »: https://git.io/fNmtG
<tobiasBora> I'd like to deploy the configuration of my raspberry pi 3B+ using nixops. I looked at the documentation, and it looks pretty easy to set things up, however, I'm not sure to know whether I should also include in the local nixops configuration all the rasp-linked stuff, like swapDevices, fileSystems, boot.kernelPackages...
camsbury has quit [Ping timeout: 240 seconds]
NightTrain has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43495 → orthorobot: 1.0 -> 1.1.1 → https://git.io/fNqhK
<{^_^}> [nixpkgs] @xeji pushed commit from @leenaars to master « orthorobot: 1.0 -> 1.1.1 (#43495) »: https://git.io/fNmtK
<iqubic> Can I use sudo inside a nix-shell?
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
<clever> iqubic: probably
<bachp> tobiasBora: It's some time back I used the none target but I believe to remember that I had to provide the complete configuration including things like partition. Not sure this is still the case. Best to try it out.
<{^_^}> [nixpkgs] @xeji merged pull request #43440 → ocamlPackages.lwt_log: init at 1.0.0 → https://git.io/fNtBR
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/fNmty
sbdchd has joined #nixos
infinisil has joined #nixos
<tobiasBora> bachp: if I don't specify anything, won't it mess up the installation ?
<tobiasBora> I mean, if it does not work, does it just "do not work", or does it break everything?
winem_ has quit [Ping timeout: 265 seconds]
<gchristensen> yes you need the none target, and all of the hardware configuartion
<infinisil> iqubic: Why would you not be able to?
Sonarpulse has quit [Ping timeout: 240 seconds]
<tobiasBora> ok thank you
sbdchd has quit [Ping timeout: 244 seconds]
stepcut has quit [Remote host closed the connection]
<tobiasBora> gchristensen: by the way, if I don't specify any deployment.targetEnv, is it equivalent to setting it to none?
stepcut has joined #nixos
<tobiasBora> ok I think it is
<tobiasBora> if I understand the manual correctly ;)
<infinisil> {^_^} now only links to files when it's a full match, so <name> won't match the krename folder anymore
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43348 → clipster: 1.5.0 -> 2.0.0 → https://git.io/fNkwF
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « clipster: 1.5.0 -> 2.0.0 (#43348) »: https://git.io/fNmqn
<{^_^}> [nixpkgs] @xeji merged pull request #43484 → octopus: 7.2 -> 8.1 (lixc 3.0.1 -> 4.2.3) → https://git.io/fNqZA
<{^_^}> [nixpkgs] @xeji pushed commit from @markuskowa to master « octopus: 7.2 -> 8.1 (libxc 3.0.1 -> 4.2.3) (#43484) »: https://git.io/fNmql
grp has quit [Quit: box shutting down...]
<{^_^}> [nixpkgs] @xeji pushed commit from @alyssais to master « vagrant: 2.1.1 -> 2.1.2 (#43416) »: https://git.io/fNmqr
<{^_^}> [nixpkgs] @xeji merged pull request #43416 → vagrant: 2.1.1 -> 2.1.2 → https://git.io/fNLKq
mkoenig has quit [Remote host closed the connection]
<tenten8401> related to ATLauncher earlier, I've made some progress on building the jar from source, but it keeps failing because there's no pom.xml apparently, despite it being in the GitHub repo, and I have no clue why. If anyone could take a look at https://hastebin.com/zehodiqiwo.bash and help me figure out what I'm doing wrong, it'd be greatly appreciated. It's a mix of my non-building ATLauncher package and this: https://github.com/NixOS/nixpkgs/blob/master/
<tenten8401> pkgs/servers/exhibitor/default.nix -- I'm not familiar with Maven at all
mkoenig has joined #nixos
<tenten8401> I see there's mvn2nix as well, but I'm not sure if that's the right way to do it based on the other packages in the nixpkgs repo
sbdchd has joined #nixos
genesis has quit [Read error: Connection reset by peer]
<tobiasBora> Hum... I don't understand why, but nixops is basically redownloading all the very basic utils on my local computer, while I basically used the configuration file that is already deployed on the raspberry pi...
andymandias has quit [Ping timeout: 265 seconds]
<tobiasBora> Why does it try to download this locally, while anyway the raspberry does not need it???
<clever> tobiasBora: it doesnt know what the pi needs until after it has recreated the entire os
<clever> tobiasBora: and all dependencies must exist before it can create something that depends on them
<tobiasBora> really? So the binary he is downloading locally are the aarm64 binaries?
tzemanovic has joined #nixos
<clever> tobiasBora: yeah
<clever> tobiasBora: if youve set the arch right in nixops
init_6 has joined #nixos
<tobiasBora> I never setup any arch in nixops ^^'
<tobiasBora> copying path '/nix/store/qwrdb0agi8gjgbmdfllfabcrdnc6nnwx-ca-certificates.crt' from 'https://cache.nixos.org'...
<tobiasBora> ops
<tobiasBora> oups*
<clever> tobiasBora: if you can paste the storepath of one of the programs it downloads, i can check its arch
<tobiasBora> but I don't understand why it does not simply copy the configuration on the rasp, and then run locally the changes
<clever> tobiasBora: if you set the rpi up as a binary cache, it can
<tobiasBora> ok, then the above one is one of these
<tobiasBora> clever: so setting up the rpi as a binary cache would not download anything on my laptop ?
<clever> it would download from the rpi->laptop
<clever> which may be faster if your internet modem is the bottleneck
<{^_^}> [nixpkgs] @xeji merged pull request #43386 → openrct2: 0.1.2 -> 0.2.0 → https://git.io/fNIaF
<{^_^}> [nixpkgs] @xeji pushed commit from @geistesk to master « openrct2: 0.1.2 -> 0.2.0 (#43386) »: https://git.io/fNmmn
<tobiasBora> but why does the laptop needs it? The raspberry pi won't need it anyway? And what happends if the binary is not available on the binarycache? My computer won't be able to compile it as it's not an arm device
andymandias has joined #nixos
<clever> when building any derivation, all of its inputs must exist
tzemanovic has quit [Ping timeout: 264 seconds]
<clever> so when building something like the system-path directory, it must have a copy of every program in system-path
coot_ has quit [Quit: coot_]
<tobiasBora> clever: but why does the laptop needs to build anything? It's not the goal of the rasp already? What's wrong with just "copy this nix file on /etc/nixos/configuration.nix on the rasp, and then run nixos-build switch on the rpi"?
<clever> tobiasBora: and this includes config files, which must be built on an arm device
<clever> tobiasBora: nixops builds it locally (or on a build slave), after evaling it locally
<tobiasBora> I still don't get the "why"
<clever> thats just the way nix and nixops work
init_6 has quit [Ping timeout: 260 seconds]
erickomoto has joined #nixos
<tobiasBora> well I guess that the developpers are not crazy, and they don't do this strange thing just for fun, do they?
rardiol1 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #43412 → flashplayer: fix hashes → https://git.io/fNL2H
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fNmmz
<clever> the machine running nixops will usually also be caching everything, so it only has to happen once
sam__ has joined #nixos
<tobiasBora> sure, but it takes useless place. For example if I want to install a full crazy heavy program on my server, I'll also have it installed on my laptop??
<clever> yeah
<tenten8401> doesn't it just store it there until GC gets run?
<clever> if you dont enable rollback support, then it can be GC'd
stepcut has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #43415 → termite: Add support for macOS → https://git.io/fNLwu
<{^_^}> [nixpkgs] @xeji pushed commit from @Enzime to master « termite: Add support for macOS (#43415) »: https://git.io/fNmmo
Copenhagen_Bram has quit [Read error: Connection reset by peer]
<tobiasBora> it seems so un-natural to me... And I don't even understand how it can be useful at some place, because I guess that during the deployement the raspberry will download it one more time right?
stepcut has joined #nixos
<clever> tobiasBora: if you are deploying to 2 raspberry pi's, the laptop will download it once, then copy it to both pi's
<tenten8401> ^ and then you can either run garbage collection manually or set up the automatic GC
<tobiasBora> clever: if my laptop is not on the raspberry pi network, I'm not sure we gain anything out of this...
<tobiasBora> tenten8401: well garbage collection is not a solution, because next time you will want to do a modification on the raspberry pi, it will still download the full OS
<clever> tobiasBora: nixops is also specialized a bit more around the machine running nixops being able to do builds, but it can also use build slaves in the case where you cant
<tenten8401> tobiasBora: yeah, I agree it's not a solution, but it'd keep say the old package versions out that aren't in use anymore
<tobiasBora> clever: well anyway here I'm pulling from a binary cache the images, so my laptop will never do any build, so I don't see how build slaves help here...
bmikedesk_ has joined #nixos
<clever> tobiasBora: it must still build config files like /etc/hosts
stepcut has quit [Ping timeout: 240 seconds]
<clever> tobiasBora: no mater what, it must build at least a few of the files
<tobiasBora> clever: and for that I need an arm device?
<clever> yes
<tobiasBora> that's insane
bmikedesk has quit [Ping timeout: 276 seconds]
<tobiasBora> so to sum up:
<clever> or you can try the cross-compiling stuff, which is a bit more untested
init_6 has joined #nixos
<tobiasBora> to install program P on raspberry pi A from my laptop B, if P is not in my binary cache, B will ask to A to build the program, it will receive the program and send it back to A...
<tobiasBora> And still worse, if I don't setup A as a build machine, then B will cross-compile the program very slowly, and with a good chance to fail, and then will send this to A...
<clever> it will only crosscompile if you configure nixops to crosscompile
<clever> and then it will crosscompile EVERYTHING
<tobiasBora> by default it asks to the rasp to compile?
<clever> if you have set the arch to arm, yeah
<tobiasBora> clever: how do you set the arch? I can't find any reference to arch in the nixops manual
<clever> nixpkgs.localSystem.system = "aarch64-linux"; i think
<tobiasBora> in the same block as deployment.targetHost?
Guest21266 has quit [Ping timeout: 240 seconds]
<clever> yeah
erickomoto has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> also of note, if your nixpkgs rev is different, then it will be upgrading the rpi, so it has to download everything anyways
<tobiasBora> clever: so it means that I also need to have the exact same nixpkgs rev?
<clever> yeah
<tobiasBora> so if, say, I deploy from several computers, everytime I want to do a minor change to the rasp, I need to do a full upgrade of the raspberry
<clever> thats why i pin the nixpkgs in the deployment config
<clever> # nixops modify -d router -I nixpkgs=https://github.com/nixos/nixpkgs/archive/ce0d9d638de.tar.gz deployments/router_deployment.nix
<clever> that forces nixops to always use that revision of nixpkgs
<manveru> hmm
<manveru> can anyone try `nix eval '(fetchGit { url = https://github.com/manveru/scylla; rev = "ef5028db72b5f8f7c02163e2cc37931608c4a9cb"; })'`?
sam__ has quit [Ping timeout: 260 seconds]
<manveru> says it's not a tree object here...
<{^_^}> [nixpkgs] @kalbasit opened pull request #43502 → charles: init at 4.2.6 → https://git.io/fNmYH
<manveru> oh damn, it's ref, not rev
* manveru hides
<tobiasBora> clever: and it won't change the local nix-env nixpkgs version?
<clever> tobiasBora: correct, it will only impact nixops
<tobiasBora> but it means that I'll have two nixpkgs repos, so twice the space
<clever> tobiasBora: it can still garbage collect the extra one
<clever> tobiasBora: optimizing the store also deduplicates it, nix-store --optimize
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
<tobiasBora> hum... It seems to me that nixops is really not doing it the good way...
<tobiasBora> and still, I don't understand why we need on the laptop anything
<clever> you just need to accept that your /nix directory is going to be 60gig :P
<clever> then youll fall in love with it
<tobiasBora> clever: well I'm spending my time to save some space on my laptop, so I really can't have 60gig for this
<clever> amd/nix compressratio 1.21x -
<clever> i also have zfs compression enabled
<clever> so i actually have 72gig of data in /nix/
<clever> NAME RATIO USED LUSED
<clever> amd/vbox 1.98x 31.4G 58.7G
<clever> and some of my volumes are halved by the compression
Copenhagen_Bram has joined #nixos
<tobiasBora> quite reassuring ^^'
<infinisil> <3 zfs compression
<infinisil> 78GB for my /nix, but only 35GB compressed :D
<tenten8401> ZFS does compression?
<infinisil> If you tell it to
<tenten8401> how much of a performance impact does it have?
<tobiasBora> hum... maybe I should give a try to zfs at some point. But now first try to deal with nix deployement
<clever> tenten8401: then steam does a multi-threaded disk write to download a game, it cripples my machine :P
<clever> tenten8401: but no other program does that, they seem to all do single-threaded writes
<infinisil> Should be pretty unnoticeable in general
<infinisil> CPU's are fast yo
<clever> infinisil: and in this summer weather, the cpu load from steam downloading a game managed to put me into thermal shutdown, lol
<tenten8401> now I wonder if it'd be worth the effort to try zfs
<infinisil> Weeee
<clever> tenten8401: you can freely turn compression on and off without reinstalling
<clever> tenten8401: so if you dont like the cost, just turn it back off
<tenten8401> ah alright
<tenten8401> I'm currently using ext4 so it'd need a reinstall
<clever> just keep in mind that it only effects the writes that occur when enabled
<clever> i just noticed that my /nix/ had compression off, so all of my recent downloads have been uncompressed
<infinisil> clever: Will it slowly uncompress everything as you use the data?
<clever> nope
<clever> it will leave it compressed
<clever> it will only update if you re-write the data to disk
<clever> and nix wont let you delete things that are inuse, or write to them again
<tenten8401> kinda defeats the purpose of being able to turn it off without a reinstall
<clever> it will stop affecting all future writes
<clever> and after a nix channel update, it has to replace everything
<clever> it will also cache reads, so the read side is less of an issue
<tenten8401> yeah but then you're stuck with this mess of compressed and uncompressed files
<infinisil> tenten8401: Well, you can just create a new dataset and move everything over to "redo" it, but that requires the same amount of extra free space the uncompressed files have
<infinisil> But that's as good as you're gonna get it in any other file system, can't get around that
<infinisil> afaik
<tobiasBora> So I still don't understand why we need to download locally stuff on nixops... And for me it breaks all the logic of nix: nix should be deployable by sending a single file, that should describe the system. Nixops completely forget about it, and redownloads all the system, and mix the description with the action... So I guess that it's not really imaginable to deploy anything using nixops when you have several
<tobiasBora> developers...
<infinisil> It's pretty simple to do in ZFS thoug
<tobiasBora> Ok, here are the errors... error: build of '/nix/store/nid064laqa84bl1lg2ynhjw7pzakf6vp-nixops-machines.drv' failed
<Lisanna> How does Hydra determine what order jobs in a jobset should be evaluated? Can I specify a build priority in the jobset definition?
<clever> tobiasBora: the real error is above that
<tobiasBora> grrrrrrrr : preallocating file of 18240 bytes: No space left on device
<Lisanna> I've got some long running tests that I would really love to always start running first, because they usually end up getting queued last causing the build to take a lot longer than necessary
<gchristensen> anyone have chromecast working via chrome?
<clever> tobiasBora: there may also be a lot of wasted space in /nix from old nixos builds, can you pastebin du --max=1 -hc /nix/store/ | sort -h
jluttine has quit [Ping timeout: 240 seconds]
jluttine has joined #nixos
<Lisanna> Answer: meta.schedulingPriority
<gchristensen> nice!
<clever> Lisanna++
<{^_^}> Lisanna's karma got increased to 2
<Lears> I did at some point, gchristensen, though I don't have a chromecast to test on at the moment. To get it to work I had to disable networking.firewall (or allow certain ports).
<gchristensen> ouch
ntqz has joined #nixos
goibhniu1 has quit [Ping timeout: 240 seconds]
<tobiasBora> I garbage, and I saved 2Gb... But I think that nixops is not the tool for me, I think it's completely insane to copy on a laptop all the data, and I just can't accept this. Actually, I used before a script that was basically syncing the local configuration with the rasp configuration, and then run remotely the nixos-build... and I think I'll jump to that 40 line script, it's much more efficient, and closer to
<tobiasBora> my need...
<clever> tobiasBora: what is the output of the above du command?
hxrts_ has quit [Ping timeout: 276 seconds]
<tobiasBora> clever: you want everything? Here are the last two lines: 230M /nix/store/21ymadblbmsbb2bk4q7gl4kjasp8zmgd-binutils-2.30
<tobiasBora> 293M /nix/store/ypb81gsazzicrb004k06xr75vkf9q1wc-rustc-1.26.2
<tobiasBora> 2,5G /nix/store/
<tobiasBora> but it was after GC
<clever> tobiasBora: and nix-store --query --roots /nix/store/ypb81gsazzicrb004k06xr75vkf9q1wc-rustc-1.26.2
<tobiasBora> /nix/var/nix/profiles/default-10-link
<clever> tobiasBora: only 10?
<tobiasBora> clever: well I reinstalled from scratch nix a few weeks ago, and I use nix-env only when the package I'm looking for is not alreay in the debian repo
<clever> tobiasBora: ah, and 2gig isnt much, i think you just need more free space
<clever> tobiasBora: what about if you do nix-store --optimize ?
erickomoto has joined #nixos
<tobiasBora> clever: yes, but I have only 65Go available on my computer, so I can't really give free space to nix, especially if it want's to waste it in an inneficient and inapropriate way...
<iqubic> What's the right way to set the $PATH on nixos?
<gchristensen> nix uses disk space to provide additional sanity, it is a fundamental trade Nix makes
fdafdsafdsa has joined #nixos
<fdafdsafdsa> *test*
fdafdsafdsa has quit [Client Quit]
<iqubic> I use ZSH and want to set my $PATH
<tobiasBora> Do you know any other alternative software to nixops that do not require the laptop do download anything?
<infinisil> iqubic: A bit more specific?
<gchristensen> nixos-rebuild supports --target-host and --build-host, tobiasBora
<{^_^}> [nixpkgs] @volth opened pull request #43503 → bazel: use per-user tmp directory to avoid conflict with other builders → https://git.io/fNm3g
<tobiasBora> gchristensen: I do not mind to lose some space because I need to maintain several versions of a given library for sanity. But I don't want to lose some space just because a program (nixops) asks to my laptop to do some crazy useless stuff
manny has quit [Ping timeout: 240 seconds]
<tobiasBora> gchristensen: hum, so you need to have a nixos laptop to have nixos-rebuild command available no?
<iqubic> infinisil: Doesn't nixos have a mechanism to set my $PATH?
<tobiasBora> clever: new error: error: a 'aarch64-linux' is required to build '/nix/store/p6lici7b718wsc8x5qa686jlbnji2w90-append-initrd-secrets.drv', but I am a 'x86_64-linux'
<gchristensen> you do
<infinisil> iqubic: Of course it does, and you already have a set path, so I'm asking you to be a bit more specific, what do you want?
<clever> tobiasBora: now you need to setup a build slave
<clever> tobiasBora: is this on debian or nixos?
<tobiasBora> debian
<clever> tobiasBora: you need to create a /etc/nix/machines file with a line like this:
<clever> builder@192.168.2.126 armv6l-linux,armv7l-linux /etc/nixos/keys/distro 1 1 big-parallel
<clever> tobiasBora: that is a user@host, the arches it supports, the path to an unencrypted ssh private key, and then how many parallel builds it can support, the relative speed, and features
<tobiasBora> so I need root access??
<clever> it can also be done with a --option flag, but i havent used that one much
<kalbasit> how to run tests in `nixos/tests` ?
<tobiasBora> ok thanks
igo95862 has quit [Quit: igo95862]
<clever> kalbasit: they are attributes on nixos/release.nix
<iqubic> Is there a way to set my $PATH before my window manager starts up?
<clever> kalbasit: run nix repl on that file and eval tests to poke around
<clever> iqubic: xserver sessionCommands
<clever> iqubic: services.xserver.displayManager.sessionCommands
<kalbasit> clever: can you help me with the `nix-repl` command? first time :)
xy2_ has quit [Ping timeout: 244 seconds]
<clever> kalbasit: run `nix repl nixos/release.nix` and then type in `tests`
<infinisil> iqubic: ... are you ignoring me?
<iqubic> infinisil: What did you say?
<kalbasit> I see, thx clever
<iqubic> I must have missed it.
<infinisil> iqubic: Of course it does, and you already have a set path, so I'm asking you to be a bit more specific, what do you want?
<iqubic> What I want to do is append "/home/avi/.npm-global/bin" to my $PATH
<nh2> dtz: are you still around / can I share a build failure with you?