samueldr changed the topic of #nixos to: NixCon 2018 - 25-27 Oct In London https://nixcon2018.org/ || NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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
<ottidmes> clever: I dont trust third party password managers. If there is any data that even privacy skeptics (the I have nothing to hide people) agree about should remain private it is passwords, and I dont want to have to trust someone else to make sure it remains private
<ottidmes> fiatjaf: Hmm, I now read about the option to self host bitwarden, thanks for the tip!
<arianvp> ottidmes: it's not pretty through. You need Microsoft SQL Server
<pie_> ottidmes, idk, to avoid temptation i guess
dbmikus_ has joined #nixos
<ottidmes> pie_: then alias it to give you a scolding when you do?
Rusty1 has quit [Quit: Konversation terminated!]
Mr_Keyser_Soze99 has joined #nixos
<pie_> haha
<pie_> alternatively, to ensure that it hasnt been used :P
<pie_> i guess mounting read only would be a better way to do that :P
<ottidmes> pie_: environment.systemPackages = [ (hiPrio (pkgs.writeShBin "nix-env" "echo 'How dare you go back to your imperative ways! Declerative configuration FTW!'")) ];
<ottidmes> pie_: I am actually keeping that on my system :P I only added "Use `nix-shell` instead if you want to test something.", so I am reminded that it often is just as easy to test some package with nix-shell as it is with nix-env
<ottidmes> arianvp: apparantly there are unofficial backends that work well enough and just need sqlite, e.g.: https://github.com/dani-garcia/bitwarden_rs
sigmundv has quit [Remote host closed the connection]
sigmundv__ has joined #nixos
<{^_^}> [nixpkgs] @volth reopened pull request #37594 → [wip] nixos/xfce4-13: add nixos module → https://git.io/vxC74
Dedalo has joined #nixos
camsbury has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @arianvp opened pull request #49082 → Enable Vault UI → https://git.io/fxMoI
<arianvp> clever: woohoo PR filed. thanks for the yarn2nix help
Mr_Keyser_Soze99 has quit [Ping timeout: 246 seconds]
jperras has joined #nixos
<pie_> i messsed up my nix_path, how do i get the default value back?
<pie_> well, rolling back seems to have fixed it but..
Rusty1 has joined #nixos
Rusty1 has quit [Read error: Connection reset by peer]
oldandwise has joined #nixos
<oldandwise> i have cloned 18.09. I have an upstream=https://github.com/NixOS/nixpkgs.git, and then I have channels=https://github.com/NixOS/nixpkgs-channels.git. What is `git remote update channels` for? I am already regularly synching my fork's master,release-18.09 to upstream's master,release-18.09 accordingly. What is this channel URL for?
<pie_> will this work? https://bpaste.net/show/23a5d3f9abd1 im guessing no and i need to use a let expression
<jackdk> you can nixos-rebuild and not switch, to see if it will work
<ottidmes> oldandwise: You do know the reason for channels existing, right? https://nixos.wiki/wiki/Nix_Channels
<ottidmes> pie_: also nixos-rebuild dry-run
<pie_> ottidmes, it didnt error but im pretty sure it doesnt do what i think it does
<ottidmes> pie_: btw, your if should be replaced by the optional function
lassulus_ has joined #nixos
<ottidmes> pie_: what do you think goes wrong? you mean using a config attribute you set and read in the same file? as long as you do not have recursive definitions this should work fine
<pie_> yes thats what i mean
<pie_> weird. why does that work?
<ottidmes> pie_: lazy evaluation
<ottidmes> pie_: thats probably incorrect of me, but that at least helps, in this case it is probably just the recursive attribute sets
lassulus has quit [Ping timeout: 240 seconds]
lassulus_ is now known as lassulus
ghasshee has joined #nixos
<oldandwise> ottidmes: how is nixos-release-18.09 different from release-18.09. Both gets updated regularly
silver_ has quit [Read error: Connection reset by peer]
<oldandwise> i mean, channel-release-18.09
<oldandwise> ie, upstream/release-18.09 vs channels/nixos-18.09
<pie_> ottidmes, ok i changed it to (lib.optional config.virtualisation.docker.enable "docker")
<ottidmes> pie_: I should go to bed, because I am starting to talk nonsense, attribute sets are not recursive by default in Nix, but it does have to do with how things are evaluated in Nix
<pie_> ottidmes, good night :p
<ottidmes> oldandwise: that is a big difference
<ottidmes> oldandwise: nixos is the latest version, the release is the latest succesful build of that nixos
<ottidmes> oldandwise: so release-18.09 will always tends to lag behind nixos-18.09, because things take time to build, and that is why you want to base things on release-18.09, since then you will be able to leverage the binary cache better
<oldandwise> ottidmes: ok. So, it's only a time difference then?!
<ottidmes> pie_: before I go, in this case it basically comes down to config being a big value, but evaluated on demand (lazy evaluation), and since the value of enable does not depend on anything you can safely use it here
<ottidmes> pie_: you cannot for example use config to determine what imports there should be, because to build the value of config, you need imports (so infinite recursion)
<pie_> yeah the infinite recursion makes sense
<ottidmes> oldandwise: they are pointing to different commits, yes, but its not "only" a time difference, its very significant. You do not generally want to build e.g. chromium on your local machine, which might happen if you dont wait on the build queue to succeed building first
kim0 has joined #nixos
endformationage has joined #nixos
justanotheruser has quit [Ping timeout: 244 seconds]
<ottidmes> oldandwise: if you were to build everything locally, you might still even want to stick with the nixpkgs-channels, because there is no guarantee things commited to 18.09 will not break
<ottidmes> and the releases on nixpkgs-channels check for additional things, reducing the chance things break
jasongrossman has joined #nixos
ghasshee has quit [Ping timeout: 244 seconds]
sigmundv has joined #nixos
thc202 has quit [Ping timeout: 272 seconds]
boxscapeR has joined #nixos
<boxscapeR> if I have two sets, how can I combine them into one?
<boxscapeR> although I suppose I could solve my problem by using map instead...
<boxscapeR> maybe
<ottidmes> boxscapeR: with //
<boxscapeR> ah, thank you
<ottidmes> { foo = 5; } // { bar = 10; }
<boxscapeR> huh, I looked at the operators section in the manual but somehow missed that
<boxscapeR> ok
Supersonic has quit [Ping timeout: 252 seconds]
acarrico has joined #nixos
Supersonic has joined #nixos
<{^_^}> [nixpkgs] @akritimore opened pull request #49083 → Darwin sandbox → https://git.io/fxMPm
sigmundv__ has quit [Ping timeout: 245 seconds]
dycan has joined #nixos
oldandwise has quit [Quit: leaving]
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
sigmundv has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @nicksvent opened pull request #49084 → Cpan update → https://git.io/fxMXq
drakonis has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
kai_w has quit [Ping timeout: 245 seconds]
kai_w_ has joined #nixos
kai_w_ has quit [Ping timeout: 246 seconds]
kai_w_ has joined #nixos
ottidmes has quit [Ping timeout: 252 seconds]
wykurz has joined #nixos
boxscapeR has quit [Remote host closed the connection]
justanotheruser has joined #nixos
jperras has quit [Quit: WeeChat 2.2]
dycan has quit [Read error: Connection reset by peer]
sir_guy_carleton has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @hamishmack opened pull request #49085 → Fix google-fonts on macOS → https://git.io/fxM1p
drakonis_ has quit [Ping timeout: 260 seconds]
drakonis_ has joined #nixos
aleph- has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #49086 → zsh-completions: 0.28.0 -> 0.29.0 → https://git.io/fxMDJ
<aleph-> With the nginx service, is there a way to configure /etc/nginx/sites-available/enabled?
wpcarro has joined #nixos
<wpcarro> a few people on this channel have recommended that I use VMs for testing sys-admin and linux things. Does anyone have a good recommendation for VM software that runs on NixOS?
<{^_^}> wpcarro: 3 days, 10 hours ago <samueldr> [about wifi on resume] with a link to said instructions, many more experienced users could probably help figure out how to port them to nixos :)
jtojnar has joined #nixos
<wpcarro> I've used Virtual Box in the past and didn't have too many problems with that. Maybe I'll just use that again
<{^_^}> [nixpkgs] @magnetophon opened pull request #49087 → wolf-shaper: init at 0.1.6 → https://git.io/fxMDX
<CMCDragonkai> This is pretty interesting: http://guides.dataverse.org/en/latest/developers/unf/index.html
<CMCDragonkai> wpcarro: Why not try QEMU and KVM, it's native to linux!
<wpcarro> wpcarro: okay! I don't have experience with either but open to whatever
wpcarro has quit [Quit: leaving]
<pie_> can i make a user that can only log in and start a specific system service
<pie_> i need manual intervention to start tinc on a reboot ..
<drakonis> qemu is quite good
<{^_^}> [nixpkgs] @peterhoeg opened pull request #49088 → mosquitto: 1.4.15 -> 1.5.3 → https://git.io/fxMy3
reinzelmann has joined #nixos
drakonis has quit [Quit: WeeChat 2.2]
pie_ has quit [Ping timeout: 268 seconds]
astronavt_ has joined #nixos
pepesza has quit [Ping timeout: 245 seconds]
hamishmack has quit [Ping timeout: 264 seconds]
astronavt has quit [Ping timeout: 246 seconds]
pepesza has joined #nixos
jtojnar has quit [Quit: jtojnar]
drakonis has joined #nixos
pie_ has joined #nixos
drakonis_ has quit [Ping timeout: 264 seconds]
vk3wtf has quit [Ping timeout: 260 seconds]
endformationage has quit [Quit: WeeChat 1.9.1]
<aleph-> Wonder if something is broken on the vlc package
<aleph-> Damn chromecast rendering still doesn't work
<pie_> so i just tried to boot into single user mode so i can copy my root partition, but sulogin complains that the root user is locked
* pie_ pokes clever? ^
<pie_> uh ok i might have run into this https://github.com/NixOS/nixpkgs/issues/4955#issuecomment-62814720 but still, how are you supposed to get into recovery mode if it needs a login? iirc you used to be able to get into some kind of recovery mode without logging in
<aleph-> elgoosy: Ever figure out the vlc issue with chromecast rendering?
astronavt_ is now known as astronavt
ryantrinkle has joined #nixos
Theuni2 has joined #nixos
dbmikus_ has quit [Ping timeout: 250 seconds]
Theuni2 has quit [Client Quit]
<{^_^}> [nixpkgs] @Fuuzetsu pushed to master « or-tools: new package (v6.9.1) »: https://git.io/fxM7c
<pie_> tfw you lock yourself out of the root user by acccident when setting mutable users = false, luckily i still had ssh access
<pie_> maybe there should/could be some kind of warning for that?
<aleph-> Okay, what fecking combo of ports do I need?
<aleph-> Never had this problem on any other damn distro
hamishmack has joined #nixos
vk3wtf has joined #nixos
<pie_> ok booting int single/emergency doesnt have / unmounted or mounted as ro
* pie_ just wants / mounted ro
ryantrinkle has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @andir merged pull request #48862 → firefox{,bin}: 62.0.3 -> 63.0 & nss: 3.38-> 3.39 → https://git.io/fxiF8
<{^_^}> [nixpkgs] @andir pushed 4 commits to master: https://git.io/fxM55
<clever> pie_: it sounds like you want my rescue boot
<pie_> clever, its pretty annoying and a little unnerving that you cant do this on a basic system?
<clever> aleph-: i just open up netstat and tcpdump to see what ports its using, and then open those
<clever> aleph-: you could also turn the firewall off for a moment, fire it up, then open the ports it was using
<aleph-> Heh aye, need to tinker more. Since I got it working under gnomecast only so far.
<aleph-> Oddly enough, firewall off doesn't fix anything
<clever> pie_: i dont know of any distro that lets you umount / entirely, and it would have to be a pivot_root, not umount
<aleph-> VLC and chromium both fail
<clever> aleph-: then it might not be a firewall issue
<pie_> clever, ah well i meant the getting into rescue mode or whatever
<aleph-> Maybe
<clever> pie_: if you boot with init=/bin/sh in grub, you can get a "rescue" mode
<pie_> clever, i tried that and it gave me panics ;_;
<clever> when stage-1 claims it doesnt exist, just tell it to continue anyways
<clever> that assumes you have booted at least once
<clever> since booting is what creates /bin/sh
<clever> pie_: oh, i just read what you wanted in that other channel, one sec
<pie_> clever, ah you probably still have a point, it probably paniced because /bin/bash doesnt exist
<pie_> didnt think of that
<clever> pie_: just shove boot.debug1devices into the kernel cmdline
<clever> it will "fail" fairly early in the initrd, and just not mount the rootfs
<pie_> hm
<pie_> what is that actually supposed to do btw
<clever> it allows getting a shell in the initrd, and then triggers a false error just before mounting things
<clever> causing stage-1 to ask you if you want a shell
<pie_> i mean is that what its officially supposed to be for? xD
<clever> debuging boot problems
<pie_> in any case thanks
<pie_> right now im in the middle of having added ro to fstab :I
<pie_> ...which did not make it ro, lmao
<pie_> (Wtf)
<clever> nixos overwrites fstab on bootup, and fstab doesnt effect stage-1
<pie_> i mean i did it with the config option, but ok
* pie_ doesnt know enough about the linnux boot process
<clever> pie_: for nixos, this script is baked into the initrd at /init, and the kernel will run that as pid 1 at bootup
<pie_> ok
<clever> that script is responsible for mounting / and running stage-2, in the same dir
<pie_> wait thats weird though, youre saying it doesnt obey fstab?
<clever> fstab is on the rootfs
<pie_> whats the point of even having the root in fstab then
<clever> stage-1 is responsible for mounting the rootfs
<clever> how can it read fstab?
<pie_> clever, yeah ok that makes sense
<clever> systemd gets upset if / isnt in the fstab :P
<pie_> shouldnt it just be some dummy entry then
<clever> line 450 of stage-1 is where it mounts all boot filesystems
<pie_> (fml i should have just made a separate live sysstem or something)
<clever> by reading the fsinfo file
<clever> pie_: this is the exact kind of situation that led to me writing rescue_boot.nix above :P
<pie_> clever, f****** hell though?
<pie_> so how do i plug in your rescue boot
<clever> just add ./rescue_boot.nix to your imports section, rebuild switch, and your done
<pie_> oh cool, makes sense
<clever> also, in the pre-systemd days, on linuxfromscratch, i have forced a machine back into single-user mode, and mounted the rootfs read-only, and imaged it
<clever> without causing any outage of its services, lol
<pie_> at least nixos makes things easy if you have leet friends
<clever> yep, lol
<pie_> jesus christ. idk why but im really worked up about this
<pie_> ---NOTE TO SELF----
<pie_> clever, how did you do that without a service outage?
<pie_> or do you mean not for the extent of actually rebooting
mayhewluke has quit [Ping timeout: 252 seconds]
<pie_> not, except for
<pie_> nixos is the best thing ever, it should excel at things like this too :P
mayhewluke has joined #nixos
<clever> pie_: in my case, it was on a router
<clever> so it still had to perform NAT
<clever> but thats a purely in-kernel job
<clever> so you just have to prevent any shutdown type scripts from trying to shutdown NAT
<pie_> wait
<pie_> wat xD
<pie_> oh...you didnt actually reboot
<clever> correct
* pie_ scratches head 0_0 xD
<clever> i just did 99% of a shutdown, by hand
<clever> and then remounted root read-only
<pie_> i mean i can see how thats possible
<clever> then i just booted every service back up when i was done
<{^_^}> [nixpkgs] @vbgl opened pull request #49091 → ocamlPackages.vg: 0.9.0 -> 0.9.1 → https://git.io/fxMdj
<pie_> thats pretty wizardy
vk3wtf has quit [Ping timeout: 250 seconds]
<clever> its fairly simple, just check `lsof -a` to see what has files open read/write, and stop it
<clever> repeat
<pie_> so how many days did that take you :P
<clever> under a day :P
<clever> it likely helped that this was in the rc.d days
<pie_> yeah....good luck with that today >_> you could probably get systemd to dump you a shutdown priority list
<clever> *looks*
<pie_> because i saw things alluding to the fact that you can get it to dump you the startup dependency list structure thing
<aleph-> Okay, so it does work with gnomecast only with firewall disabled. Hmm, time to tweak more ports
<pie_> i wonder if you could do that, edit out the services you dont want to stop, and run it through some script
wykurz has quit [Read error: Connection reset by peer]
<pie_> though if something errors in a slightly non obvious way ¯\_(>_>)_/¯ (i mean could the script detect everything without previous testing?)
<pie_> *could you write the script to not fail hard
<pie_> (not that i have any idea how something failing to shut down would take down a system but eh....
<clever> [root@system76:~]# ls -l /proc/*/fd/* | grep lrw | egrep -v 'shm|socket|inode|dev'
<clever> pie_: this lists most of the things keeping files open for writing
<clever> pie_: surprisingly few things, chrome, docker, nscd, it might still be possible
* pie_ waits for system to come back up
<pie_> clever, what were you thinking might stop it/
<pie_> inb4 systemd needs rw root access :P
<clever> pie_: just systemctl stop every service that has files open write
<clever> i dont think systemd actually has any such files
<CMCDragonkai> I'm confused as to how to use `package_data` in setup.py when building Nix packages for Python programs
<CMCDragonkai> I'm trying to put something in a python project rooted at `PROJECT/libexec/foobar`
<pie_> clever, sure, i just mean why wouldnt it have worked (maybe)
<CMCDragonkai> And then putting that has `package_data: { '': 'libexec/foobar'}`
<clever> pie_: i was expecting systemd to resist more :P
<CMCDragonkai> The `nix-build`, but it the resulting file is not there!
<Lears> Why do I get infinite recursion when I try to set `services.xserver.videoDrivers = mkIf (config.networking.hostName == "ahostname") [ "nvidia" ];`? Every other setting I've defined like this has been fine.
<clever> Lears: can you pastebin the backtrace when its ran with --show-trace ?
<pie_> clever, hm your rescue thing mentions ssh, what does "module" take? is it just like configuration.nix ?
jackdk has quit [Ping timeout: 246 seconds]
Lisanna has joined #nixos
<pie_> the squashfs image seems really slow to build...
<clever> yeah, that step is always slow
<clever> nix somehow disables the progress meter
<clever> pie_: yeah, module is just the contents of configuration.nix
<clever> so you can do module = { pkgs, config, ... }: { ... };
<pie_> ok cool
<pie_> " 31.13% of uncompressed filesystem size (1606558.86 Kbytes)" thats pretty big
hyper_ch2 has joined #nixos
<pie_> clever, you do a lot of neat stuff
<pie_> clever, uhh is $drive1 a grub thing? :P
<clever> oh, and rescue_boot needs a decent chunk of your /boot
<clever> yeah
<pie_> because its an embpty variable for me afaict
<clever> its a grub variable
<pie_> complains about not being able to find /rescue-kernel
<clever> it will be set by grub.cfg
<clever> oh, it also depends on how your /boot is setup
<clever> is /boot on its own partition?
<pie_> no
<clever> one sec
<pie_> its in root
<clever> pie_: i recently discovered @bootroot@, and have been meaning to test it on the rescue ssytem
<clever> i believe nixos will replace that with the right grub variable, for your setup
<pie_> well, ill give it a shot
<clever> @bootRoot@ actually, try fixing my nix file and doing another rebuild
<pie_> gotta wait another 20 seconds for the tinc service to fail to start (gotta love how thats blocking boot...)
<pie_> (might have been something i messed up)
alex``` has joined #nixos
aleph- has quit [Ping timeout: 246 seconds]
Thra11 has joined #nixos
<pie_> clever, lmao sigh, @bootRoot@ got replaced with ($drive1)/boot
<clever> Lears: skipping thru that, i can see the following nixos options, system.build, boot.loader.systemd-boot.enable, networking.hostName, nixpkgs.config, services.xserver.videoDrivers,
<pie_> well the error this time was (hd0,msdos1) not found
<pie_> which is reasonable since its an ext partition i guess?
<hyper_ch2> so, everybody's in London now or on the way :(
<clever> pie_: thats msdos partition type, partition 1
<hyper_ch2> clever: do you have any nice howto on how to properly package a bash script for nixos?
<clever> pie_: can you pastebin the entire grub.cfg ?
<pie_> hold on
<pie_> clever, looks like everything is using drive2
<hyper_ch2> not using writescriptbin but having the bash script in seperate files
<pie_> drive1 and drive2 both seem to be set to the same uuid though *shrug*
<clever> hyper_ch2: pkgs.substituteAll
* pie_ tries to figure out how to copy it
<pie_> ...i need a "copy to x clipboard over ssh" command xD
<clever> pie_: the xclip util can print the clipboard to stdout
<pie_> sure i mean im using a tty on the remote host
<pie_> but thats a yak shave for later
<clever> pie_: ssh box1 'DISPLAY=:0 xclip -something'
<pie_> clever, does xclip work without x11? anyway im just gonna use sshfs
<clever> pie_: the x in xclip stands for x11 :P
<pie_> thats why im saying that :P
<clever> you probably want screen, ctrl+[, ctrl+] and then paste it into ssh
<clever> or, `ssh box1 'cat /boot/grub.cfg' | xclip -something`
<clever> to load the stdout into the local clipbpard
<pie_> oh yeah i guess i can do that, not used to noninteractive ssh
<pie_> well, the rescue stuff definitely exists in the boot directory so somethings screwy with the cfg
<clever> did you add the extra ( and ) around @bootRoot@ ?
<pie_> no that was the substituter
<pie_> errr
<pie_> shit youre probably right
<pie_> i was just looking at how stuff is like ($drive2), didnt notice the @@ wasnt wrapped in the example you pasted
<pie_> im guessing this is somehow related to the disk syntax
<pie_> clever, so why do i have a seemingly duplicated drive 1 / drive 2 thing?
<pie_> ok rescue booted successfully
<clever> probably a quirk of how install-grub.pl works
<pie_> inb4 multiple disks make its output weird
<pie_> clever, does this rescue system have access to my usual nix store?
<pie_> ah ok guess not, just actually has some good tools for once :p
* pie_ gets to work for a few mibutes
<clever> it has its own nix store
<clever> and the rescue system runs entirely from ram, so all changes to it are lost at shutdown
<pie_> yeah i saw that after looking at mount output stuff
<clever> its essentially just another way to boot the install ISO
<clever> and includes the install-disk profile
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a8fe91de2ec (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
hotfuzz has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #49088 → mosquitto: 1.4.15 -> 1.5.3 → https://git.io/fxMy3
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fxMNR
hotfuzz_ has quit [Ping timeout: 268 seconds]
jasongrossman has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #49091 → ocamlPackages.vg: 0.9.0 -> 0.9.1 → https://git.io/fxMdj
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fxMN2
<{^_^}> [nixpkgs] @srhb pushed commit from @vbgl to release-18.09 « ocamlPackages.vg: 0.9.0 -> 0.9.1 »: https://git.io/fxMNV
<clever> Lears: not sure what the cause is, i would just break both the hostname and the xorg settings into their own file, and add them to imports
Thra11 has quit [Ping timeout: 245 seconds]
Mateon3 has joined #nixos
<{^_^}> [nixpkgs] @dywedir merged pull request #49068 → antibody: 3.7.0 -> 4.0.0 → https://git.io/fxMve
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fxMAs
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ddebab3575e (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Mateon1 has quit [Ping timeout: 264 seconds]
Mateon3 is now known as Mateon1
Theuni2 has joined #nixos
<Lears> My original goal was to move all settings other than the hostname from my machine specific configs into my base config module. So that doesn't really do it, but I guess I'll just leave the videoDriver setting in the machine's config.
<clever> Lears: i make a reverse tree out of my configs
vk3wtf has joined #nixos
<clever> Lears: so machine1.nix defines stuff unique to that machine, and has imports = [ ./core.nix ];
<clever> and then core.nix is the common things
<{^_^}> [nixpkgs] @FRidh closed pull request #49083 → Darwin sandbox → https://git.io/fxMPm
<clever> so you start at a root specific to that machine, and it works its way up the tree to core.nix
<Arahael> Wow, keepassx is *ancient* on nixos, how do I update it?
<Arahael> It's on version 0.4.4
<Arahael> Oh, wait - there's keepassxc, which is better.
<Lears> That's how I had it before clever, but I found it fragile and harder to tweak when I wanted to change how config depended on the machine or other factors.
<pie_> clever, ok so when the dd finishes and i want to reboot onto the new machine, i have two drives with both partitions of the same uuid, wat do?
<pie_> if avoidable i dont want to delete the old root partition yet
<pie_> clever, uhhh...if i did a rebuild switch while in the recovery thing did i just nuke my grub?
Itkovian has joined #nixos
<srhb> Are the nixcon streams going to be on the nixcon youtube channel? :) soon^tm
emily has quit [Ping timeout: 252 seconds]
Ariakenom has joined #nixos
<samueldr> srhb: I believe the word is: if everything goes fine it will :)
ThatDocsLady_ has joined #nixos
<samueldr> (things are being set up)
<srhb> samueldr: Right, I know the caveats when live streaming, been there done that. :D
<gchristensen> srhb: I'm still bummed you're not here, though!
<srhb> Me tooooo D:
<srhb> But I wish you an awesome conference :)
<srhb> I'll be leeching the vibe from over here :-P
<clever> pie_: i dont think the recovery has grub configured, so it shouldnt write to any MBR's
<pie_> clever, ok
<clever> pie_: there should also be utils to regenerate the uuid on ext4, google around for that
<pie_> clever, i guess that makes sense
<clever> then you can scramble the uuid of the old disk
<pie_> clever, i feel dumb now, dont i just change the disk boot order?
<clever> grub and linux will search all drives, and ignore the order
<pie_> ah well thats *also*an option but it would need an mbr on the other disk
<pie_> so yeah changing grub is best because im not sure i know my bios password
<pie_> hm but that assumes leaving the old grub intact. anyway based on the above i think i can figure it out, but bbl
<pie_> thanks as usual \o/
<clever> yep
palo_ has quit [Ping timeout: 244 seconds]
jasongrossman has joined #nixos
Tucky has joined #nixos
Theuni2 has quit [Ping timeout: 276 seconds]
lonokhov has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @timokau pushed to revert-46992-auto-update/ocamlbuild « Revert "ocamlPackages.ocamlbuild: 0.12.0 -> 0.13.0" »: https://git.io/fxMhd
sigmundv__ has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #49093 → Revert "ocamlPackages.ocamlbuild: 0.12.0 -> 0.13.0" → https://git.io/fxMhb
<{^_^}> [nixpkgs] @timokau merged pull request #49093 → Revert "ocamlPackages.ocamlbuild: 0.12.0 -> 0.13.0" → https://git.io/fxMhb
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fxMhx
<{^_^}> [nixpkgs] @timokau pushed 0 commits to revert-46992-auto-update/ocamlbuild: https://git.io/fxMhj
thc202 has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mmercier has joined #nixos
__monty__ has joined #nixos
Itkovian has joined #nixos
strobelight has quit [Read error: Connection reset by peer]
strobelight has joined #nixos
michas has joined #nixos
strobelight_ has joined #nixos
strobelight is now known as Guest94343
strobelight_ is now known as strobelight
Itkovian has quit [Read error: Connection reset by peer]
Guest94343 has quit [Ping timeout: 246 seconds]
brejoc has quit [Remote host closed the connection]
fpob has quit [Ping timeout: 252 seconds]
fpob has joined #nixos
<srhb> muh stream
Synthetica has joined #nixos
Itkovian has joined #nixos
<betaboon> does anyone have a tip on how to get pythons setuptools_scm (reading version from git tags) to work with 'src = ./.;' ?
Itkovian has quit [Ping timeout: 246 seconds]
Itkovian has joined #nixos
<{^_^}> [nixpkgs] @Toshibot opened pull request #49094 → Merge Pull Request → https://git.io/fxDJr
strobelight has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #49095 → steam: ran update-runtime.py → https://git.io/fxDJx
lord| has quit [Ping timeout: 244 seconds]
lord| has joined #nixos
commande1 is now known as commander
johanot has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lisanna has quit [Ping timeout: 246 seconds]
hamishmack has joined #nixos
eskytthe has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #49096 → [18.03] firefox{,-bin}: 62.0.3 -> 63.0 & nss: 3.38-> 3.39 → https://git.io/fxDkB
<{^_^}> [nixpkgs] @peti pushed 8 commits to haskell-updates: https://git.io/fxDkx
<{^_^}> [nixpkgs] @peti pushed 8 commits to master: https://git.io/fxDIv
mayhewluke has quit [Ping timeout: 246 seconds]
carlosdagos has quit [Quit: Connection closed for inactivity]
mayhewluke has joined #nixos
zarel has joined #nixos
<adisbladis> Nixcon stream has started: https://www.youtube.com/watch?v=FnMD4XstY7g
<srhb> \o/
<adisbladis> I can take questions over IRC
eskytthe has quit [Ping timeout: 268 seconds]
<betaboon> adisbladis: thanks :D
<betaboon> I'm alone in the office anyway. but not anymore :D
<{^_^}> [nixpkgs] @Mic92 merged pull request #42371 → breakpointHook: add for debugging failing builds → https://git.io/f4DXx
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/fxDtO
gchristensen changed the topic of #nixos to: NixCon live stream: https://www.youtube.com/watch?v=FnMD4XstY7g 25-27 Oct In London https://nixcon2018.org/ || NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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
gchristensen changed the topic of #nixos to: NixCon live stream: https://www.youtube.com/watch?v=FnMD4XstY7g https://nixcon2018.org/ || NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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
random_yanek has quit [Ping timeout: 264 seconds]
random_yanek has joined #nixos
zarel has quit [Ping timeout: 272 seconds]
Enzime has joined #nixos
<Enzime> how do I type a literal ${TEST}
<Enzime> inside a string in Nix?
<symphorien> ,escape" Enzime
<{^_^}> Enzime: " double quote: \" backslash: \\ bash curly bois: \${} newline: \n tab: \t "
<gchristensen> ''like this: ''${TEST} should do it''
<symphorien> ,escape''
<{^_^}> '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
schopp0r has joined #nixos
<Enzime> hey that's cool
<Enzime> \${} doesn't seem to work though... :\
<Enzime> wait no it does seem to be working
<Enzime> :)
<Enzime> thanks
<schopp0r> Hi.
Lisanna has joined #nixos
<Lisanna> kind of a strange question: is it possible to trick nix into thinking that a build is done, by e.g. sending a particular signal to the nix-daemon process running the build?
<ocharles> Hi all. I'm absolutely baffled by this. All of a sudden, our Hydra server has gone from taking 160s to evaluate a jobset to over 1000
<Lisanna> ocharles does the evaluation perform any import-from-derivations?
<ocharles> I have no idea why. All jobsets are doing this, and if I find the last 160s evaluation and compare against the next evaluation for a jobset, there is literally one line of code changed
<ocharles> yes, but it did before as well and was absolutely fine
<ocharles> it's just all of a sudden ground to a halt
<ocharles> I can't share hydra, but let me share some screenshots
wmertens has joined #nixos
<Lisanna> ocharles "journalctl -fu hydra-evaluator.service" might give some clues
<schopp0r> I am trying to compile nix. And it fails because of curl. https://pastebin.com/ypZZu3yf
<ocharles> already looked, unfortunately it doesn't
<Lisanna> but, FWIW, I've had miserable luck with any kind of IFD in hydra evaluations, so much so that I've purged all of them from my evaluations.
<clever> ocharles: if you manually run this on your release.nix, can you reproduce the slowness?
<ocharles> you mean locally on or hydra?
<clever> locally
<ocharles> I'll try.
<ocharles> Oh, I ran hydra-eval-jobs earlier, and timestamped everything
<ocharles> let me paste that
<Lisanna> I used to use an IFD to pin a specific version of nixpkgs, but that was giving me occasional lockups in hydra eval, so I had to switch it to having nixpkgs as a submodule in my private channel's git repo
<srhb> I've no problems with IFD in Hydra.
<{^_^}> [nixpkgs] @joachifm closed pull request #49094 → Merge Pull Request → https://git.io/fxDJr
<clever> Lisanna: builtins.fetchTarball is probably better
<ocharles> https://gist.github.com/ocharles/c5c619ecaebd0a857825054b1cfbd382 is hydra-eval-jobs, but timestamped
<clever> srhb: if localhost is setup as a build slave, it can sometimes cause such lockups
<srhb> Aside from the fact that it doesn't really give a lot of information during IFD builds. :)
<srhb> clever: Ah, I don't have localhost as a builder.
<ocharles> you can see that githubstatus alone took 6 minutes
<clever> ocharles: and can you confirm that with `nix-instantiate release.nix -A gitHubStatus` ?
<ocharles> as in `time` on that?
<clever> ocharles: line 50 is also interesting, gitHubStatus blew the heap up, and it restarted itself to shrink things
<clever> ocharles: yep
<ocharles> yea, I did notice that
<{^_^}> [nixpkgs] @joachifm closed pull request #49084 → Cpan update → https://git.io/fxMXq
Lisanna has quit [Remote host closed the connection]
<clever> ,profiling
<{^_^}> Use NIX_COUNT_CALLS=1 and/or NIX_SHOW_STATS=1 to profile Nix evaluation
<ocharles> it's just so werid that all of a sudden something caused the queue runner to change behavior everywhere
Lisanna_ has joined #nixos
<ocharles> the nix files haven't even changed
<clever> ocharles: after you confirm the issue with nix-instantiate, you can use the above to profile it
<srhb> ocharles: That might suggest that you hit some magical limit.
zarel has joined #nixos
<clever> ocharles: oh, githubstatus is a constituents job, that would explain some of it
<ocharles> there's the diff, and a 10x evaluation time 30 minutes later
<clever> ocharles: is the nix code public?
<ocharles> afraid not
<ocharles> there's quite a lot of it...
<clever> ocharles: can you reproduce the issue with nix-instantiate?
<ocharles> i'm running it now
<ocharles> let me try something other than githubstatus though
<ocharles> actually, maybe it is that one that's the problem
<ocharles> that and shell (which also builds a load of stuff) seem to be the ones where the time is wildly higher
<ocharles> i'm not entirely sure why but that instantiate right now is building the haskell foundation library rather than just pulling it from my hydra
<ocharles> (that'll be IFD stuff)
<clever> ocharles: ocharles oh, i notice shell is part of gitHubStatus
<clever> to speeding up shell will also speed up gitHubStatus
<ocharles> githubstatus is all jobs in that jobset
<ocharles> i'll paste jobs.nix
<clever> the restarting on line 50 could be part of whats making it slower
<clever> it throws out the nix heap to make things run "faster"
<clever> but that means it has to re-run the nix gitHubStatus just ran, because it covers everything
<gchristensen> setting policy during Q&A at NixCon :/
<clever> but for even shell to cause it to trigger again, and to be so slow
<clever> ah, and shell is another aggragate
wmertens has quit [Remote host closed the connection]
<clever> brb
<srhb> gchristensen: "I was told it was okay at Nixcon, therefore...!"
<ocharles> i think srhb might be right that all of a sudden i've just hit a threshold
<ocharles> srhb: oh, i didn't conect your name with your name on youtube. hi!
<srhb> ocharles: Hi! I don't think we've ever spoken directly, so I'll take the opportunity to say thank you for all your lovely blog posts.
<ocharles> Ah, you're welcome!
schopp0r has quit [Quit: Page closed]
<clever> back
zarel has quit [Ping timeout: 244 seconds]
<clever> ocharles: looks like your just making an aggregate over every buildInput in shell.nix, can that be added to the gist?
<ocharles> as in shell.nix?
<clever> yeah
<ocharles> let me just push the whole nix directory somewhere, I think it'll be ok here given that i've complete hamstrung the entire dev team
<clever> ok, so that will have a ghc, and all kinds of tools
<clever> yeah, thats a lot of things
<ocharles> sure, but so's nixpkgs, and hydra.nixos.org can evaluate that :)
<ocharles> it's just weird that for a year it's been fine with this
<clever> ocharles: try adjusting `--option evaluator_max_heap_size $((1024*1024*1024))` maybe, when you run hydra-eval-jobs locally
<clever> and see if that effects it
schopp0r has joined #nixos
<ocharles> you can pass that hydra-eval-jobs?
<ocharles> i'll just do that on the hydra box
<clever> i think you can
<schopp0r> my god ... nix (and nixos) are nice, but when trying to compile it you notice what a big compostheap this software is. it is *really* badly written :(
<ocharles> interesting
<ocharles> thanks srhb, never thought about configuring this
<srhb> schopp0r: I think criticism like that is best phrased in a more constructive fashion. :)
eskytthe has joined #nixos
ixxie has joined #nixos
<schopp0r> srhb: dunno what to say constructive about it :( it is a grown piece of software that nobody can fully understand anymore. it's not like other software was different.
<srhb> schopp0r: My main point was really to avoid calling peoples' work compost. I'm sure you can work it out. :-)
<schopp0r> srhb: the thing is: compilation is not really documented anywhere, and asking questions about compilation errors is mostly useless (even though I tried it in this new discourse (hail capitalism!) thingy) because nobody seems to compile nix anymore or something.
orivej has joined #nixos
scribbler has joined #nixos
<srhb> schopp0r: That post from 15 minutes ago?
<schopp0r> srhb: but ok, constructive criticism: give an option to *not* compile the documentation (I needed to sledgehammer this out of the makefiles)
* srhb nods
scribbler has quit [Remote host closed the connection]
<srhb> schopp0r: Is there a reason you're not compiling nix using Nix? Your question doesn't seem to preclude that option.
<schopp0r> srhb: I cannot use Nix without having Nix.
<ocharles> clever: still running btw, so that doesn't seem to have been the fix
<schopp0r> srhb: or do you mean some cross-compiling-stuff?
<ocharles> clever: I'm just going to rebuild an actual build that has a known duration and see if that still builds in the same duration. I also saw a nix-build go from 6 minutes to 24 minutes, so I'm wondering if it's the machine itself...
<srhb> schopp0r: I was thinking about something like that, but I'm not too sure how to proceed with that line of thought really.
<schopp0r> srhb: I mean, I have a computer with nixos. I could probably write a shell with a nix with another store-dir. but how would I get this shell to another computer? nix-copy-closure only works with an already running nix...
<symphorien> schopp0r: it is enough to tar the whole store
<schopp0r> symphorien: so … create a shell with overridden configure-flags (--with-store-dir=...), compile it on nixos. then use *this* nix to compile nix in the other store-dir. and then copy this store-dir?
<ocharles> clever: that hydra-eval-jobs call produced "Oct 25 10:52:39 restarting hydra-eval-jobs after job 'gitHubStatus' because heap size is at 7479033856 bytes"
<ocharles> so maybe it can't take that option
<__monty__> schopp0r: Is installing a binary an option?
<ocharles> actually, 7479033856 > 1024*1024*1024
<symphorien> schopp0r: on nixos, use the vanilla nix with environment variables to build nix again but in another location: https://github.com/NixOS/nix/blob/master/tests/common.sh.in#L4
<symphorien> then tar this directory
<Lisanna_> schopp0r the compilation is documented exactly in the form of its nix derivation. it tells you what all the dependencies are. it should be very straightforward to map from its nix derivation to whatever your local distro's package equivalents are. beyond that, it's just an autotools project.
<symphorien> copy it overt
<symphorien> *over
<symphorien> and then you have a workning nix on the destination
<srhb> schopp0r: From your errors, I also get the feeling you're not building a maintenance branch..
<betaboon> schopp0r: about the documentation. how about ./configure --disable-doc-gen ?
<schopp0r> Lisanna_: the compilation fails though the configure script runs through and all dependencies are met. Compiling the documentation fails because of xmllint-crap. Compiling libexpr fails because of bison-crap (who the hell uses bison when there is boost::spirit). And compiling the rest now fails because of what I pasted minutes ago.
<schopp0r> srhb: I build from the tarball that can be downloaded.
<schopp0r> betaboon: I didn't find that option in ./configure --help, must have overread it, will try, thx
patrl1 has joined #nixos
<betaboon> schopp0r: I'm on master and ./configure --help documents that option (after running ./bootstrap.sh ofc)
<schopp0r> betaboon: ok, maybe I should try out the git version
<betaboon> schopp0r: what version are you trying to build anyway ?
<schopp0r> betaboon: the tarball that can be downloaded from nixos.org. I think 2.1.3
zarel has joined #nixos
<betaboon> schopp0r: if you dont want to clone using git, you can still download a zip-file from maintenance branches from github
<schopp0r> betaboon: I wanted a stable version. but now I try master.
<betaboon> schopp0r: in github just change to a mainenance branch (eg 2.1-maintenance) and the use the download-as-zip button
<schopp0r> betaboon: cloning is not the problem. I just thought to use the tarball because normally source tarballs are from stable versions.
<schopp0r> meh :( from the git version with --disable-doc-gen: src/libexpr/parser.y:14.1-5: invalid directive: `%code'
<srhb> Cannot reproduce.
<schopp0r> ok ... I need a new bison according to https://github.com/argvk/jsonxx/issues/1
<{^_^}> argvk/jsonxx#1 (by shrayasr, 4 years ago, open): Not building on Mac OSX 10.8
<schopp0r> this will be fun \o/
<srhb> schopp0r: Have you tried actually using the tool versions that the shell.nix specifies, or what versions are you using?
<symphorien> schopp0r: did you see what I said ?
<schopp0r> symphorien: you said "copy it over". I didn't understand what you mean and didn't want to offend you by asking about it.
<symphorien> let's say you export NIX_STORE_DIR=/tmp/nix/store and other variables as exposed in https://github.com/NixOS/nix/blob/master/tests/common.sh.in#L4
<symphorien> then you run nix-build "<nixpkgs>" -A nix
iyzsong has joined #nixos
haitlah has joined #nixos
<haitlah> Hello guys !!
<symphorien> the scp -r /tmp/nix othermachine:/tmp/nix
eskytthe has quit [Ping timeout: 276 seconds]
<symphorien> and then /tmp/nix/store/some-hash-nix/bin will contain nix
<symphorien> you will recompile a lot of thinks in between but it should work
<schopp0r> symphorien: ok, that looks nice
Phillemann has joined #nixos
<Phillemann> Where do the Xorg logs go? I run journalctl --unit display-manager.service, but I don't find the typical Xorg log.
<Phillemann> It just says "Starting...process has exited" basically.
<ocharles> Phillemann: I believe /var/log/
<srhb> Yes, /var/log/Xorg.$disp.log
<Phillemann> Oh, I thought nix rerouted that.
<Phillemann> At least it did at some point.
<srhb> I think there might be an option for that somewhere..
<symphorien> depends on the display manager
<symphorien> I have heard people complain that lightdm cannot send the logs anywhere else
<srhb> Aha
<Phillemann> Ah, okay.
krav_ has joined #nixos
patrl1 has quit [Ping timeout: 252 seconds]
gchristensen changed the topic of #nixos to: NixCon live stream: https://www.youtube.com/c/NixCon/live https://nixcon2018.org/ || NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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
avalan is now known as dweller
<ixxie> I have been recently introduced to semantic versioning, and I had this funny thought about what it would be like for Nix to be aware of semantic versions
<sphalerite> ixxie: shlevy talked about related stuff at the pub yesterday :p
<ixxie> dang I wish I could be there
<ixxie> it does go against build purity somehow
<ixxie> but it would result in more secure builds
silver has joined #nixos
<ben> "semantic versioning" is the scheme where everybody prefixes their version string with "0.", right? I think I've seen that in the rust community
<gchristensen> exactly
<ben> anyone know if there's plans to make opengl work out of the box for nixpkgs-installed apps outside of nixos?
zarel has quit [Ping timeout: 246 seconds]
tilpner has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f5689d5d6b9 (from 17 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
tom39291 has joined #nixos
<ixxie> ben: https://semver.org/
<ixxie> "MAJOR.MINOR.PATCH - increment the MAJOR version when you make incompatible API changes, MINOR version when you add functionality in a backwards-compatible manner, and PATCH version when you make backwards-compatible bug fixes. Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format."
<gchristensen> ben's joke is poignant since youf you stick a 0 in the front you can do anything at any time and no semver rules apply
<ixxie> lol
<gchristensen> Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable.
<ixxie> I see
<ixxie> didn't catch that
<ben> Yeah, and the rust community is super hesitant to declare anything "stable", so you get widely-used libraries in perpetual 0.x.y state
<ixxie> heh
<ben> cf https://crates.io/ "Most Downloaded"
<gchristensen> :(
<ixxie> the problem is its hard to reliably know who uses semver properly and who is just winging the version increments
hyper_ch2 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @alyssais opened pull request #49097 → weechat: 2.2 -> 2.3 → https://git.io/fxDlt
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<gchristensen> elm has cool automation around that
hyper_ch2 has joined #nixos
<betaboon> I'm struggeling with using multiple overlays defining python-packages. can anyone tell me what i got wrong? https://gist.github.com/betaboon/a0cef055564b51e61bf7a311f7aa7fdc
johanot has quit [Ping timeout: 276 seconds]
<clever> betaboon: when you call .override on python3, it overwrites any previous args you set with .override
<srhb> betaboon: You probably also don't want to use py-super.callPackage
<betaboon> clever: so how then can i have multiple overlays that define pythonpackages?
<srhb> betaboon: py-self.callPackage will know about every addition.
<srhb> Because that's the _final_ callPackage
<betaboon> srhb: i thought it was good practice to use super.callPackage ?
<srhb> But you will indeed have to chain the packageOverrides according to the above, which is meh..
<srhb> betaboon: Hm? Where'd you get that idea?
<srhb> Maybe I'm spewing nonsense then.
<betaboon> for normal packages outside of pythonpackages it works fine
<clever> betaboon: the problem currently is more that .override makes it such that only one packageOverrides param works
<clever> and i dont think python is using newScope, so overrideScope/extends arent available
<betaboon> clever: meh. so any hint on how to acchieve this ? oO
<clever> betaboon: you would need to compose the overlays together yourself, into a single self: super: function
<clever> i do agree that both python and haskell accepting a self: super: function is sorta useless when you can only give one
abcrawf has quit [Remote host closed the connection]
viric_ is now known as viric
<Myrl-saki> I wasn't sure whether to ask this during the sandbox presentation, so I'll just ask it here.
<betaboon> maybe nbp does another talk about overlays later on ? XD
<Myrl-saki> What to do when your program needs fontconfig?
<Myrl-saki> Err
<Myrl-saki> s/program/document/
<nbp> betaboon: I am not even attending NixCon, so even less likely to present.
o1lo01ol1o has joined #nixos
<betaboon> nbp: :'(
abcrawf has joined #nixos
<betaboon> nbp: maybe you got a suggestion on the pythonPackages with overlays situation ?
<nbp> betaboon: yes, rewritting pythonPackages.
<clever> bbl
<betaboon> nbp: i guess that is out of scope of my afternoon :D
ottidmes has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
<nbp> betaboon: The idea is either we wait for Eelco proposal, or we start ahead and do the thing that I suggested with overrideWithScope thingy.
o1lo01ol1o has quit [Remote host closed the connection]
aw has joined #nixos
spacefrogg has joined #nixos
<{^_^}> [nixpkgs] @loskutov opened pull request #49098 → aircrack-ng: 1.2 -> 1.4 → https://git.io/fxDBf
iyzsong has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<schopp0r> hm. ok, another constructive criticism: as nix is using boost anyway, get rid of the bison-depencency and use boost::spirit instead. and try to get rid of perl.
iyzsong has joined #nixos
<ocharles> we are trying to get rid of perl
<schopp0r> ocharles: (y)
<ocharles> that is an ongoing effort
<schopp0r> very good.
<alex```> How to change /bin/sh?
<alex```> I want set it to dash
<alex```> lrwxrwxrwx 75 root 25 Oct 8:09 /bin/sh -> /nix/store/v0x81k3riiq2h1wmb327n7l4v5y4acdz-bash-interactive-4.4-p23/bin/sh
strobelight has joined #nixos
<dtz> that is not likely to work very well
<dtz> but
<dtz> `environment.binsh` is the setting you're looking for. But it's likely to cause lots of things to fail if not bash, which is why it's not in the manual I think.
<dtz> I want to say that if it's statically linked a few things get grumpy, although I think they're easy to fix
<dtz> and not only should be bash but intentionally pulls in ncurses + readline, lol
<dtz> :(
<dtz> so I don't know a lot about dash, maybe it'll work better than I'm saying but if not you should be warned :)
worldofpeace has joined #nixos
<elvishjerricco> Can compton be restarted without re-logging?
rprije has quit [Remote host closed the connection]
<dtz> think so--if it's a user service you can just do 'systemctl --user restart compton' or so
<elvishjerricco> dtz: Thanks, works perfectly
<dtz> \o/
rprije has joined #nixos
haitlah has quit [Remote host closed the connection]
schopp0r_ has joined #nixos
schopp0r has quit [Ping timeout: 256 seconds]
viric has quit [Remote host closed the connection]
viric has joined #nixos
viric has quit [Remote host closed the connection]
viric has joined #nixos
viric has quit [Remote host closed the connection]
viric has joined #nixos
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
<dtz> alex``: (see above for some info about your /bin/sh -> dash question)
zarel has joined #nixos
<dtz> alex``: could be a fun project, but just ... it may be a project :).
jtojnar has joined #nixos
b1000101 has joined #nixos
viric has quit [Remote host closed the connection]
viric has joined #nixos
mayhewluke has quit [Ping timeout: 245 seconds]
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #48728 → nixos/eternal-terminal: init new module. → https://git.io/fxo8v
<{^_^}> [nixpkgs] @Ma27 pushed 4 commits to master: https://git.io/fxDEb
pie__ has joined #nixos
pie__ has quit [Remote host closed the connection]
pie_ has quit [Ping timeout: 246 seconds]
pie__ has joined #nixos
Lisanna_ has quit [Ping timeout: 246 seconds]
johanot has joined #nixos
zarel has quit [Ping timeout: 245 seconds]
Dedalo has joined #nixos
eskytthe has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #49099 → Backport breakpointHook → https://git.io/fxDgU
averell has quit [Quit: .]
b1000101 has quit [Ping timeout: 256 seconds]
iyzsong-x has joined #nixos
iyzsong has quit [Ping timeout: 245 seconds]
averell has joined #nixos
mmercier has quit [Ping timeout: 260 seconds]
reinzelmann has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @vdemeester opened pull request #49101 → containerd: 1.1.4 -> 1.2.0 → https://git.io/fxDVk
camsbury has joined #nixos
zarel has joined #nixos
Lisanna has joined #nixos
zarel has quit [Ping timeout: 276 seconds]
<Lisanna> @Mic92 wow, awesome sandbox talk
Mr_Keyser_Soze99 has joined #nixos
<worldofpeace> ^
<rycee> Anybody involved with the streaming here? I tried embedding the live stream into the #Nix Matrix room but it says "Playback on other websites has been disabled by the video owner".
<srhb> rycee: goibhniu
<goibhniu> I think YouTube won't allow me to set that option ... but I'll check again soon, thanks!
<rycee> Great. Thanks. No big worry. Just figured it would be neat to embed the video in the chat room 😃
lonokhov has quit [Quit: WeeChat 2.2]
iyzsong-x has quit [Ping timeout: 252 seconds]
eskytthe has quit [Ping timeout: 252 seconds]
Mr_Keyser_Soze99 has quit [Read error: Connection reset by peer]
Mr_Keyser_Soze99 has joined #nixos
vaibhavsagar has joined #nixos
obadz has quit [Ping timeout: 252 seconds]
shlevy has joined #nixos
<shlevy> Getting a bunch of "assertion 'buf != NULL' failed" from gdk_pixbuf and then a fatal "Could not load cached PNG image for slide 0: Unrecognized image file format" when trying to run pdfpc. Anyone seen this?
<shlevy> Looks like some missing support in gdk pixbuf or something?
<{^_^}> [nixpkgs] @DerTim1 opened pull request #49103 → elixir: 1.7.3 -> 1.7.4 → https://git.io/fxDo2
<Mic92> Lisanna: thanks
<{^_^}> [nixpkgs] @Mic92 merged pull request #49097 → weechat: 2.2 -> 2.3 → https://git.io/fxDlt
hyper_ch2 has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxDo1
<shlevy> Do I need a proper window manager maybe? :D
<{^_^}> [nixpkgs] @Mic92 merged pull request #49086 → zsh-completions: 0.28.0 -> 0.29.0 → https://git.io/fxMDJ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxDKv
eskytthe has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #49063 → python36Packages.adal: 1.0.2 -> 1.2.0 → https://git.io/fx1h5
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxDKZ
siers has joined #nixos
<siers> Has wikipedia been packaged for nixos?
<siers> or if not is it easily packagable?
<lassulus> can wikipedia be packaged? what should a wikipedia package do?
<siers> you could deploy it to server
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<siers> oh, I guess I'm talking about mediawiki, which is the software :P
<lassulus> oh, ic
obadz has joined #nixos
<lassulus> it seems, that there is a mediawiki service which should work with apache, but I'm not sure how to use it
<{^_^}> [nixpkgs] @Mic92 merged pull request #48984 → r8168 backport → https://git.io/fx1UY
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.09: https://git.io/fxDK7
<samueldr> siers, lassulus look into the nixos tests, there's an example for wordpress which uses the same configuration thing
<samueldr> last time I tried it worked, though you'll need to use apache httpd
<siers> it doesn't work with nginx?
<samueldr> the way that particular mediawiki thing is developed, no
<samueldr> but that's not that it's impossible, it's just *that* thing you saw that is apache-only
<siers> gotcha
jabranham has joined #nixos
jperras has joined #nixos
<samueldr> I have this dirty hack I was checking months ago https://gitlab.com/samueldr.nix/nixos.wiki
aminechi1haoui is now known as aminechikhaoui
<samueldr> if it helps in any way
<{^_^}> [nixpkgs] @Mic92 merged pull request #48982 → neovim-remote: 2.0.5 -> 2.1.0 → https://git.io/fx1f6
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxD6C
<samueldr> (I didn't know for sure it was online)
Dedalo has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #49057 → python36Packages.chameleon: 2.25 -> 3.5 → https://git.io/fx1x5
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxD60
<{^_^}> [nixpkgs] @Mic92 merged pull request #49103 → elixir: 1.7.3 -> 1.7.4 → https://git.io/fxDo2
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxD6V
<jabranham> How do I request that the R CRAN packages get updated?
obadz has quit [Ping timeout: 252 seconds]
patrl1 has joined #nixos
<Synthetica> There's probably an update script somewhere
johanot has quit [Ping timeout: 240 seconds]
eskytthe has quit [Ping timeout: 272 seconds]
<Phillemann> Simple question: I'd like to have a simple boolean to switch two hardware configurations.
<Phillemann> Is there a way to do an "if mybool hardware.foo.bar = "x";"?
<Myrl-saki> I wasn't able to watch the last 2 talks until now.
<Phillemann> Ahhh wait, I probably can use: hardware.foo = if mybool then {} else {...}
<Myrl-saki> `extend` is pretty similar to `override*`, is there anything that's unrepresentable(and also useful) if we use recursive merge instead of the current merge?
zarel has joined #nixos
vaibhavsagar has quit [Quit: Leaving]
<Phillemann> Damn, is there "nixfmt" or something I can use as a pretty printer?
sir_guy_carleton has joined #nixos
vaibhavsagar has joined #nixos
<vaibhavsagar> Phillemann: closest thing I'm aware of is HNix, which does do this
<Synthetica> HNix doesn't save comments, so it might not do what you want
<vaibhavsagar> oh, I didn't realise that
nh2 has joined #nixos
<{^_^}> #49071 (by albertov, 19 hours ago, open): ld.gold crashes or produces invalid executables when Musl is used as a libc
johanot has joined #nixos
<shlevy> Someone should really fix that :(
dbmikus_ has joined #nixos
dbmikus_ has quit [Ping timeout: 264 seconds]
drakonis1 has joined #nixos
dbmikus_ has joined #nixos
ThatDocsLady_ has quit [Ping timeout: 264 seconds]
<nh2> clever: you probably want to ping dtzWill about that
<{^_^}> [nixpkgs] @zarelit opened pull request #49104 → mailcatcher: repackage using bundlerApp → https://git.io/fxDMI
<nh2> clever: try with the version I pinned at https://github.com/NixOS/nixpkgs/issues/49071#issuecomment-433019001
emily has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #49060 → mopidy-iris: 3.27.1 -> 3.28.1 → https://git.io/fx1px
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxDMa
wmertens has joined #nixos
obadz has joined #nixos
zarel has quit [Ping timeout: 240 seconds]
hyper_ch2 has joined #nixos
wmertens has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @abrenk opened pull request #49106 → nixos/hardware: add udev rules for Ledger Nano S → https://git.io/fxDDK
akavel_ has joined #nixos
ryantrinkle has joined #nixos
robstr has joined #nixos
akavel_ has quit [Client Quit]
obadz has quit [Ping timeout: 268 seconds]
<yurb> Anyone using Ardour with nixpkgs/nixos?
<yurb> I've installed ardour5 and calf effect plugins, but ardour doesn't seem to find the calf plugins.
<Synthetica> If it's anything like other things with plugins, you can't just put both in your path and expect it to work
pie__ has quit [Ping timeout: 252 seconds]
<jophish> What's the correct way of adding a file to the store and getting a hash for 'fetchurl' which won't redownload the file
<{^_^}> [nixpkgs] @maljub01 opened pull request #49107 → nixos/nextcloud: fix a typo → https://git.io/fxDSu
zarel has joined #nixos
<jophish> I tried adding with nix-store --add and using the hash from nix-hash --type sha256 --base32
wmertens has joined #nixos
hyper_ch2 has quit [Ping timeout: 256 seconds]
mmercier has joined #nixos
<yurb> Synthetica: Makes sense, ardour should know the nix store path where they got installed
<yurb> What's the usual way this is done in nix?
haitlah has joined #nixos
robstr has quit [Quit: Page closed]
<Synthetica> There various ways
<haitlah> Hello guys
<haitlah> I'm here again
<Synthetica> Things like `python3WithSomePackages = pkgs.python3.withPackages (ps: with ps; [ scapy ipython hypothesis pyyaml pandas numpy matplotlib ]) ;`
<Synthetica> (From my configuration.nix)
obadz has joined #nixos
<clacke[m]> installing things in .nix-profile and telling the software to look for plugins there is common
<haitlah> Can anyone help me with nix in docker
<haitlah> I am running the official nixos/nix docker image
<clacke[m]> Yeah, generating a new derivation for the configuration of software + plugins is common too
<haitlah> I am using postgresql inside and initdb does not allow me to run it as root
<haitlah> So I would like to create a different user
<Synthetica> And I don't know how Ardour does things, but I could imagine that it's similar
<haitlah> But I'm having trouble, when creating a different user, I got a permission denied whenever I try to nix-env
<haitlah> error: opening lock file '/nix/var/nix/db/big-lock': Permission denied
<haitlah>
schopp0r_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @erictapen opened pull request #49108 → osrm-backend: 5.18.0 -> 5.19.0 → https://git.io/fxD9L
<haitlah> I tried to add a step RUN nix-daemon and export NIX_REMOTE=daemon but it hang indefinitely when building the image...
<clever> haitlah: is this nixos or another distro?
<{^_^}> [nixos-homepage] @caugner opened pull request #247 → Fixes the package/options search user experience → https://git.io/fxD9q
<drakonis1> clever: nix in docker, so other distro
<haitlah> clever: NixOS/docker image
<yurb> clacke[m]: thanks, makes sense. I will try to configure ardour this way. I see they got installed under ~/.nix-profile/lib/lv2
devx has quit [Quit: . .. ...]
<haitlah> its based on alpine
<vaibhavsagar> btw is there a docker container with NixOS?
<clever> haitlah: is nix-daemon setup and running in the docker image, as "root" ?
<vaibhavsagar> I had a look and I can't find one
<haitlah> clever: I added a step in the dockerfile RUN nix-daemon before switching the user
<haitlah> But it hangs indefinitely...
<clever> haitlah: nix-daemon has to be ran in the background, since its a service
<clever> without nix-daemon, only users that have +w to /nix can use nix commands
<haitlah> clever: This is what I am trying to achieve
<haitlah> clever: Having the daemon running to serve the users
<clever> haitlah: what happens if you did `RUN nix-daemon &` ?
<haitlah> clever: error like before, saying there is no daemon socket
<haitlah> error: cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': No such file or directory
<haitlah>
<yurb> setting $LV2_PATH to ~/.nix-profile/lib/lv2/ fixed it
<clever> haitlah: are you able to check the pstree and confirm/deny if nix-daemon is actually running?
genesis has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill merged pull request #49002 → libinput: 1.12.1 -> 1.12.2 → https://git.io/fx1Zg
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fxDHe
<haitlah> Step 4/19 : RUN nix-daemon &
<haitlah> ---> Using cache
<haitlah> ---> fde265b5c063
<haitlah> Step 5/19 : RUN ps cax
<haitlah> ---> Running in ad8cda1b2c4a
<clever> dtz: https://gist.github.com/cleverca22/524f8c66824159547e340448124bac0d ran into a really weird problem downloading the bootstrap utils from your machine
<haitlah> PID USER TIME COMMAND
<haitlah> 1 root 0:00 ps ca
<haitlah>
<clever> haitlah: i think docker is spinning up a new container for each RUN in your docker file
<clever> and all processes from the previous ones are gone
<clever> dtz: it looks like builtin:fetchurl is unxz'ing when it shouldnt!
<haitlah> clever: So I have to run it in the entrypoint
<jophish> Is it possible to patch the rpath of a shared object without a .interp section?
<clever> jophish: should be just a matter of patchelf --set-rpath
Itkovian has quit [Remote host closed the connection]
<jophish> clever: patchelf complains about a missing .interp section
<jophish> I think, let me check
<clever> jophish: what does file report about the binary?
eskytthe has joined #nixos
<{^_^}> [nixpkgs] @lheckemann opened pull request #49109 → Nix index backport → https://git.io/fxDQt
<jophish> clever: ...libjvm.so: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=2e53d20557748b82d0462318daa22acfedc169df, not stripped
sigmundv__ is now known as sigmundv
<jophish> and patchelf says: cannot find section .interp
<clever> jophish: and you cant just use a libjvm thats in nixpkgs?
<clever> ,locate libjvm.so
<{^_^}> Found in packages: zulu, jre.jre, bootjdk, scilab-bin, jetbrains.jdk, jetbrains.idea-community, jetbrains.pycharm-community
<jophish> clever: I could try, but that tends to be a bit of a rabbit hole
<jophish> this is for altera quartus
<jophish> binary distribution
<clever> jophish: ah
aleph- has joined #nixos
pie__ has joined #nixos
<{^_^}> [nixpkgs] @WilliButz opened pull request #49110 → grafana: 5.3.1 -> 5.3.2 → https://git.io/fxDQF
<jophish> clever: in fact, none of the few objects in the install I sampled have an interp section or an RPATH
<clacke[m]> if you want nix-daemon running in your docker while you do something else, you should look into s6-overlay
b1000101 has joined #nixos
o1lo01ol1o has joined #nixos
<jophish> I don't know a huge amount about how patchelf works, but could it be this: https://github.com/NixOS/nixpkgs/issues/41729
<{^_^}> #41729 (by obadz, 19 weeks ago, open): file 5.33 confuses ELF shared libraries as executables [was: patchelf: cannot find section .interp on Citrix Receiver after some upgrades]
obadz- has joined #nixos
<jophish> indeed, file declares that these are executables and not shared objects
obadz has quit [Ping timeout: 272 seconds]
obadz- is now known as obadz
wmertens has quit [Remote host closed the connection]
johanot has quit [Ping timeout: 252 seconds]
zarel has quit [Ping timeout: 272 seconds]
<clever> jophish: sounds more like they are static ELF's and dont need patchelf
rprije has quit [Read error: Connection reset by peer]
johanot has joined #nixos
eskytthe has quit [Ping timeout: 240 seconds]
rprije has joined #nixos
dbmikus_ has quit [Ping timeout: 246 seconds]
obadz has quit [Ping timeout: 268 seconds]
obadz has joined #nixos
b1000101 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @bricewge closed pull request #30936 → emojione: add fontconfig module → https://git.io/vFLgG
<{^_^}> [nixpkgs] @WilliButz opened pull request #49111 → grafana: 5.2.4 -> 5.3.2 → https://git.io/fxD5Y
eskytthe has joined #nixos
erasmas has joined #nixos
Rusty1 has joined #nixos
eskytthe has quit [Ping timeout: 240 seconds]
<betaboon> anyone has any suggestions on how to handle nixops-state-files with git-branches ?
johanot has quit [Ping timeout: 246 seconds]
wmertens has joined #nixos
<jophish> clever: file reports them as dymanic though
<clever> jophish: what about readelf?
<jophish> clever: readelf -h reports: DYN (Shared object file)
<clever> not sure then
<jophish> clever: I think I'll switch to readelf instead of file
<jophish> see if that helps
Itkovian has joined #nixos
wmertens has quit [Ping timeout: 244 seconds]
johanot has joined #nixos
<jophish> clever: can readelf tell me if something is dynamically linked?
b1000101 has joined #nixos
<clever> jophish: it doesnt clearly say that, but i think it can be infered by the lack of .interp
aleph- has quit [Ping timeout: 252 seconds]
<jophish> mmm, ok
<jophish> I'll keep using file for that then
<jophish> and use readelf for detecting shared objects
eskytthe has joined #nixos
dbmikus_ has joined #nixos
mmercier has quit [Quit: mmercier]
<{^_^}> [nixpkgs] @erictapen opened pull request #49112 → mapmap: mark broken → https://git.io/fxDbZ
kim0 has quit [Quit: Connection closed for inactivity]
zarel has joined #nixos
dbmikus_ has quit [Ping timeout: 252 seconds]
sigmundv has quit [Ping timeout: 245 seconds]
dbmikus_ has joined #nixos
Itkovian has quit [Read error: Connection reset by peer]
Itkovian_ has joined #nixos
<sphalerite> domenkozar: I'd quite like to be the new release manager :) had a chat with samueldr and we don't really know who else to talk to
<samueldr> (vcunat isn't online, might as well grab him after the next block)
<sphalerite> yep
wmertens has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #49107 → nixos/nextcloud: fix a typo → https://git.io/fxDSu
<{^_^}> [nixpkgs] @globin pushed commit from @maljub01 to master « nixos/nextcloud: fix a typo »: https://git.io/fxDNM
fpob has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @globin merged pull request #49110 → grafana: 5.3.1 -> 5.3.2 → https://git.io/fxDQF
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fxDNF
<Synthetica> Is there ever a usecase for `"${x}"`, or can it always be replaced by just `x`?
fpob has joined #nixos
<jophish> ah, that's working a lot better, although now I'm hitting 'cannot find section .gnu.version_r'
<adisbladis> Synthetica: Coercion?
<{^_^}> [nixpkgs] @Mic92 opened pull request #49113 → nix-review: 0.5.2 -> 0.5.3 → https://git.io/fxDA2
eskytthe has quit [Ping timeout: 272 seconds]
<adisbladis> Synthetica: For most cases you could replace "${x}" with x
<Synthetica> What are some types that can be coerced to string?
<adisbladis> But lets say x is a derivation, then "${x}" would coerce it into a store path
<Synthetica> Ah, right
<jophish> is it possible to add a section to a shared object?
<{^_^}> [nixpkgs] @Mic92 merged pull request #49113 → nix-review: 0.5.2 -> 0.5.3 → https://git.io/fxDA2
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxDxT
acarrico has quit [Ping timeout: 246 seconds]
<arianvp> gchristensen could you add me to ofborg?
<tilpner> Synthetica - let p = ./foo; in p => /some/path/foo
<tilpner> Synthetica - let p = ./foo; in "${p}" => /nix/store/*-foo
<haitlah> clever: are you here :) ?
Ariakenom has quit [Ping timeout: 252 seconds]
Mr_Keyser_Soze99 has quit [Ping timeout: 244 seconds]
<clever> haitlah: yeah
acarrico has joined #nixos
b1000101 has quit [Ping timeout: 256 seconds]
mayhewluke has quit [Ping timeout: 252 seconds]
<haitlah> Well I finally managed to get it working in my container
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #49065 → mate.python-caja: 1.20.0 -> 1.20.1 → https://git.io/fx1jD
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxDpY
<haitlah> clever: Now I found nix-env has not created a profile for my user
<{^_^}> [nixpkgs] @Mic92 merged pull request #49061 → python27Packages.ipaddr: 2.1.11 -> 2.2.0 → https://git.io/fx1he
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxDps
<haitlah> clever: Any way I have made a mistake ? The documentation mention how to switch the profile but not how it is created
<clever> haitlah: thats usually handled by something like nix.sh
<clever> if it doesnt exist, it will be auto-created
<clever> as long as .nix-profile is a symlink pointing to the right area
moredhel has joined #nixos
<clever> lrwxrwxrwx 1 clever users 45 Oct 29 2017 .nix-profile -> /nix/var/nix/profiles/per-user/clever/profile
Itkovian_ has quit [Ping timeout: 260 seconds]
johann__ has joined #nixos
<haitlah> clever: With the current user, whenever I try to nix-env -i -f default.nix I get error: opening lock file '/nix/var/nix/profiles/default.lock': Permission denied
<haitlah>
<{^_^}> [nixpkgs] @joachifm merged pull request #49067 → lollypop: 0.9.605 -> 0.9.607 → https://git.io/fxMe7
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fxDpo
hc has quit [Remote host closed the connection]
<clever> haitlah: ~/.nix-profile points to the default profile, so you would need root to install things to that profile
<clever> haitlah: you may want to re-aim .nix-profile to the version for your user, like my above ls output
mutantmell has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #49042 → python36Packages.influxdb: 4.0.0 -> 5.2.0 → https://git.io/fx1Su
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxDhJ
mtjmullen has quit [Ping timeout: 268 seconds]
<jophish> hmm, these binaries are distributed with a runpath containing /build
<jophish> which messes up the check for that at the end
<{^_^}> [nixpkgs] @Mic92 merged pull request #49041 → python36Packages.fido2: 0.3.0 -> 0.4.0 → https://git.io/fx1yA
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxDht
<jophish> is there some way to strip these out, or otherwise ignore
<haitlah> clever: I have sourced It
haslersn has joined #nixos
<haitlah> Could you resend (I cleaned the room)
<clever> lrwxrwxrwx 1 clever users 45 Oct 29 2017 .nix-profile -> /nix/var/nix/profiles/per-user/clever/profile
patrl1 has quit [Ping timeout: 260 seconds]
<haslersn> Hi, is there a way (configured in configuration.nix) to automatically run a shell script (or single command) on login?
<ldlework> Does anyone have a shell.nix suitable for working with pipenv with support for gcc and the like?
b1000101 has joined #nixos
<haitlah> clever: I didnt got your last messages :)
eskytthe has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #49112 → mapmap: mark broken → https://git.io/fxDbZ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxDhS
Gohla has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Mic92 pushed commit from @erictapen to release-18.09 « mapmap: mark broken »: https://git.io/fxDhh
<exarkun1> Should I care about "warning: dumping very large path (> 256 MiB); this may run out of memory" if it doesn't run out of memory?
<clever> haitlah: lrwxrwxrwx 1 clever users 45 Oct 29 2017 .nix-profile -> /nix/var/nix/profiles/per-user/clever/profile
<clever> exarkun1: that happens any time something like src = ./.; imports 256mb
mbrgm_ has joined #nixos
<haslersn> More precisely: How to run 'ssh-add </dev/null' on login? I want it to be configured in configuration.nix
mbrgm has quit [Ping timeout: 250 seconds]
mbrgm_ is now known as mbrgm
<exarkun1> clever (IRC): That makes sense. Is there some reason to try to avoid such a case, though? 256mb doesn't seem very large to me.
<clever> haslersn: i use gpg-agent, and it remembers what you `ssh-add` across sessions
<clever> exarkun1: part of the reason is that its slow, and it has to hash that whole dir tree every time you run the nix code
<haitlah> By sourcing the /etc/profile.d/nix.sh i get Nix: WARNING: bad ownership on /nix/var/nix/profiles/per-user/root, should be 9991
<haitlah> Nix: WARNING: bad ownership on /nix/var/nix/gcroots/per-user/root, should be 9991
<haitlah>
<sphalerite> haslersn: it's not a real answer, but would having ssh automatically add the key to the agent when you use it do?
<sphalerite> haslersn: if so, maybe just set the AddKeysToAgent option for all hosts in your ssh config
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #49109 → nix-index: backport version bump and build fix → https://git.io/fxDQt
<{^_^}> [nixpkgs] @lheckemann pushed 3 commits to release-18.09: https://git.io/fxDjH
<{^_^}> [nixpkgs] @Mic92 merged pull request #49031 → slic3r-prusa3d: 1.41.0 -> 1.41.1 → https://git.io/fx1Py
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxDjQ
haslersn has quit [Ping timeout: 256 seconds]
eskytthe has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @Mic92 merged pull request #49030 → python36Packages.elpy: 1.9.0 -> 1.25.0 → https://git.io/fx1PZ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxDjj
<{^_^}> [nixpkgs] @Mic92 merged pull request #49026 → clarifying `name` arg determines vim command name → https://git.io/fx16P
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxyev
<{^_^}> [nixpkgs] @Mic92 pushed commit from @schmittlauch to release-18.09 « clarifying `name` arg determines vim command name »: https://git.io/fxyeI
<haitlah> clever: same stuff if i source the nix-daemon.sh :/
<fpletz> nh2: ah… great! :)
philippD has joined #nixos
markuskowa has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #49051 → python36Packages.evdev: 1.0.0 -> 1.1.2 → https://git.io/fx1db
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxyeB
<{^_^}> [nixpkgs] @Mic92 merged pull request #49016 → python36Packages.fusepy: 2.0.4 -> 3.0.1 → https://git.io/fx1zY
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxyeD
<{^_^}> [nixpkgs] @andir merged pull request #49111 → grafana: 5.2.4 -> 5.3.2 → https://git.io/fxD5Y
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-18.09: https://git.io/fxye9
mbrgm has quit [Ping timeout: 276 seconds]
phreedom has quit [Ping timeout: 256 seconds]
johann__ has quit [Quit: Leaving.]
patrl1 has joined #nixos
zarel has quit [Remote host closed the connection]
Ariakenom has quit [Quit: Leaving]
wmertens has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #48479 → tikzit: init at 2.0 → https://git.io/fxEHF
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @iblech to master « tikzit: init at 2.0 (#48479) »: https://git.io/fxyvF
johanot has quit [Ping timeout: 240 seconds]
Dedalo has quit [Quit: Textual IRC Client: www.textualapp.com]
mbrgm has joined #nixos
b1000101 has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @qolii opened pull request #49114 → eternal-terminal: 5.1.6 -> 5.1.7. → https://git.io/fxyJQ
<{^_^}> [nixpkgs] @primeos merged pull request #48916 → programs.sway-beta: module init (temporary until sway-beta becomes sway-1.0) → https://git.io/fxXql
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fxyUU
<{^_^}> [nixpkgs] @dywedir merged pull request #49098 → aircrack-ng: 1.2 -> 1.4 → https://git.io/fxDBf
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fxyUi
hotfuzz_ has joined #nixos
goibhniu has quit [Ping timeout: 252 seconds]
Gohla has joined #nixos
electrocat has joined #nixos
revtintin has joined #nixos
hotfuzz has quit [Ping timeout: 252 seconds]
va1entin has joined #nixos
sigmundv has joined #nixos
<va1entin> Is it possible to use nvidia drivers from unstable in 18.09? I tried using unstable in services.xserver.videoDrivers but it didn't work
endformationage has joined #nixos
<{^_^}> [nixpkgs] @bjpbakker opened pull request #49115 → Enable GFX in xf86-video-vmware → https://git.io/fxykZ
haitlah has quit [Remote host closed the connection]
betaboon has quit [Quit: WeeChat 2.0]
<exarkun1> `nixops deploy ...` re-sends and re-starts key services every time even when keys haven't changed. Dependent services are then also restarted as a consequence. It would be nice not to do this if keys are unchanged.
<ocharles> dependent services are only restarted if you encode the dependency that tightly. requires & after won't cause a restart
<ocharles> of course deploying a new key won't restart the service either, so i do agree with you
<jophish> ,locate libX1.so
<{^_^}> Couldn't find in any packages
<jophish> ,locate libX1.so.6
<{^_^}> Couldn't find in any packages
<jophish> ,locate libXi.so
<{^_^}> Found in packages: xlibs.libXi
<exarkun1> ocharles (IRC): Hmmm. I only use `requires` and `after` but I seem to be seeing restarts.
<ocharles> oh sorry, wants & after
<exarkun1> But, yes. I don't want no restarts at all. I want minimum required restarts. :)
sigmundv has quit [Remote host closed the connection]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9d2ff83b031 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<exarkun1> I was imagining a nixops change vaguely resembling a check of the deployed keys and the local keys and skipping re-deployment of them (and service restart) if they are unchanged
<ocharles> I think it would be better to have the service do the check
<ocharles> basically what happens right now is a service gets started that uses inotify to wait for the file to change, but doesn't filter out no-ops
<exarkun1> The key service? Or my service that depends on the key service?
<ocharles> the key service
jperras has quit [Ping timeout: 246 seconds]
genesis has joined #nixos
<exarkun1> seems plausible I guess
va1entin has quit [Quit: Leaving]
jperras has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos pushed 2 commits to master: https://git.io/fxyqp
<buckley310> Do nvidia drivers typically get backported on NixOS? specifically master branch has 410 but release-18.09 is still at 390.
rprije has quit [Read error: Connection reset by peer]
rprije has joined #nixos
johnnyfive has quit [Quit: I go now.]
billsun has joined #nixos
<hyper_ch> I don't think there are backports on stable - only when it's a security issue
Thra11 has joined #nixos
<buckley310> ah okay. my friend decided to try out nixos but he has a 2080ti which wont run on 390, so I cobbled together a weird overlay thing that sets up the 410 driver xD
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
<Lisanna> ,locate bin cgexec
<{^_^}> Found in packages: libcgroup
mmercier has joined #nixos
aleph- has joined #nixos
boxscapeR has joined #nixos
<boxscapeR> is there an operator or a builtin function for the composition of functions? I can't find one
Gohla has quit [Ping timeout: 240 seconds]
<simpson> There's probably a library function, I'm guessing in lib/trivial.nix.
<boxscapeR> thanks, I'll take a look
<simpson> I can't find it, and your time at this point might be better-spent open-coding it.
<boxscapeR> you might be right
aleph- has quit [Ping timeout: 245 seconds]
Phillemann has quit [Quit: WeeChat 2.2]
GiGa has joined #nixos
<GiGa> Hello
<GiGa> all
<GiGa> I've got a fresh NixOS build with an Nvidia card. The config has worked on this device before (it's my main machine). Annoyingly, when I boot it can take over 5 minutes before the graphical environment starts. SystemD's logging doesn't show any delays. Sometimes no graphical environment loads at all. Any advice please?
<GiGa> Happy to get logs, if someone can advise where?
<drakonis1> what is your setting
<drakonis1> setup
<Rusty1> there's always dmesg
tenten8401[m] has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.2]
<hyper_ch> infinisil: https://github.com/sjau/easysnap :)
mmercier has quit [Quit: mmercier]
<GiGa> Rusty1: does DMESG survive a reboot?
<mdash> giga: you can do 'journalctl --dmesg'
boxscapeR has quit [Remote host closed the connection]
<jabranham> GiGa: you can check "systemd-analyze blame" to see if something takes a while
<{^_^}> [nixpkgs] @joachifm merged pull request #48927 → signify: init at v24 → https://git.io/fxXRZ
<{^_^}> [nixpkgs] @joachifm pushed commit from @rlupton20 to master « signify: init at 24 (#48927) »: https://git.io/fxyCH
<GiGa> jabranham: Longest duration in blame is 667ms
<jabranham> wow, mine is nearly 10 seconds :-(
<GiGa> drakonis: GeForce GTX 550 Ti/PCIe/SSE2 card with NixOS on a new SSD (Samsung Evo)
<Rusty1> journalctl -u display-manager.service
Gohla has joined #nixos
<ocharles> Any idea why this fails to download? (import <nix/fetchurl.nix>) { url = https://www.busybox.net/downloads/binaries/1.28.1-defconfig-multiarch/busybox-x86_64; sha256 = "17pfgghx34xkgxdb3wfivcxpx9zh1lcdiyr3chy8civ1mp2kckjq"; }
<ocharles> I just get a lot of warning: unable to download 'https://www.busybox.net/downloads/binaries/1.28.1-defconfig-multiarch/busybox-x86_64': Couldn't connect to server (7); retrying in 2213 ms
johnnyfive has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch opened pull request #49116 → Add dhallPackages and add current Prelude → https://git.io/fxyWn
truh has joined #nixos
<GiGa> ocharles: I get a 404 for that link
<ocharles> hm
<ocharles> weird, it works in chrome for me
<GiGa> ocharles: No I don't, sorry, Hexchat copied the ': on
<ocharles> and nix-prefetch-url gave me that sha
<GiGa> File downloads ok
<GiGa> In a browser
<ocharles> does that nix expression work for you?
<GiGa> can I test it with nix-build and pointing it at a file?
<ocharles> yep
<GiGa> yep
<GiGa> I get a result that's a binary file
<ocharles> actually, here's the repro:
<ocharles> nix-instantiate a file with that, which will output a .drv file
<ocharles> then nix-store -r that .drv file
<ocharles> it should be /nix/store/di2qv0w02rdwvbcq7nm966dkbh7q153a-busybox-x86_64.drv
<ocharles> arghh, that's working too. losing my mind!
<truh> Hallo everyone, I'm currently trying to upgrade to 18.09 (from 18.03), I replaced the nix-channel and rebuilded the system but after a reboot I'm still on 18.03. Anyone got any ideas what could be going on?
<aanderse> truh: can you list the commands you took to upgrade?
<{^_^}> [nixpkgs] @alexeymuranov opened pull request #49117 → [18.09] flatpak: 1.0.2 -> 1.0.4 (cherry-picked from master) → https://git.io/fxylf
<aanderse> anyone: need help developing a nixos test. i want to create a zfs file system and then have it in the machine configuration. i'm not sure how to run code to setup a specific file system so it can be used in a test script machine configuration. any hints?
<GiGa> ocharles: /nix/store/g9jp0nfqzkqi1h6j4fnv3z02xlwn4mq1-busybox-x86_64 is what I get to "nix-store -r"
<ocharles> yea, thanks - it must be me doing something weird
<GiGa> Rusty1: any ideas? I'm thinking "Unable to kill session worker process" happening a lot of the time isn't a good thing
<truh> aanderse, more or less
<truh> sudo nix-channel --remove nixos
<truh> sudo nix-channel --add https://nixos.org/channels/nixos-18.09 nixos
<truh> sudo nixos-rebuild switch --upgrade
<truh> sudo nix-channel --update
<truh> sudo reboot
<truh> nix-env --upgrade # here I started to get errors, my nix was upgraded but not the system nix
Gohla has quit [Ping timeout: 252 seconds]
<aanderse> as both your regular user and sudo/root what does nix-channel --list say?
<truh> With sudo "nixos https://nixos.org/channels/nixos-18.09" nothing without sudo
civodul has joined #nixos
Gohla has joined #nixos
zolk3ri has joined #nixos
<aanderse> truh: and if you cat /etc/os-release it says 18.03?
<jabranham> Can someone confirm that the SHA256SUMS file on https://www.cs.helsinki.fi/u/tmtynkky/nixos-arm/installer/ contains the correct sha256 sum for sd-image-aarch64-linux.img? It fails for me even after downloading that file multiple times.
<{^_^}> [nixpkgs] @jtojnar merged pull request #49114 → eternal-terminal: 5.1.6 -> 5.1.7. → https://git.io/fxyJQ
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fxyl5
<truh> aanderse, yes, it says 18.03, same with nixos-version
<aanderse> truh: that is odd.. sorry, not sure
Itkovian has joined #nixos
aleph- has joined #nixos
truh_ has joined #nixos
truh has quit [Ping timeout: 264 seconds]
<truh_> aanderse, mh, I just rebuilded again, nixos-rebuild says that it's building 18.09 but in the bootloader there are only entries for 18.03, maybe the new system got build but updating the bootloader failed?
<aanderse> but no output with an error eh
<truh_> aanderse, no errors
<aanderse> grub?
<truh_> aanderse, well there was some error about perl complaining about my locale
<aanderse> can you take a look at the boot entries from your boot loader
<aanderse> under /boot or whatever
zolk3ri has quit [Quit: Lost terminal]
revtintin has quit [Quit: WeeChat 1.9.1]
truh has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Profpatsch merged pull request #48114 → cdb: init at 0.75 → https://git.io/fxcCs
<{^_^}> [nixpkgs] @Profpatsch pushed to master « cdb: init at 0.75 »: https://git.io/fxy4N
truh_ has quit [Ping timeout: 252 seconds]
truh_ has joined #nixos
<truh_> aanderse, weird /boot/loader/loader.conf refers to /boot/loader/loader.conf and 118 is definitly 18.09.
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
<vaibhavsagar> does anyone else think it's a good idea to get Stack 1.9.1 in NixOS 18.09?
<vaibhavsagar> it currently includes Stack 1.7.1 which has a huge bug
<{^_^}> commercialhaskell/stack#4333 (by aherrmann, 3 weeks ago, closed): --no-nix ignored on NixOS
<aanderse> truh_: and your system is booting generation 118?
<aanderse> vaibhavsagar: the release managers briefly mentioned that situation today during their talk. they're working on an RFC on what to do with that, IIRC.
truh_ has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 240 seconds]
<vaibhavsagar> oh, good to know, thanks aanderse
<vaibhavsagar> fwiw I try to stay as far away from Stack as possible, but other people use it in a way that makes it my problem :(
drakonis1 has quit [Quit: WeeChat 2.2]
<truh> now that's a good question aanderse, the Generation number in the boot menu is actually 69... is it possible that I configured one mechanism in the configuration.nix but my machine actually uses something else?
truh_ has joined #nixos
haitlah has joined #nixos
<haitlah> Hey Hey again ! :D
<vaibhavsagar> hi there haitlah, did you get to the bottom of your Docker issue?
<truh_> is the configuration of previous generations backed-up somewhere?
<haitlah> vaibhavsagar: Well, I completly rewrote the entire dockerfile to instal nix in a non root user and stuff
<haitlah> I am trying to actually make postgres working with my nix-shell
drakonis_ has joined #nixos
<haitlah> vaibhavsagar: i feel like nix inside docker is not so great :/
<mdash> that's a very polite way to put it :)
<vaibhavsagar> there are other ways of getting what you want :)
<haitlah> vaibhavsagar: please tell me :)
<haitlah> mdash: Its more like the docker part that I hate :P
<mdash> haitlah: this is good and normal
truh_ has quit [Remote host closed the connection]
<vaibhavsagar> I think you should be able to enable the NixOS PostgreSQL service in a NixOS container and forward the ports accordingly
<mdash> what would lead to attempts to run nix inside a docker container, i wonder
drakonis has quit [Ping timeout: 246 seconds]
<haitlah> mdash: we have already existing ci that trigger builds inside docker with gitlab i would like to move all that on nix
<haitlah> vaibhavsagar: is this production ready :P
<vaibhavsagar> AFAICT yes, it's been around for a while and is based on systemd-nspawn
<haitlah> vaibhavsagar: will have a look at it thanks
<mdash> haitlah: 😬
truh_ has joined #nixos
orivej has joined #nixos
<bsima> hm. Why does 'developPackage' compile my haskell modules twice?
<vaibhavsagar> because Nix now builds with profiling support in addition to the normal build
rprije has quit [Read error: Connection reset by peer]
rprije has joined #nixos
<vaibhavsagar> if you look at the output you can see that one build produces *.o files and the other one produces *.p_o files
<simpson> And GHC can't build both at once.
<bsima> ooh. cool. i've never used profiling yet
<simpson> GHC profiling is decent. It's indispensable IMO for some situations, as there's nothing that can really tell a story like a heap analysis.
Ariakenom has quit [Read error: Connection reset by peer]
<vaibhavsagar> is there a way for me to replace a file under `/etc` when I'm in a chroot?
Rusty1 has quit [Quit: Konversation terminated!]
<bsima> <3 nix
<vaibhavsagar> e.g. some incantation I can put in my `buildFHSUserEnv` that will replace `/etc/os-release` but only when I'm in a chroot
<{^_^}> [nixpkgs] @cpages closed pull request #22617 → minecraft: update launcher - WIP → https://git.io/vD2uu
amitoj has joined #nixos
<{^_^}> [nixpkgs] @costrouc opened pull request #49118 → Upgrade 25 packages that r-ryantm failed to upgrade → https://git.io/fxyzh
<{^_^}> [nixpkgs] @markuskowa opened pull request #49119 → Add licenses → https://git.io/fxygO
amitoj has quit [Quit: Page closed]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
mmercier has joined #nixos
amitoj has joined #nixos
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
random_yanek has quit [Quit: random_yanek]
random_yanek has joined #nixos
phreedom has joined #nixos
mmercier has quit [Quit: mmercier]
ZaraChimera has joined #nixos
spacefrogg has quit [Remote host closed the connection]
aw has quit [Remote host closed the connection]
<truh_> damn it, my efi partition isn't actually mounted, no suprise that I'm booting into the old system
alex``` has quit [Ping timeout: 264 seconds]
<ivan> why does network-interfaces-scripted.nix write a `domain whatever` to my /etc/resolv.conf even with networking.domain = mkForce null?
<ivan> well I see the problem is resolvconf itself
hamishmack has joined #nixos
mbrgm has quit [Quit: ZNC 1.7.1 - https://znc.in]
<haitlah> Is Hydra working in nixos containers ?
<vaibhavsagar> I don't see why not
<simpson> haitlah: I don't think so. Could you explain more?
<rawtaz> simpson: stewie?
<rawtaz> no, that's family guy
<rawtaz> sorry
<haitlah> Setup hydra inside a nixos-container
<haitlah> I'm just trying right now but asking if there is any problem in doing that
<simpson> Probably just the normal problems. Hydra is three daemons plus a Pg.
<{^_^}> [nixpkgs] @markuskowa opened pull request #49121 → slurm: 18.08.1.1 -> 18.08.3.1 → https://git.io/fxyaR
truh_ has quit [Ping timeout: 260 seconds]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<haitlah> Okay :)
<srhb> simpson: Four! :-)
<simpson> srhb: Oh dang, which one did I forget? There's the Web server, the queue evaluator, the, uh... other one.
<srhb> simpson: queue runner, evaluator, server, send-stats
<srhb> (And the cleanup ones, but maybe they don't count)
truh_ has joined #nixos
<{^_^}> [nixpkgs] @schmittlauch opened pull request #49122 → backport tor-browser-bundle-bin: 8.0.2 -> 8.0.3 → https://git.io/fxyaA
<srhb> (I think it's a relatively new addition, and definitely non-critical :-P)
<Ericson2314> dtz: linux-headers makes this `include/asm/..install.cmd` which contains the bootstrap tools reference because I use more `SHELL=` now with `$makeFlags`
markuskowa has quit [Ping timeout: 256 seconds]
<bsima> is 'nix run' supposed to take the place of 'nix-shell'?
<bsima> (in nix 2.0)
<{^_^}> [nixpkgs] @joachifm merged pull request #49122 → backport tor-browser-bundle-bin: 8.0.2 -> 8.0.3 → https://git.io/fxyaA
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to release-18.09: https://git.io/fxyw8
siers has quit [Ping timeout: 252 seconds]
boxscapeR has joined #nixos
<ivan> does anyone use nixos in a hyper-vm VM? my ethernet drops out quite frequently, no idea why https://gist.github.com/ivan/daf56f2af26c7feddcdee239036453c9
<ivan> hyper-v I mean
<boxscapeR> I want to symlink my configuration.nix to a file in a local git repo. Is it inadvisable to make the file writable without sudo? It would make things much easier...
<infinisil> ,locate bin/gcc
<symphorien> bsima: no nix-shell gives you an environment suitable to build software when nix run only augments the PATH
<{^_^}> Found in packages: gcc, gcj, gccgo, gfortran, gcc_debug, ccacheWrapper, gcc-unwrapped, distccWrapper, distccMasquerade, gcc-arm-embedded-4_7, mentorToolchains.armEabi, mentorToolchains.armLinuxGnuEabi
<{^_^}> [nixpkgs] @romildo opened pull request #49123 → vivaldi: 2.0.1309.29-2 -> 2.1.1337.36-1; vivaldi-ffmpeg-codecs: 69.0.3497.73 -> 70.0.3538.77 → https://git.io/fxywx
<{^_^}> [nixpkgs] @primeos merged pull request #48757 → [18.03] Security backport for fuse (CVE-2018-10906) → https://git.io/fxox2
<{^_^}> [nixpkgs] @primeos pushed 7 commits to release-18.03: https://git.io/fxyr3
<bsima> symphorien: ok thanks
acarrico has quit [Ping timeout: 252 seconds]
<bsima> boxscapeR: my configuration.nix is really minimal, most of my configs are in ~/config/whatever.nix and then in /etc/nixos/configuration.nix i just import that file
<bsima> 'imports = [ /home/user/config/whatever.nix ]'
<boxscapeR> bsima for the most part I actually do the same, except I use home-manager to handle the .config directory. I mostly just want the configuration.nix to also be symlinked for completeness sake
<bsima> and I keep my ~/config directory under version control
<bsima> you can put it wherever you want, i just find imports to be more elegant than symlinks
<bsima> i use home-manager too fwiw
<boxscapeR> ohh
<boxscapeR> I think you meant it much more minimally than I thought at first
<boxscapeR> that's a good idea, I'll do that
siers has joined #nixos
elgoosy has quit [Remote host closed the connection]
strobelight has quit [Ping timeout: 246 seconds]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jperras has quit [Ping timeout: 245 seconds]
sir_guy_carleton has joined #nixos
Wharncliffe has joined #nixos
truh_ has quit [Remote host closed the connection]
<amitoj> I'm trying to do nix-copy-closure from a hydra instance to my (macOS) machine, but running into a hash mismatch. Anyone have any pointers?
<amitoj> The exact error is:
<{^_^}> nix#2032 (by volth, 29 weeks ago, closed): nix-copy-closure: hash mismatch should not be a fatal error
<amitoj> whoops
dbmikus_ has quit [Quit: WeeChat 2.2]
truh has quit [Read error: Connection reset by peer]
Thra11 has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<schmittlauch[m]> dtz: Hey, you did the minor version bump of tor-browser-bundle-bin. Did you plan to also backport that to the current stable release? I just did that but want to get familiar with how and when people backport stuff, and if you forgot that or planned to do it later.
adamantium_ has quit [Ping timeout: 246 seconds]
Peetz0r has quit [Ping timeout: 252 seconds]
haitlah has quit [Ping timeout: 252 seconds]
<Baughn> When there's a good reason for it.
siers has quit [Ping timeout: 268 seconds]
<Baughn> Breaking bugs, security holes, etc. Not for new features.
<Baughn> But "it doesn't build" should be a good enough reason.
GiGa has quit [Quit: Leaving]
<schmittlauch[m]> "It doesn't build" is alway an issue with -bin packages where old versions are gone from the servers. But also for tor-browser-bundle, I would consider the whole package as especially security sensitive even without searching for security patches.
jperras has joined #nixos
boxscapeR has quit [Remote host closed the connection]
jackdk has joined #nixos
aanderse has quit []
BlessJah_ has joined #nixos
erasmas has quit [Quit: leaving]
jperras has quit [Ping timeout: 252 seconds]
<BlessJah_> is it possible to replace (override?) deriviation with other deriviation? as if make pkgs.prometheus return what pkgs.prometheus_2 would return?
nckx- is now known as nckx
drakonis_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @das-g opened pull request #49126 → minor fixes in Nixpkgs stdenv docs → https://git.io/fxyXo
aanderse has joined #nixos
<jackdk> sounds like you might want an overlay, but it's hard to tell without more context
<BlessJah_> I want overlay. However what I actually need is new modules for prometheus 2.x (syntax and commandline flags did change slightly)
jperras has joined #nixos
<jackdk> are you using nixos or nix in some other os?
__monty__ has quit [Quit: leaving]
<BlessJah_> nixos, for now I'll simply write own service that takes new flags into account
<BlessJah_> I'll think about updating module and creating MR tomorrow
<{^_^}> [nixpkgs] @andir merged pull request #49096 → [18.03] firefox{,-bin}: 62.0.3 -> 63.0 & nss: 3.38-> 3.39 → https://git.io/fxDkB
<{^_^}> [nixpkgs] @andir pushed 6 commits to release-18.03: https://git.io/fxyXF
patrl1 has quit [Ping timeout: 252 seconds]
jperras has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @andir merged pull request #49044 → [18.09] firefox{,-bin}: 62.0.3 -> 63.0 & nss: 3.38-> 3.39 → https://git.io/fx1QJ
<{^_^}> [nixpkgs] @andir pushed 6 commits to release-18.09: https://git.io/fxyXx
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/64553463956 (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<bsima> hmm, i wonder if I can do a "docker push" in just nix code? has anyone done this before?
<andi-> how would that work with network access? You can probably do that without the sandbox... not sur eif that is a good idea tho
<bsima> i have all my deps, my base image, and my deployable images specified in nix already
b1000101 has joined #nixos
<bsima> right now all i use docker for is "docker load" and "docker push"
carlosdagos has joined #nixos
<andi-> I don't think there are many sensible ways you could use nix to do network I/O to push the derivation.. I'd probably create a script as output that pushes the image to my registry
mbrgm has joined #nixos
b1000101 has quit [Quit: Page closed]
<bsima> well nix has things like 'fetchgit' that does network IO
<bsima> you're probably correct though, a small script would be simplest
random_yanek has quit [Quit: random_yanek]
jasongrossman has joined #nixos
alphor has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #48784 → openssh: 7.7p1 -> 7.9p1 → https://git.io/fxKoG
<{^_^}> [nixpkgs] @zimbatm pushed to master « openssh: 7.7p1 -> 7.9p1 (#48784) »: https://git.io/fxyDL
Travankor has joined #nixos
Peetz0r has joined #nixos
jperras has joined #nixos
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
drakonis_ has joined #nixos
jperras has quit [Ping timeout: 245 seconds]
ryantrinkle has quit [Ping timeout: 245 seconds]
<alphor> I'm a rust newbie but I've been using nixos for a while. I want to jump to using nixos on my local machine for rust development. Is there anything I should be familiar with beyond basic cargo abstractions that nix may break?
Peetz0r has quit [Ping timeout: 264 seconds]
jperras has joined #nixos
<Travankor> can nix work on a musl-libc host system? I tried to install vscode but nix erros out with 'error: unexpected-end-of-file'
<Travankor> I did not get that error with a glibc host system, although I thought nix would use it's own bundled glibc
Peetz0r has joined #nixos
<aleph-> alphor: One sec
<aleph-> If you haven't
<ivan> is there any way to see how much the nix daemon is building?
<ivan> some github issue says I should be seeing a progress indicator but I am not
<alphor> aleph-: I have naught. Thanks!
<aleph-> Welcome