worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || 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 ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
<genesis> config.nix or home-manager ? i'm a bit lost with this
jgt2 has quit [Ping timeout: 246 seconds]
jgeerds has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #74995 → bluez: 5.50 -> 5.52 → https://git.io/JeDz9
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to staging: https://git.io/JeSRO
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 246 seconds]
lassulus_ is now known as lassulus
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
lassulus_ has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « instead: 3.3.0 -> 3.3.1 »: https://git.io/JeSRW
lassulus has quit [Ping timeout: 265 seconds]
lassulus_ is now known as lassulus
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75315 → pulseeffects: 4.6.8 -> 4.6.9 → https://git.io/JeSRz
mexisme has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75316 → pirate-get: 0.3.3 -> 0.3.4 → https://git.io/JeSRX
<fresheyeball> ahh geeze
<fresheyeball> I need pip to be upto date
<{^_^}> [nixpkgs] @worldofpeace opened pull request #75317 → bluez: enable checkPhase → https://git.io/JeSRH
<fresheyeball> that's why my python is not working
mexisme has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #75318 → du-dust: 0.4.1.2 -> 0.4.2 → https://git.io/JeSRd
<{^_^}> [nixpkgs] @worldofpeace closed pull request #55679 → keybase: on Linux, symlink kbfsfuse, git-remote-keybase into main package → https://git.io/fhQxr
mbrgm_ has joined #nixos
ddellacosta has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #75319 → nixos/pantheon: use GTK3_MODULES → https://git.io/JeS0J
mbrgm has quit [Ping timeout: 268 seconds]
mbrgm_ is now known as mbrgm
jluttine has quit [Ping timeout: 240 seconds]
poprox has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #75320 → gsignondPlugins: use recurseIntoAttrs → https://git.io/JeS0T
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75281 → networkmanager: 1.20.6 -> 1.20.8 → https://git.io/JeSGP
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/JeS0t
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « qtads: init at 2.1.99.2019-04-12 »: https://git.io/JeS0Z
<fresheyeball> ok got closer to a problem
<fresheyeball> doesn't exist
<fresheyeball> and niether does this
<fresheyeball> the package exists... https://pypi.org/project/opencv-python/
<fresheyeball> what is going on here?
<fresheyeball> how the heck do I just update pip?
<{^_^}> [nixpkgs] @marsam pushed 2 commits to release-19.09: https://git.io/JeS06
<lopsided98> fresheyeball: that package is only available as a wheel
<{^_^}> [nixpkgs] @marsam closed pull request #74706 → pythonPackages.xdis: Add magics for current python versions → https://git.io/Je1az
<fresheyeball> lopsided98: I don't understand what wheels are. I am more of a haskell guy most of the time.
<lopsided98> I'm not clear on all the details, but in this case I believe they are used because the package contains precompiled native libraries
<lopsided98> You should probably try to use python3Packages.opencv4, which is already packaged
<fresheyeball> oh shiiiit
<fresheyeball> ok I seem to have the same problem with https://pypi.org/project/torch/
<fresheyeball> same problem I assume?
efriend has quit [Ping timeout: 240 seconds]
tbenst_ has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeSEv
<genesis> i wonder why NUR or home-manager guys don't work with nixpkgs
<{^_^}> [nixpkgs] @alyssais pushed to master « fetchFromGitLab: improve readability »: https://git.io/JeSEJ
<{^_^}> [nixpkgs] @alyssais merged pull request #74861 → fetchFromGitLab: improve readability → https://git.io/JeMiK
satoshi has joined #nixos
<{^_^}> [nixpkgs] @leotaku opened pull request #75321 → mpdris2: add missing gdk-pixbuf to buildInputs → https://git.io/JeSEm
<{^_^}> [nixpkgs] @alyssais opened pull request #75322 → buildSkawarePackage: pass through extra args → https://git.io/JeSEG
<keithy[m]> Hi guys, what are the options if nix cant create /nix
selfsymmetric-mu has quit [Remote host closed the connection]
<clever> keithy[m]: use namespacing to give yourself a chroot with a /nix you own, nix-user-chroot can do that
<keithy[m]> I was afraid you woudl say that
<keithy[m]> hmm
lejonet has quit [Ping timeout: 245 seconds]
<clever> if you want to change the path, you need to re-compile EVERYHING for the new path
lord| has joined #nixos
<simpson> keithy[m]: Just double-checking my memory, this is with OSX?
<keithy[m]> not this time, Fedora Atomic
<simpson> Ah, and you don't have superuser powers to set up /nix?
<keithy[m]> its more locked down than that
<keithy[m]> the whole os is RO
<keithy[m]> effectively
selfsymmetric-mu has joined #nixos
<keithy[m]> but the chroot option
lejonet has joined #nixos
<keithy[m]> looks like the same problem will exist on FCOS (Fedora CoreOS)
<clever> keithy[m]: is / truely read-only, or just a tmpfs that is lost on shutdown?
<clever> keithy[m]: what does `mount` say is mounted to / ?
<keithy[m]> "/dev/mapper/fedora-root
<clever> keithy[m]: sounds like a normal fs on lvm, should have no trouble writing to it, `sudo mkdir /nix` ?
ng0 has quit [Quit: Alexa, when is the end of world?]
satoshi has quit [Quit: ZNC 1.7.4 - https://znc.in]
satoshi has joined #nixos
<keithy[m]> ok I need to ask if a symlink will be good enough, nix isnt the only thing with this issue , snap does it too
<clever> keithy[m]: if you can `mkdir /nix` then you can just `mount --bind /home/foo/bar /nix/`
<clever> no need for a symlink
<keithy[m]> in these fedora variants mnt is in /var/mnt
<keithy[m]> opt is in /var/opt etc
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75323 → python38Packages.cmd2: 0.9.20 -> 0.9.21 → https://git.io/JeSEE
<clever> you can use `mount --bind` to place any dir at any other dir
<clever> similar to a symlink
zhanghong has joined #nixos
<zhanghong> can i use nix in win10 wsl? anyone know how to config?
zhanghong has quit [Client Quit]
juxiemaotu has joined #nixos
boogiewoogie has joined #nixos
v88m has joined #nixos
lord| has quit [Read error: Connection reset by peer]
shibboleth has quit [Quit: shibboleth]
<juxiemaotu> can nix or nixos used in win10 wsl
mexisme has quit [Ping timeout: 246 seconds]
<juxiemaotu> ?
<keithy[m]> apparently yes
chocopuff has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75325 → python38Packages.breathe: 4.13.1 -> 4.14.0 → https://git.io/JeSEh
<{^_^}> [nixpkgs] @peterhoeg merged pull request #75291 → kodi: 18.4 -> 18.5 → https://git.io/JeSnQ
<{^_^}> [nixpkgs] @peterhoeg pushed commit from @dasj19 to master « kodi: 18.4 -> 18.5 (#75291) »: https://git.io/JeSEj
chocopuff is now known as zyklotomic
lord| has joined #nixos
eraserhd has quit [Ping timeout: 250 seconds]
eraserhd has joined #nixos
scasc has quit [Ping timeout: 268 seconds]
<keithy[m]> ok nix-user-chroot it is
<keithy[m]> lol, it still tries to create /nix/var/nix/profiles/per-user/keith/profile
jluttine has joined #nixos
<keithy[m]> ok... I kinda get it
<{^_^}> [nixpkgs] @ehmry merged pull request #75272 → mpd_clientlib: 2.16 -> 2.17 → https://git.io/JeSsJ
<{^_^}> [nixpkgs] @ehmry pushed commit from @r-ryantm to master « mpd_clientlib: 2.16 -> 2.17 »: https://git.io/JeSuG
thc202 has quit [Ping timeout: 250 seconds]
mexisme has joined #nixos
h0m1 has quit [Ping timeout: 246 seconds]
juxiemaotu has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75326 → python38Packages.aioredis: 1.3.0 -> 1.3.1 → https://git.io/JeSuV
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75327 → python38Packages.astropy-healpix: 0.4 -> 0.5 → https://git.io/JeSuX
fresheyeball has quit [Quit: WeeChat 2.6]
<keithy[m]> oh boy nothing is easy is it
<keithy[m]> so...
<keithy[m]> trying to run nixos-generate-config
<keithy[m]> sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
<clever> keithy[m]: the chroot stuff entirely neuters any ability to gain root
<clever> keithy[m]: because you could just modify /etc/shadow and claim to know the root pw
<keithy[m]> ok... so I could do my own chroot that isnt so paranoid
<clever> keithy[m]: it would be simplest to do a normal chroot (not a namespace one) as real root
<clever> keithy[m]: what are you intending to do?
<keithy[m]> I think I might as well use a livecd
<clever> keithy[m]: kexec can also be used
<keithy[m]> sounds like it would be trouble
<{^_^}> [nixpkgs] @lovesegfault opened pull request #75328 → thunderbird: rewrite (68.2.2 -> 68.3.0) → https://git.io/JeSup
<clever> keithy[m]: basically, you build a kernel+initrd+bash-script with nix, copy it to another machine, and run the bash script
<clever> it will basically then boot the livecd, without needing any cd/usb
<{^_^}> [nixpkgs] @lovesegfault closed pull request #75143 → Thunderbird: Wayland support and version bump → https://git.io/JeyyC
<keithy[m]> but if you used that to do an install over the top I cant see that working... but it could be on a usb hmm
<clever> keithy[m]: why wouldnt it work?
<keithy[m]> note installing on old imac so cant boot form usb
<clever> keithy[m]: the kexec script i linked above, will copy the entire nixos rootfs to ram before "booting"
<clever> so it doesnt care what you do to the hdd
<keithy[m]> ok...
<keithy[m]> I might just try it, sounds "fun"
<notgne2> the kexec method is honestly simpler most of the time, you generate it on any other computer, then you just upload the script to your target machine, which will do all the work of rebooting into a liveCD for you, it doesn't matter what's on your system as the liveCD will just run from memory, you can of course at that point just format your hard drive or whatever you want
<keithy[m]> what abot the config?
<clever> once you ssh back in, it will behave just like the normal livecd
<clever> so you can just partition, format, mount, nixos-generate-config, edit, nixos-install
<notgne2> when you generate your kexec script, you write a NixOS config for it, normally you can just go for something minimal like adding your SSH keys or whatnot, then once you're booted in you can install as usual
boogiewoogie has quit [Quit: Leaving]
<notgne2> iirc the default config is also just fine for local installs
<clever> by default, it doesnt add any ssh keys, so you need physical access to control it after kexec
<clever> but if it can find a /ssh_pubkey on the host, when you run the kexec script, it will paste that into /root/.ssh/authorized_keys
<simpson> In the standard NixOS install, there's also a copy-to-RAM option in the boot menu now. I've used it recently and it works perfectly for being able to remove the boot media while running.
<clever> so you can customize the key, after making the tarball
<clever> simpson: yep, that works when the bios supports usb booting
<clever> simpson: 2019-12-08 23:12:51 < keithy[m]> note installing on old imac so cant boot form usb
mexisme has quit [Ping timeout: 268 seconds]
<simpson> clever: Oh, TIL. I had figured that it would be available on CDs, too.
<keithy[m]> ok so this ./configuration.nix
<clever> simpson: it should work on CD's too, but then you have to burn a cd
<clever> i dont even have a cd drive in any of my functional machines
<notgne2> clever: btw, I have a pretty old device with 64MB RAM, do you think I could get not-os running on it? or is it not that lightweight
<simpson> clever: Ah, a cultural difference. I'm a (former?) musician, and I have a lot of ambient equipment for doing stuff like CD archival.
buckley310 has quit [Quit: The Lounge - https://thelounge.chat]
rardiol has quit [Ping timeout: 276 seconds]
<clever> notgne2: not-os would probably run on 64mb of ram, might want to tweak the boot order a bit though, to leave the rootfs on disk, rather then copying to ram
<clever> simpson: i did go thru a phase where i was ripping every single cd in the house, but at this point, its faster to just pirate it, rather then find the physical copy on a shelf, then re-install a cdrom drive, lol
<clever> infact, with my download speed, i could probably download an entire album faster then i could rip a cd
<notgne2> I'll give that a try soon then, I imagine that's probably the easy part though as I'm not sure what kernel versions and capabilities this device can deal with (Nokia N770)
<simpson> clever: Right. I know that feeling, but some CDs I have are not going to be available in that way, especially old recordings of mine.
<clever> simpson: yeah, that kind of thing needs rips
juxiemaotu has joined #nixos
buckley310 has joined #nixos
<keithy[m]> so Im looking for a minimal configuration.nix
<clever> keithy[m]: nixos-generate-config will create one for you
<keithy[m]> but it doesnt run on the target machine
<keithy[m]> it wanted sudo
<clever> the kexec gives you full nixos, with real root and nixos-generate-config in $PATH
<juxiemaotu> keithy[m]: are you speak to me?
<clever> so after you kexec, you can treat it like a normal livecd boot
jboy has quit [Remote host closed the connection]
<keithy[m]> you suggested a script
<keithy[m]> which desires in its first line .configuration.nix
EdLin has joined #nixos
mexisme has joined #nixos
EdLin has joined #nixos
EdLin has quit [Changing host]
<clever> keithy[m]: you must use the configuration.nix in the directory session.md is in
scasc has joined #nixos
EdLin has quit [Client Quit]
<clever> that 1st configuration.nix, is the config for the kexec system
EdLin has joined #nixos
<keithy[m]> ok...
<clever> keithy[m]: just clone that repo, cd into kexec, add your ssh pubkey to the existing configuration.nix, and run the commands you see in `session.md`
jboy has joined #nixos
<keithy[m]> thx, sorry I was being thick.
<keithy[m]> for some reason I thought that was just a snippet, rather than part of something like a repo
<clever> i could rename the files some, others have had the same issue
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75329 → python38Packages.numericalunits: 1.23 -> 1.24 → https://git.io/JeSzs
<keithy[m]> it does look quite cool though
<{^_^}> [nixpkgs] @marsam merged pull request #75221 → fava: 1.11 -> 1.12 → https://git.io/JeSUf
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeSzZ
<keithy[m]> I am going to see if I have time this week to get nix running on Fedora Core OS
drewr has quit [Ping timeout: 245 seconds]
<keithy[m]> one thing at a time mind...
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75330 → python38Packages.google_resumable_media: 0.4.1 -> 0.5.0 → https://git.io/JeSzW
<{^_^}> [nixpkgs] @marsam merged pull request #75326 → python38Packages.aioredis: 1.3.0 -> 1.3.1 → https://git.io/JeSuV
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeSz4
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75331 → python38Packages.mysqlclient: 1.4.5 -> 1.4.6 → https://git.io/JeSzR
<{^_^}> [nixpkgs] @marsam merged pull request #75323 → python38Packages.cmd2: 0.9.20 -> 0.9.21 → https://git.io/JeSEE
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeSzu
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
qubasa_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75332 → python38Packages.apprise: 0.8.1 -> 0.8.2 → https://git.io/JeSzw
spacefrogg has joined #nixos
greizgh has quit [Quit: greizgh]
m0rphism has joined #nixos
greizgh has joined #nixos
qubasa has joined #nixos
andi- has quit [Remote host closed the connection]
andi- has joined #nixos
tsrt^ has quit []
felixfoertsch23 has joined #nixos
ntsrth^ has joined #nixos
felixfoertsch has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75334 → python38Packages.hvac: 0.9.5 -> 0.9.6 → https://git.io/JeSzM
LLED2_2 has joined #nixos
<keithy[m]> ok I am pointing at nixos-19.09 channel and thought I would build git for a laugh it failed, expecteD?
<simpson> No, git normally works. How did it fail?
<keithy[m]> builder for '/nix/store/f651bcc1vxdf0zkdjjghm202gvz7fnw9-shell.drv' failed to produce output path '/nix/store/d094jdhh0qqlnxzky0j8hcy26yvlllsy-shell'
Taneb has quit [Quit: I seem to have stopped.]
<clever> keithy[m]: what command did you run?
<lovesegfault> worldofpeace: thanks for the review :)
LLED2_3 has quit [Ping timeout: 250 seconds]
Taneb has joined #nixos
<keithy[m]> nix-build -p git
<keithy[m]> i'm in a chroot
<clever> keithy[m]: thats invalid, you want `nix-shell -p git`
<keithy[m]> I didnt want a shell
<clever> keithy[m]: then nix-build '<nixpkgs>' -A git
monotux has quit [Quit: WeeChat 2.6]
<keithy[m]> ok thx, such a noob!
<clever> nix-build -p shouldnt even try to build it
<clever> id say thats a bug
monotux has joined #nixos
<keithy[m]> a helpful noob!
m0rphism has quit [Ping timeout: 268 seconds]
EdLin has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<keithy[m]> ok, now git is already installed in /usr/bin/git
<keithy[m]> how do I find the one I just built
<clever> keithy[m]: ls -l result
<keithy[m]> so its not in my path by default
<clever> correct, nix-build just builds things
<clever> nix-env adds them to your profile
<simpson> keithy[m]: It would be, if you were to use nix-shell, but only for the duration of that shell.
<clever> nix-shell adds it to PATH without installing it
<keithy[m]> can I get man pages?
<clever> man-pages posix_man_pages stdmanpages glibcInfo
<clever> keithy[m]: those 4 packages contain the bulk of the man pages youll use in c development
<keithy[m]> nix manpages not there
<keithy[m]> all the --help options r broken
<clever> the MANPATH isnt configured properly then
<keithy[m]> id say thats a bug somewhere
<{^_^}> [nixpkgs] @veprbl opened pull request #75335 → Pr/texlive bin dvisvgm fix → https://git.io/JeSzj
<keithy[m]> ok, its only set if it exists!
<keithy[m]> and I need man!
<keithy[m]> chicken an egg
puck has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @arcnmx opened pull request #75336 → linuxPackages.nvidia_x11.settings: enableParallelBuilding → https://git.io/JeSg3
juxiemaotu has quit [Ping timeout: 250 seconds]
mexisme has quit [Ping timeout: 268 seconds]
tg has quit [Ping timeout: 276 seconds]
<keithy[m]> so where is man? man-pages
<clever> ,locate bin/man
<{^_^}> Found in packages: man_db, mandoc, busybox, plan9port
<clever> likely man_db or mandoc
<keithy[m]> I think this will go very nicely with FedoraCore os btw
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75337 → python38Packages.colored: 1.4.0 -> 1.4.1 → https://git.io/JeSgs
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeSgn
<{^_^}> [nixpkgs] @marsam merged pull request #75332 → python38Packages.apprise: 0.8.1 -> 0.8.2 → https://git.io/JeSzw
<keithy[m]> though I can see a few people spluttering their coffee when I deliver nix as a solution!
<keithy[m]> man
<keithy[m]> yay!
drewr has joined #nixos
<keithy[m]> what was that locate command again?
<clever> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<simpson> IMO Nix really does go best with NixOS, just because it means fewer moving parts trying to manage the ingredients of the user profile. What features of Fedora are you hoping to use?
<keithy[m]> well basically since openshift is built on it..
<keithy[m]> but they are lacking a super-privileged container layer
<keithy[m]> in between containers and the ro-os
<simpson> NixOS has Kubernetes service modules, although I have zero idea how well they work.
<keithy[m]> So I have added suppport for systemd portable services
<simpson> I'm seriously tempted to try building one of those Raspberry Pi Kubernetes clusters for the holiday break, though.
<worldofpeace> lovesegfault: np, will review more 👍️
<keithy[m]> so now I have a safe chroot environment on top of fedora core os, wondered what I could do with it and needed a package manager that was nice and fast!
<keithy[m]> and safely isolated
orivej has quit [Ping timeout: 240 seconds]
<keithy[m]> however youguys might convert me totally.
<simpson> Hm. I wonder how useful nixos-enter could be for you. It's normally only useful as a rescue utility.
<keithy[m]> I'm going for a job that has asked me to write a presentation on how I would manage 200+ interdependent windows MSIs
<keithy[m]> its probably much the same as my shell
<keithy[m]> FCOS is setup with ignition (their version of configuration.nix, I wrote a shell that does the chroot stuff.
<keithy[m]> so you add a user, asign it a shell and they get safe root access
<keithy[m]> all I have to do is add a /nix to that shell
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75338 → python38Packages.cassandra-driver: 3.19.0 -> 3.20.2 → https://git.io/JeSg0
tg has joined #nixos
<keithy[m]> * I'm going for a job that has asked me to write a presentation on how I would manage 200+ interdependent windows MSIs (unrelated comment, but thats how I founf nix)
<keithy[m]> * I'm going for a job that has asked me to write a presentation on how I would manage 200+ interdependent windows MSIs (unrelated comment, but thats how I found nix)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75339 → python38Packages.azure-mgmt-recoveryservicesbackup: 0.4.0 -> 0.5.0 → https://git.io/JeSg2
nexgen has joined #nixos
sb0 has quit [Quit: Leaving]
<keithy[m]> how did nano add 592 symlinks!
<keithy[m]> cd -
<clever> keithy[m]: everything else you already had in nix-env
<keithy[m]> meaning it has 592 dependencies?
orivej has joined #nixos
<clever> keithy[m]: it has a total of 592 files
<clever> keithy[m]: probably the man pages
nexgen has quit [Ping timeout: 240 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<keithy[m]> ok, thats all the executables in the store im understanding thx
<rotaerk> hmm, my laptop's resolution is too high for text to be easily read... I think this means I need to reduce my DPI, though I'm not really clear on how
<rotaerk> for one, what's the difference between services.xserver.dpi and fonts.fontconfig.dpi
<rotaerk> also, how do I know what actual DPI I should use? in Windows it's just 2x scaling
<lovesegfault> worldofpeace: Can nix-build just re-do one step
<lovesegfault> it's annoying that if I change something in postFixup I need to rebuild everything
<o1lo01ol1o> where can I look to understand how mkderivation decides what outputs of the build step should be put on the path?
<keithy[m]> ok, so the kexec is sent to the target machine and it too has a locked own /nix
<clever> keithy[m]: you can unpack the tar to elsewhere, read the bash script, and then use the kexec tool already installed into the host
<clever> its a little more manual, but should still be possible
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75340 → python38Packages.ipdb: 0.12.2 -> 0.12.3 → https://git.io/JeS21
nexgen has joined #nixos
<keithy[m]> NIX="{$1:-/nix}"
<keithy[m]> at the top of kexec would be a useful addition?
<clever> keithy[m]: nope, all of the compiled binaries also have /nix/store baked into them
<clever> keithy[m]: it wont be able to find any dynamic libraries
<clever> youll need to read the unpacked one, fix all of the paths, and use the kexec binary the host provides
<lovesegfault> worldofpeace: Done with fixes :)
<keithy[m]> I am reading the unpacked kexec_nixos
<clever> keithy[m]: most of the initrd uncompressing and re-compressing can be skipped
nexgen has quit [Ping timeout: 265 seconds]
<clever> keithy[m]: thats purely to add /ssh_pubkey to it
<yorick> aterius: I use relative paths for it
Lears has joined #nixos
<keithy[m]> so I have replaced /nix with $NIX
[Leary] has quit [Read error: No route to host]
bvdw has quit [Read error: Connection reset by peer]
<keithy[m]> so I can run kexec_nixos ~/.nix
<keithy[m]> or kexec_nixos tarball/nix
bvdw has joined #nixos
<worldofpeace> lovesegfault: thanks, looking.
<keithy[m]> I put my ssh key into the config, should it have been in the tarball?
<clever> keithy[m]: if its in the configuration.nix you made the tar from, then it will be baked into the initrd and just work
<lovesegfault> worldofpeace: 💕
<keithy[m]> sigh out of disk space! kidding me!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75341 → python38Packages.funcy: 1.13 -> 1.14 → https://git.io/JeSaL
<clever> keithy[m]: you can skip the decompress and re-compress step
<clever> keithy[m]: delete lines 20-29, and replace the final.gz on line 31 with ${image}/initrd, and then it will use less disk space
<rotaerk> heh, according to xdpyinfo, it thinks my screen is a meter wide
<rotaerk> it's around a third of that...
scasc has quit [Ping timeout: 268 seconds]
<keithy[m]> clever I am admiring your persistence
<keithy[m]> I was working with the unompressed tarball and cant see an initrd
[Leary] has joined #nixos
<keithy[m]> ok found it
Lears has quit [Read error: No route to host]
<keithy[m]> so if I do most of the work on the target machine I can skip the tarball step
<keithy[m]> I can use the tarball as it is!
<keithy[m]> ok.
nixy37 has quit [Quit: The Lounge - https://thelounge.chat]
viric_ has joined #nixos
<clever> if you already have nix on the machine, you can replace `-A config.system.build.kexec_tarball` with `-A config.system.build.kexec_script`
nixy37 has joined #nixos
<clever> then the result symlink points directly to the shell script, rather then a tar containing the shell script
<rotaerk> seems kind of absurd that Windows looks fine on this laptop, but I have to manually specify the screen's dimensions here
juxiemaotu has joined #nixos
<clever> keithy[m]: something else that may help, and skip the entire kexec layer, is https://github.com/cleverca22/nixos-configs/blob/master/multi-boot-helper.nix
<clever> keithy[m]: if you nix-build that, it will generate 3 files, nixos-kernel, nixos-initrd and grub-fragment.cfg
<clever> keithy[m]: then you just copy the kernel/initrd into /boot, and paste grub-fragment.cfg somewhere inside your grub.cfg
<clever> and then you can select nixos from the grub menu, and skip kexec
viric has quit [Ping timeout: 250 seconds]
<keithy[m]> k
Acou_Bass has quit [Ping timeout: 268 seconds]
<keithy[m]> darn I broke it
<keithy[m]> bash: nixpkgs/nixos: No such file or directory
<clever> keithy[m]: -I nixpkgs=channel:nixos-unstable
<clever> add that to the args
m0rphism has joined #nixos
<keithy[m]> I have the channel added
<keithy[m]> it worked before
<clever> keithy[m]: `echo $NIX_PATH` ?
mexisme has joined #nixos
CMCDragonkai has joined #nixos
<keithy[m]> "/home/keith/.nix-defexpr/channels:/home/keith/.nix-defexpr/channels
<lovesegfault> worldofpeace: Integrated some stuff from that PR, and asked for a suggestion on how to simplify the huge line
<lovesegfault> by which I mean:
<lovesegfault> "--enable-default-toolkit=cairo-gtk${if gtk3Support then "3${lib.optionalString waylandSupport "-wayland"}" else "2"}"
<clever> keithy[m]: should work...
<CMCDragonkai> If I use services.openssh.hostKeys, how do I ensure that the key files are really there, and they are not world readable in the NixOS store?
<clever> keithy[m]: oh, what command did you run, to get that error?
<keithy[m]> ok think I missed some quotes
<keithy[m]> file 'nixos-config' was not found in the Nix search path (add
<clever> keithy[m]: what command did you run to get that error?
<keithy[m]> "nix-build '<nixpkgs/nixos>' -A config.system.build.kexec_script -I configuration.nix -Q -j 2
<clever> keithy[m]: it was -I nixos-config=./configuration.nix
<keithy[m]> duh!
Acou_Bass has joined #nixos
<keithy[m]> ok
<keithy[m]> kexec_load failed: Operation not permitted
<keithy[m]> I guess I have to go native at this point, hmm
<clever> keithy[m]: you have to run kexec as real root
<clever> which is why i said to just read the kexec script, and run the host kexec with the same args
<CMCDragonkai> anybody got advice on how to generate persistent host keys no matter what?
<clever> CMCDragonkai: just let /etc/ persist?
<CMCDragonkai> it doesn't seem to work
<CMCDragonkai> clever: every time i rebuild my nixos machine with netboot
<CMCDragonkai> the host key is different
<clever> CMCDragonkai: the netboot image doesnt let /etc persist
<CMCDragonkai> its a netboot machine
<CMCDragonkai> yea
<CMCDragonkai> that's what i meant
<clever> CMCDragonkai: it mounts a tmpfs to /
<clever> CMCDragonkai: youll need to make a variant of it, that does something different
<CMCDragonkai> so i want to fix persistent host key the
<CMCDragonkai> according to the nixos config, it will generate the host keys if those host key paths do not exist
<clever> CMCDragonkai: you can use environment.etc to supply static files, but they will be world-readable in /nix/store
<CMCDragonkai> but if they do exist, it won't genrate it
<CMCDragonkai> yea...
<clever> CMCDragonkai: that will generate some static ssh host keys
<keithy[m]> lololol bash: kexec: command not found
<clever> keithy[m]: you need to install kexec using the host package manager
<keithy[m]> there isnt one
<clever> keithy[m]: thats why i was skipping nix's copy, but that relies on you having write to /nix
zupo has joined #nixos
<CMCDragonkai> clever: is there still no progress on nix/nixos store secretes?
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
<clever> CMCDragonkai: none as far as i know
<clever> CMCDragonkai: another option is to modify the netboot stuff, so it has a persistent local partition mounted to /, for state
gerschtli has quit [Quit: WeeChat 2.6]
<CMCDragonkai> I actually do this already
gerschtli has joined #nixos
<CMCDragonkai> I have `/srv` provided as persistent
<CMCDragonkai> You mean to modify `hostKeys` to point to `/srv` so it's a persistent location?
<CMCDragonkai> THat's interesting
<clever> CMCDragonkai: one min
<CMCDragonkai> but again TOFU, I was intending to actually sign my ssh keys with my SSH CA
<lovesegfault> worldofpeace: Should I add an assert that waylandSupport = true <=> gtk3Support = true?
<CMCDragonkai> so it would require me to generate the keys aheado f time
<lovesegfault> Also: How to do asserts in Nix?
<clever> CMCDragonkai: i think you can do "ssh/ssh_host_rsa_key" = { mode = "0600"; source = "/srv/something"; };
<clever> CMCDragonkai: the setup-etc.pl script, expects "${source}" to mutate into a /nix/store path, and will just blindly symlink /etc/ssh/ssh_host_rsa_key to "${source}"
<worldofpeace> lovesegfault: yep, though the operators in nix are a bit different
<worldofpeace> though
<clever> CMCDragonkai: if that happens to be a regular string, then it will wind up impurely pointing to something nix wasnt managing, like /srv/!
<worldofpeace> I did mention we could do away with the gtk3Support option entirely lovesegfault
<lovesegfault> worldofpeace: FF still has it, which is why I kept it
<lovesegfault> I don't want the builds to go astray since I know andir puts a lot of work into keeping FF in good shape
<lovesegfault> so TB should be able to just use *cough*steal*cough* that work
NoctisLabs has quit [Quit: WeeChat 2.6]
<worldofpeace> Ah, just looked at the expression. I agree, it would be nice if they're consistent
<lovesegfault> :)
<lovesegfault> worldofpeace: Fixing, trying to find how to do asserts
domogled has joined #nixos
tbenst_ has quit [Ping timeout: 268 seconds]
<lovesegfault> worldofpeace: fixing
<lovesegfault> worldofpeace: `assert waylandSupport -> gtk3Support == true;`
<lovesegfault> like such?
<worldofpeace> lovesegfault: 👍️ looks right
<lovesegfault> 🚀
<lovesegfault> worldofpeace: I think, hope, I'm all fixed up https://github.com/NixOS/nixpkgs/pull/75328
<{^_^}> #75328 (by lovesegfault, 3 hours ago, open): thunderbird: rewrite (68.2.2 -> 68.3.0)
<worldofpeace> lovesegfault: looks like eval is proceeding well. hmm, this package might take 2+ hours to build
<keithy[m]> ok, now I am feeling lucky
cdepillabout has joined #nixos
<cdepillabout> Is there an environment variable you can set that makes nix-build or nix-shell ignore the broken = true; metadata and try to build anyway?
<colemickens> I changed something and now I'm getting stack overflows: error: stack overflow (possible infinite recursion)
<colemickens> Any tips on how to debug/troubleshoot/resolve this? This is a new one for me.
<lovesegfault> worldofpeace: Probably, it takes quite a bit locally
<keithy[m]> do I have to worry about collision between messages
cab72 has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
justanotheruser has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @colemickens opened pull request #75342 → vaapiIntel: unstable-20190211 -> 2.4.0 → https://git.io/JeSaH
<rotaerk> well, got the dpi I want ... now I need to figure out how to get various things to comply with it
palo1 has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #75187 → bruteforce-luks: 1.3.2 -> 1.4.0 → https://git.io/Jeyjd
<{^_^}> [nixpkgs] @Lassulus pushed commit from @r-ryantm to master « bruteforce-luks: 1.3.2 -> 1.4.0 »: https://git.io/JeSad
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
justanotheruser has joined #nixos
lambda-11235 has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #75254 → pypi2nix: 2.0.1 -> 2.0.2 → https://git.io/JeSqu
<{^_^}> [nixpkgs] @Lassulus pushed commit from @seppeljordan to master « pypi2nix: 2.0.1 -> 2.0.2 »: https://git.io/JeSaA
bahamas has joined #nixos
bahamas has joined #nixos
endformationage has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #75343 → nixos/polkit: remove root from adminIdentities → https://git.io/JeSap
cab72 has quit [Remote host closed the connection]
Acou_Bass has quit [Quit: ZNC 1.7.4 - https://znc.in]
EdLin has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace closed pull request #75321 → mpdris2: add missing gdk-pixbuf to buildInputs → https://git.io/JeSEm
Acou_Bass has joined #nixos
<angerman> Can I set the applications available to a user in their environment?
<lovesegfault> angerman: What do you mean by that?
<lovesegfault> You may be looking for `nix-env`
<lovesegfault> or `nix-shell`
<angerman> lovesegfault: so I have a user for a service I'm running, but I want that service to have some system tools available at runtime.
<angerman> lovesegfault: so the idea was to just inject them into the default search path that user has.
<lovesegfault> angerman: You probably want those to be propagatedBuildInputs of the service derivation
<keithy[m]> so when nix-build multi-boot-helper.nix is there anywhere to put an sshkey?
<angerman> lovesegfault: so propagatedBuildInputs will be available at runtime?
<{^_^}> [nixpkgs] @worldofpeace opened pull request #75344 → libnotify: propagate glib and gdk-pixbuf → https://git.io/JeSVI
<clever> angerman: propagatedBuildInputs is only at build time, as far as the stdenv is concerned
<angerman> clever: right... so what I really want I guess, is build a shell wrapper, that includes all the runtime tools.
<clever> angerman: but in some cases (python), it will be used to populate PYTHONPATH (at build time), and then that PYTHONPATH value may get baked into scripts
EdLin has quit [Quit: WeeChat 2.6]
<angerman> clever: I need cabal and ghcjs in path for my executable :-)
<clever> so things can leak out into runtime, if you choose to
<clever> angerman: i would just use wrapProgram to prefix PATH
* lovesegfault apparently still doesn't get the difference between buildInputs and propagatedBuildInputs
<keithy[m]> clever: sorry to disturb... when nix-build multi-boot-helper.nix is there anywhere to put an sshkey?
<clever> lovesegfault: when the stdenv is starting up, it will loop over every path in $buildInputs, sort of like: for x in $buildInputs; do
<angerman> clever: systemd.services.<name>.environment?
Boko_dbfecha has joined #nixos
Boko_dbfecha has quit [Max SendQ exceeded]
<clever> lovesegfault: it will then add -I$x/include to the cflags, -L$x/lib to the LDFLAGS
<clever> lovesegfault: it will then look for a $x/nix-support/propagaed-something file, and if present, it will behave as-if the paths within it where already in $buildInputs, and repeat the above
<clever> angerman: ../nixpkgs/pkgs/development/compilers/opa/default.nix: wrapProgram $p --prefix PATH ":" "${codeGeneratorPaths}" ;
<clever> angerman: this will rename $p (lets call it foo), to .foo-wrapped, then generate a bash script called foo, which prefixes PATH, then runs .foo-wrapped
<lovesegfault> clever: So the only way to enforce X be in PATH for Y is to wrap Y and append PATH in the wrapper?
<angerman> clever: so pretty much like setting `PATH` in the environment value?
<angerman> just implicit
<clever> lovesegfault: there is also propagatedUserEnvPkgs (or is it propagatedUserEnvPackages), which will force nix-env to install other things along side your thing
<clever> lovesegfault: but that will instantly fail when you do nix-build && ./result/bin/foo, and it hasnt been installed by nix-env
hyper_ch2 has joined #nixos
<clever> lovesegfault: it also silently collides, and causes all kinds of conflicts (exactly what nix is supposed to prevent)
<clever> angerman: yeah
<lovesegfault> Yeah, that sounds nasty clever
<clever> lovesegfault: for example, https://github.com/NixOS/nixpkgs/issues/30775
<{^_^}> #30775 (by cleverca22, 2 years ago, open): nix-env silently collides propagated-user-env-packages
<hyper_ch2> hi
<clever> lovesegfault: if you install wpa_gui, and wireshark, from different nixpkgs revs, they request conflicting versions of QT
<clever> lovesegfault: propagated-user-env-packages will then put one of those into ~/.nix-profile, breaking whichever package didnt get what it wanted
<lovesegfault> 🤯
<clever> lovesegfault: worse still, if you nix-env -iA any qt package, then later nixos-rebuild --upgrade, and your using KDE, the ENTIRE BLOODY KDE will break upon login
EdLin has joined #nixos
<clever> lovesegfault: so, every time you try to login, it fails, and drops you back to the login screen
rauno has joined #nixos
<lovesegfault> clever: Oh my god
EdLin is now known as EdLin
<lovesegfault> this is some nightmare shit
<lovesegfault> ban propagatedUserEnvPackages!
<clever> lovesegfault: hence, why i always recomend wrapProgram
<lovesegfault> Fair
puck has joined #nixos
orivej has joined #nixos
Boko_fbbbech has joined #nixos
Boko_fbbbech has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75345 → python38Packages.icalendar: 4.0.3 -> 4.0.4 → https://git.io/JeSVQ
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75346 → python38Packages.limnoria: 2019.09.08 -> 2019.11.09 → https://git.io/JeSV7
Boko_ffddgba has joined #nixos
Boko_ffddgba has quit [Max SendQ exceeded]
mexisme has quit [Ping timeout: 246 seconds]
luc91 has joined #nixos
<keithy[m]> ok I built multiboothelper
cdepillabout has quit [Quit: Leaving]
<keithy[m]> ah found it!
philr has joined #nixos
Boko_cagggff has joined #nixos
Boko_cagggff has quit [Max SendQ exceeded]
Boko_eghcdba has joined #nixos
Boko_eghcdba has quit [Max SendQ exceeded]
puck has quit [Ping timeout: 240 seconds]
Boko_hhaeegb has joined #nixos
Boko_hhaeegb has quit [Max SendQ exceeded]
captn3m0 has quit [Ping timeout: 245 seconds]
sudoforge has quit [Ping timeout: 265 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ftzm has joined #nixos
<lovesegfault> gchristensen: Why is this failing? https://hydra.nixos.org/build/107971259
Boko_hbcbacg has joined #nixos
Boko_hbcbacg has quit [Max SendQ exceeded]
<luc91> hello everyody. I installed nixos comming from arch and am now trying to configure awesomewm.
<luc91> My awesomewm config uses vicious (a lua library for awesome) and I found some options in the docs and packages in nixos and also config snippets across the web which made me think that the following would work:
mexisme has joined #nixos
Makaveli7 has joined #nixos
<luc91> # Enable the X11 windowing system. services.xserver.enable = true; services.xserver.displayManager.startx.enable = true; services.xserver.windowManager.awesome = { enable = true; luaModules = [ pkgs.luaPackages.vicious ]; }; services.xserver.layout = "de"; services.xserver.xkbOptions = "caps:ctrl_modifier"; # Enable
<luc91> touchpad support. services.xserver.libinput.enable = true;
<keithy[m]> ok the grub complained about not knowing a server and not having a kernel
<keithy[m]> but apart form that all good! lol
<luc91> But when I start awesome I get an error that it can not find the vicious library.
<luc91> How can I proceed to fix this?
<aterius> Is there a good way to add a symlink to a file with home-manager? I want to symlink $HOME/dircolors to trapdoor/LS_COLORS that i'm downloading via fetchFromGitHub
captn3m0 has joined #nixos
Ariakenom has joined #nixos
<tilpner> luc91: Try services.xserver.windowManager.awesome.luaModules = [ pkgs.luaPackages.vicious ];
Boko_ecfgded has joined #nixos
Boko_ecfgded has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @colemickens closed pull request #61008 → chromium: add useOzone and 'chromiumOzone' variant → https://git.io/JeSwa
<{^_^}> [nixpkgs] @colemickens closed pull request #48030 → cloudflare-cli: init v3.2.0 → https://git.io/fxGJ7
Boko_heehead has joined #nixos
Boko_heehead has quit [Read error: Connection reset by peer]
Boko_hhdgdab has joined #nixos
NoctisLabs has joined #nixos
nicolasnicolas has joined #nixos
<keithy[m]> it worked!
<luc91> tilpner: I don't see a difference to the snippet I posted, I just use the syntax for nested sets. Will try anyway.
<{^_^}> [nixpkgs] @colemickens opened pull request #75347 → cascadia-code: 1911.20 -> 1911.21 → https://git.io/JeSwP
Boko_hhdgdab has quit [Ping timeout: 250 seconds]
Boko_feddggc has joined #nixos
<keithy[m]> I feel like a superior being now!
Boko_feddggc has quit [Read error: Connection reset by peer]
EdLin has quit [Quit: WeeChat 2.6]
<luc91> I have trouble starting X in the nix-vm will have to restart my running X. brb
luc91 has quit [Remote host closed the connection]
Boko_bebbcea has joined #nixos
juxiemaotu has quit [Quit: WeeChat 1.9.1]
juxiemaotu has joined #nixos
eon`_ has quit [Quit: leaving]
eon` has joined #nixos
EdLin has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75348 → python38Packages.folium: 0.10.0 -> 0.10.1 → https://git.io/JeSw7
juxiemaotu has quit [Client Quit]
juxiemaotu has joined #nixos
<lovesegfault> clever: Do you have a beefy Aarch64 machine?
Chiliparrot has joined #nixos
juxiemaotu has quit [Read error: Connection reset by peer]
<clever> lovesegfault: only aarch64 i currently have access to is an rpi3 and the https://github.com/nix-community/aarch64-build-box
<lovesegfault> clever: I just need to build an sd image real quick with SSH stuff enabled, I just don't want to set up all the emulation stuff
<angerman> clever: didn't packet have cheap aarch64 boxes?
<clever> lovesegfault: and its 4am, was just on my way to bed
<lovesegfault> clever: Don't worry then, go to sleep :)
<lovesegfault> I'll figure it out
<clever> angerman: i believe the aarch64 community box is in packet.net
jgt2 has joined #nixos
<clever> also, last time i tried to get aarch64 from packet, they where out of capacity
<yorick> lovesegfault: packet has cheap aarch64 boxes
<yorick> clever: they have another type now
civodul has joined #nixos
<lovesegfault> yorick: Cheap is more expensive than I can afford right now, I think
<clever> angerman: though, i also have stuff graphing the packet.net capacity, and it seems to be available now
<lovesegfault> let me see
Boko_bebbcea has quit [Read error: Connection reset by peer]
<clever> yorick: i see signs that c2.large.arm is now available
<clever> in 5 regions
* lovesegfault signs up
<yorick> clever: I'm still waiting for the c3's, that's gonna be a good time
<clever> yorick: and the c2.large.arm has been available since the very start of me monitoring capacity, it must have happened between trying to test it, and setting up monitoring
* clever runs off to bed
Boko_gghbhgd has joined #nixos
<lovesegfault> We couldn't create your account. Please correct the following errors: Current referer is not allowed
<lovesegfault> Wat
<lovesegfault> Ah, my extension
nicolasnicolas has quit [Quit: Textual IRC Client: www.textualapp.com]
Boko_gghbhgd has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75349 → python38Packages.nbdime: 1.0.7 -> 1.1.0 → https://git.io/JeSrs
Tucky has joined #nixos
thc202 has joined #nixos
EdLin is now known as EdLin
<lukego> Hey is there a trick to set SSID/PSK for a new wifi network manually? I'm trying to connect my NixOS laptop to a hotspot and I can't `nixos-rebuild switch` to update my main nixos config due to the current lack of connectivity.
* lovesegfault patiently waits for provisioning
<lovesegfault> thanks for the tip yorick, 50c/h is cheap
jgt2 has quit [Ping timeout: 250 seconds]
ftzm has quit [Quit: WeeChat 1.9.1]
magneticduck has quit [Remote host closed the connection]
ng0 has joined #nixos
<lovesegfault> Provisioning these packet boxes is SLOW
lsix has joined #nixos
chloekek has joined #nixos
<tilpner> ,tell luc91 Oh, you're right. Sorry
<{^_^}> tilpner: I'll pass that on to luc91
<lovesegfault> yorick++
<{^_^}> yorick's karma got increased to 8
<yorick> lovesegfault: agreed
<{^_^}> [nixpkgs] @vbgl merged pull request #75085 → ocamlPackages.graphql: init at 0.13.0 → https://git.io/JeyOf
<{^_^}> [nixpkgs] @vbgl pushed 4 commits to master: https://git.io/JeSrh
magthe has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
<magthe> Anyone around who has a grasp of the Haskell packaging in nixpkgs? I'm confused aobut the `AttrSet` that can be passed to `callHackage` (I'm assuming that's how I can prevent running tests and Haddock etc).
hyper_ch2 has quit [Remote host closed the connection]
<infinisil> magthe: It takes the same arguments as `haskellPackages.callPackage`
<infinisil> Or `haskellPackages.mkDerivation`
peanutbutter144 has quit [Ping timeout: 265 seconds]
lambda-11235 has quit [Quit: Bye]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
luc91 has joined #nixos
<magthe> infinisil: so, should I be able to pass in `{ doCheck = false; doHoogle = false; }`? (I can't :/)
<yorick> magthe: I've never put anything in it
<yorick> magthe: use haskell.lib.dontCheck or overrideCabal to pass those in
<luc91> somehow my irc client did not connect like I expected so it took I while to come back
<{^_^}> luc91: 15 minutes, 35 seconds ago <tilpner> Oh, you're right. Sorry
smatting has joined #nixos
<magthe> yorick: here's what I'm trying to do: https://termbin.com/k8nd
<magthe> my confusion about the whole setup is rather solid, `callCabal2nixWithOptions` vs `callHackage`, `override` vs `overrideCabal`, etc
<yorick> magthe: ghcide = haskell.lib.dontCheck self.callCabal2nix..
<yorick> callCabal2nix for local cabal files, callHackage for things on hackage
__Sander__ has joined #nixos
<infinisil> magthe: OH hm yeah maybe not
<yorick> override for things that are options in the package (doesn't apply to generated haskell packages), overrideCabal for overriding things like doHaddock and doCheck
orivej has quit [Ping timeout: 240 seconds]
knupfer has joined #nixos
<magthe> Yes, yorick, that last suggestion I got in the last round of asking :) so, turning it around and using the `dontX`/`doX` of `haskell.lib` is the way to go
<infinisil> magthe: Ah! Sorry, the arguments you pass there are haskell packages
peanutbutter144 has joined #nixos
<magthe> I've only been playing with Nix for a few days and I _really_ miss documentation and a recipe book
<infinisil> So e.g. if `foo` depends on `aeson` you can do `callHackage "foo" "1.5.3" { aeson = ...; }`
<yorick> magthe: the haskell stuff will be different in a few months
mexisme has joined #nixos
luc91 has quit [Quit: luc91]
<magthe> yorick: yes, I did suspect that... though will there be large changes before the next release?
veske has joined #nixos
<lovesegfault> yorick: I wish packet would let me provision the NixOS box with my config
<yorick> magthe: no, it'll probably be a flake for the forseeable future
<lovesegfault> but it is pretty neat
<yorick> lovesegfault: you can put nix expressions in the configuration attribute
<yorick> but you'll still get their 19.03
<lovesegfault> :O
<lovesegfault> Yeah, that is a shame
<magthe> infinisil: I probably wasn't stating my intent very clearly.
<lovesegfault> I bumped to unstable successfully
<yorick> lovesegfault: they are working on 19.09
EdLin has quit [Quit: WeeChat 2.6]
<magthe> yorick: Yes, a flake for sure..
hyper_ch2 has joined #nixos
EdLin has joined #nixos
<{^_^}> [nixpkgs] @jlesquembre closed pull request #73817 → clojure: 1.10.1.469 -> 1.10.1.489 → https://git.io/Je63m
veske has quit [Quit: This computer has gone to sleep]
<magthe> So, the next question, also related to haskell packaging. Now I have https://termbin.com/nxoj that builds a working version of ghcide, can I somehow turn that into a full copy of `<nixpkgs>` with `myHaskellPackages` replacing `haskellPackages`? (or is that a patently stupid idea?)
mexisme has quit [Ping timeout: 268 seconds]
zyklotomic has quit [Ping timeout: 268 seconds]
logzet has joined #nixos
jgt2 has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #75310 → Remove mbedtls_1_3, alienfx, coprthr, firestr → https://git.io/JeS8S
<{^_^}> [nixpkgs] @fpletz pushed 5 commits to master: https://git.io/JeSox
veske has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75350 → python38Packages.simpleeval: 0.9.8 -> 0.9.10 → https://git.io/JeSKT
infinee has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
Chiliparrot has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
bahamas has quit [Ping timeout: 250 seconds]
<yorick> if I have an authenticated s3 binary cache, will all users have to access the aws key?
<{^_^}> [nixpkgs] @jlesquembre opened pull request #75351 → clojure: 1.10.1.489 -> 1.10.1.492 → https://git.io/JeSKc
bahamas has joined #nixos
is_null has joined #nixos
__monty__ has joined #nixos
infinee has quit [Quit: WeeChat 2.3]
gxt has quit [Ping timeout: 260 seconds]
fusion809 has joined #nixos
<evils> i've got a python error of "no module named 'math'" on debian that goes away if i use nix-shell --pure, is there a way to make sure this error doesn't occur when installing the package on debian?
leotaku has quit [Quit: ZNC 1.7.4 - https://znc.in]
gxt has joined #nixos
carlosdagos has joined #nixos
johnw has quit [Quit: ZNC - http://znc.in]
johnw has joined #nixos
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
domenkozar[m] has quit [Quit: killed]
schmittlauch[m] has quit [Quit: killed]
florianjacob has quit [Quit: killed]
Ox4A6F has quit [Quit: killed]
roberth has quit [Quit: killed]
joepie91[m] has quit [Quit: killed]
Gopal-M has quit [Read error: Connection reset by peer]
abbradar[m] has quit [Quit: killed]
null_radix[m] has quit [Quit: killed]
is0x3F has quit [Quit: killed]
blahaj[m] has quit [Quit: killed]
manveru[m] has quit [Quit: killed]
fgaz has quit [Quit: killed]
wak-work has quit [Quit: killed]
MarkOtaris has quit [Quit: killed]
eddyb has quit [Quit: killed]
pheoxy has quit [Quit: killed]
timokau[m] has quit [Quit: killed]
IslandUsurper has quit [Quit: killed]
dtz has quit [Quit: killed]
clacke[m] has quit [Quit: killed]
chickenbuttscrat has quit [Quit: killed]
tokudan[m] has quit [Quit: killed]
otini has quit [Quit: killed]
Dandellion[m] has quit [Quit: killed]
Victor[m]1 has quit [Quit: killed]
truby has quit [Quit: killed]
Thinkofname[m] has quit [Quit: killed]
abbec has quit [Quit: killed]
bricewge has quit [Quit: killed]
ilya-fedin has quit [Quit: killed]
worldofpeace has quit [Quit: killed]
jonge[m] has quit [Quit: killed]
sylvie[m] has quit [Quit: killed]
Notkea[m] has quit [Quit: killed]
setthemfree[m] has quit [Quit: killed]
jschievink has quit [Quit: killed]
pingveno[m] has quit [Quit: killed]
pingiun[m] has quit [Quit: killed]
ndarwincorn has quit [Quit: killed]
phittacus has quit [Quit: killed]
wildtrees[m] has quit [Quit: killed]
malteof[m] has quit [Quit: killed]
alexarice[m] has quit [Quit: killed]
balsoft has quit [Quit: killed]
hiroshi[m] has quit [Quit: killed]
siraben has quit [Quit: killed]
copy` has quit [Quit: killed]
yoho[m]1 has quit [Quit: killed]
thequux[m] has quit [Quit: killed]
corpix[m] has quit [Quit: killed]
TravisRt2botio[m has quit [Quit: killed]
offlinehacker has quit [Quit: killed]
octowan[m] has quit [Quit: killed]
zummed[m] has quit [Quit: killed]
stramble-M has quit [Read error: Connection reset by peer]
HappyEnt[m] has quit [Quit: killed]
fpletz[m] has quit [Quit: killed]
tobim[m] has quit [Quit: killed]
jtojnar has quit [Quit: killed]
bendlas has quit [Quit: killed]
h4xx0rg0n3[m] has quit [Quit: killed]
phyfey[m] has quit [Quit: killed]
contrun[m] has quit [Quit: killed]
bennofs[m] has quit [Quit: killed]
JaakkoLuttinen[m has quit [Quit: killed]
ma27[m] has quit [Quit: killed]
frislie[m] has quit [Quit: killed]
am3on[m] has quit [Quit: killed]
NoblesseOblige24 has quit [Quit: killed]
joelpet1 has quit [Quit: killed]
Noughtmare[m] has quit [Quit: killed]
layus[m] has quit [Quit: killed]
icetan[m] has quit [Quit: killed]
lel[m] has quit [Quit: killed]
pachacuti[m] has quit [Quit: killed]
submoo[m] has quit [Quit: killed]
xelaushi[m] has quit [Quit: killed]
abbafei[m] has quit [Quit: killed]
geemili has quit [Quit: killed]
psiperator[m] has quit [Quit: killed]
shizonic has quit [Quit: killed]
wnklmnn[m] has quit [Quit: killed]
seb314[m] has quit [Quit: killed]
DanP[m] has quit [Quit: killed]
l33[m] has quit [Quit: killed]
macerbi[m]1 has quit [Quit: killed]
ninjatrappeur[m] has quit [Quit: killed]
slabity has quit [Quit: killed]
colemickens has quit [Quit: killed]
haslersn has quit [Quit: killed]
alienpirate5 has quit [Quit: killed]
nh2[m] has quit [Quit: killed]
clefru has quit [Quit: killed]
lisprez[m] has quit [Quit: killed]
quiet_laika[m] has quit [Quit: killed]
danielrf[m] has quit [Quit: killed]
imj[m] has quit [Quit: killed]
ronny has quit [Quit: killed]
MiloIgnis[m] has quit [Quit: killed]
harkenedraven has quit [Quit: killed]
escaP[m] has quit [Quit: killed]
rihardsk[m] has quit [Quit: killed]
hpfr[m] has quit [Quit: killed]
isgy[m] has quit [Quit: killed]
simbergm has quit [Quit: killed]
bikki[m] has quit [Quit: killed]
goibhniu has quit [Quit: killed]
thefloweringash has quit [Quit: killed]
flacks has quit [Quit: killed]
wangoe[m] has quit [Quit: killed]
momack2[m] has quit [Quit: killed]
zmlww[m] has quit [Quit: killed]
Seb[m] has quit [Quit: killed]
rycee has quit [Quit: killed]
attero has quit [Quit: killed]
aterius has quit [Quit: killed]
NickHu has quit [Quit: killed]
olejorgenb[m] has quit [Quit: killed]
mirsal has quit [Quit: killed]
provessor[m] has quit [Quit: killed]
manu12[m] has quit [Quit: killed]
luftmensch[m] has quit [Quit: killed]
Minijackson[m] has quit [Quit: killed]
pinage404[m] has quit [Quit: killed]
tails[m] has quit [Quit: killed]
DenisLehmann[m] has quit [Quit: killed]
keithy[m] has quit [Quit: killed]
marijan[m] has quit [Quit: killed]
Brian[m]4 has quit [Quit: killed]
xavierm02 has quit [Quit: killed]
marius851000[m] has quit [Quit: killed]
zer0xp[m] has quit [Quit: killed]
LinuXit has quit [Quit: killed]
musicmatze has quit [Quit: killed]
Jarva[m] has quit [Quit: killed]
wedens[m] has quit [Quit: killed]
EuAndreh[m] has quit [Quit: killed]
kecia[m] has quit [Quit: killed]
veleiro has quit [Quit: killed]
das-g[m] has quit [Quit: killed]
arcnmx has quit [Quit: killed]
blitzclone_ has quit [Quit: killed]
segfault[m] has quit [Quit: killed]
hagelslag[m] has quit [Quit: killed]
philipp[m]2 has quit [Quit: killed]
MerlinGttlinger[ has quit [Quit: killed]
vaibhavsagar has quit [Quit: killed]
mica[m] has quit [Quit: killed]
arianvp[m] has quit [Quit: killed]
li_matrix has quit [Quit: killed]
Sisyphe[m] has quit [Quit: killed]
ZerataX has quit [Quit: killed]
frederic_chopwn[ has quit [Read error: Connection reset by peer]
MilkManzJourDadd has quit [Quit: killed]
aanderse has quit [Quit: killed]
Ericson2314 has quit [Quit: killed]
yangm has quit [Quit: killed]
bbigras has quit [Quit: killed]
mt[m] has quit [Quit: killed]
ejpcmac has quit [Quit: killed]
david-sawatzke[m has quit [Quit: killed]
craige[m] has quit [Quit: killed]
kaychaks[m] has quit [Quit: killed]
dpc has quit [Quit: killed]
icetan has quit [Quit: killed]
laas has quit [Quit: killed]
kirelagin has quit [Quit: killed]
leons has quit [Quit: killed]
cornu has quit [Quit: killed]
cyberwolf[m] has quit [Quit: killed]
zurdo has quit [Read error: Connection reset by peer]
gaisseml[m]1 has quit [Read error: Connection reset by peer]
sevcsik- has quit [Quit: killed]
mkg20001 has quit [Quit: killed]
Nyanloutre[m] has quit [Quit: killed]
<{^_^}> [nixpkgs] @Zimmi48 opened pull request #75352 → ocamlformat: 0.11.0 -> 0.12 → https://git.io/JeSKy
Yakulu[m] has quit [Quit: killed]
nilsirl[m] has quit [Quit: killed]
MayeulC_backup has quit [Quit: killed]
bachp has quit [Quit: killed]
spacekitteh[m] has quit [Quit: killed]
coniferous-cube[ has quit [Write error: Connection reset by peer]
atopuzov[m] has quit [Write error: Connection reset by peer]
sauyon[m] has quit [Quit: killed]
nbardiuk has quit [Write error: Connection reset by peer]
regnat[m] has quit [Quit: killed]
wrunt[m] has quit [Write error: Connection reset by peer]
gaisseml[m] has quit [Quit: killed]
snupples[m] has quit [Write error: Connection reset by peer]
VaNilLa[m] has quit [Write error: Connection reset by peer]
Smith[m] has quit [Write error: Connection reset by peer]
rnhmjoj has quit [Write error: Connection reset by peer]
alex[m]9 has quit [Quit: killed]
Christian[m]1 has quit [Quit: killed]
Vskilet has quit [Quit: killed]
bohan[m] has quit [Quit: killed]
GerdFlaig[m] has quit [Quit: killed]
psyanticy has joined #nixos
leotaku has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75353 → python38Packages.pikepdf: 1.6.5 -> 1.8.0 → https://git.io/JeSKH
<Enzime> gchristensen: https://channels.nix.gsc.io/ a bunch of channels haven't updated in a few weeks
kleisli has quit [Ping timeout: 252 seconds]
Gopal-M has joined #nixos
stramble-M has joined #nixos
veske has joined #nixos
EdLin has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Makaveli7 has quit [Quit: WeeChat 2.6]
veske has quit [Client Quit]
jgeerds has joined #nixos
iyzsong has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
juxiemaotu has joined #nixos
juxiemaotu has quit [Read error: Connection reset by peer]
Chiliparrot has joined #nixos
boogiewoogie has joined #nixos
fendor has joined #nixos
alexarice[m] has joined #nixos
<{^_^}> [nixpkgs] @kampka closed pull request #71226 → zsh-history: Update gomod hashsum → https://git.io/Je4YU
veske has joined #nixos
gentauro has quit [Ping timeout: 245 seconds]
gentauro has joined #nixos
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #75329 → python38Packages.numericalunits: 1.23 -> 1.24 → https://git.io/JeSzs
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JeSit
<{^_^}> [nixpkgs] @marsam merged pull request #75334 → python38Packages.hvac: 0.9.5 -> 0.9.6 → https://git.io/JeSzM
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeSi3
<{^_^}> [nixpkgs] @marsam merged pull request #75336 → linuxPackages.nvidia_x11.settings: enableParallelBuilding → https://git.io/JeSg3
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeSiG
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
is_null has quit [Ping timeout: 240 seconds]
carlosdagos has quit [Ping timeout: 250 seconds]
cosimone has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JeSiM
ehmery is now known as ehmry
iyzsong has quit [Ping timeout: 252 seconds]
iyzsong-x has joined #nixos
<{^_^}> [nix] @yorickvP opened pull request #3259 → Decompress tar files using libarchive → https://git.io/JeSiF
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75356 → python38Packages.pymupdf: 1.16.8 -> 1.16.9 → https://git.io/JeSib
bahamas has quit [Ping timeout: 268 seconds]
bahamas has joined #nixos
arzoc has joined #nixos
ronny has joined #nixos
wangoe[m] has joined #nixos
momack2[m] has joined #nixos
MarkOtaris has joined #nixos
MayeulC_backup has joined #nixos
MiloIgnis[m] has joined #nixos
bohan[m] has joined #nixos
goibhniu has joined #nixos
EuAndreh[m] has joined #nixos
kirelagin has joined #nixos
attero has joined #nixos
joelpet1 has joined #nixos
Yakulu[m] has joined #nixos
JaakkoLuttinen[m has joined #nixos
blitzclone_ has joined #nixos
DenisLehmann[m] has joined #nixos
corpix[m] has joined #nixos
copy` has joined #nixos
truby has joined #nixos
leons has joined #nixos
bricewge has joined #nixos
Noughtmare[m] has joined #nixos
macerbi[m]1 has joined #nixos
ZerataX has joined #nixos
pheoxy has joined #nixos
musicmatze has joined #nixos
bbigras has joined #nixos
dpc has joined #nixos
dtz has joined #nixos
mt[m] has joined #nixos
imj[m] has joined #nixos
manu12[m] has joined #nixos
hagelslag[m] has joined #nixos
xavierm02 has joined #nixos
flacks has joined #nixos
rnhmjoj has joined #nixos
aanderse has joined #nixos
fgaz has joined #nixos
li_matrix has joined #nixos
laas has joined #nixos
LinuXit has joined #nixos
otini has joined #nixos
nh2[m] has joined #nixos
Seb[m] has joined #nixos
Jarva[m] has joined #nixos
segfault[m] has joined #nixos
bikki[m] has joined #nixos
bennofs[m] has joined #nixos
arianvp[m] has joined #nixos
freerangechicken has joined #nixos
florianjacob has joined #nixos
lisprez[m] has joined #nixos
contrun[m] has joined #nixos
ndarwincorn has joined #nixos
wildtrees[m] has joined #nixos
luftmensch[m] has joined #nixos
MilkManzJourDadd has joined #nixos
icetan[m] has joined #nixos
mirsal has joined #nixos
IslandUsurper has joined #nixos
wrunt[m] has joined #nixos
yangm has joined #nixos
clefru1 has joined #nixos
pachacuti[m] has joined #nixos
alex[m]11 has joined #nixos
gaisseml[m] has joined #nixos
kecia[m] has joined #nixos
ninjatrappeur[m] has joined #nixos
haslersn has joined #nixos
Vskilet has joined #nixos
Thinkofname[m] has joined #nixos
slabity has joined #nixos
octowan[m] has joined #nixos
pingveno[m] has joined #nixos
tails[m] has joined #nixos
zummed[m] has joined #nixos
colemickens has joined #nixos
das-g[m] has joined #nixos
sevcsik- has joined #nixos
geemili has joined #nixos
HappyEnt[m] has joined #nixos
Minijackson[m] has joined #nixos
aterius has joined #nixos
alienpirate5 has joined #nixos
kaychaks[m] has joined #nixos
rihardsk[m] has joined #nixos
phyfey[m] has joined #nixos
GerdFlaig[m] has joined #nixos
Notkea[m] has joined #nixos
setthemfree[m] has joined #nixos
keithy[m] has joined #nixos
ejpcmac has joined #nixos
frederic_chopwn[ has joined #nixos
coniferous-cube[ has joined #nixos
lel[m] has joined #nixos
balsoft has joined #nixos
harkenedraven has joined #nixos
eddyb has joined #nixos
jschievink has joined #nixos
seb314[m] has joined #nixos
offlinehacker has joined #nixos
MerlinGttlinger[ has joined #nixos
Ericson2314 has joined #nixos
isgy[m] has joined #nixos
Dandellion[m] has joined #nixos
bachp has joined #nixos
cornu has joined #nixos
worldofpeace has joined #nixos
phittacus has joined #nixos
zer0xp[m] has joined #nixos
philipp[m]2 has joined #nixos
Smith[m] has joined #nixos
zmlww[m] has joined #nixos
danielrf[m] has joined #nixos
am3on[m] has joined #nixos
psiperator[m] has joined #nixos
gaisseml[m]1 has joined #nixos
ilya-fedin has joined #nixos
VaNilLa[m] has joined #nixos
TravisRt2botio[m has joined #nixos
vaibhavsagar has joined #nixos
zurdo has joined #nixos
wnklmnn[m] has joined #nixos
DanP[m] has joined #nixos
provessor[m] has joined #nixos
timokau[m] has joined #nixos
marijan[m] has joined #nixos
schmittlauch[m] has joined #nixos
jonge[m] has joined #nixos
hiroshi[m] has joined #nixos
frislie[m] has joined #nixos
domenkozar[m] has joined #nixos
cyberwolf[m] has joined #nixos
shizonic has joined #nixos
nbardiuk has joined #nixos
is0x3F has joined #nixos
yoho[m]1 has joined #nixos
nilsirl[m] has joined #nixos
tokudan[m] has joined #nixos
olejorgenb[m] has joined #nixos
fpletz[m] has joined #nixos
wedens[m] has joined #nixos
atopuzov[m] has joined #nixos
mica[m] has joined #nixos
david-sawatzke[m has joined #nixos
Christian[m]3 has joined #nixos
roberth has joined #nixos
icetan has joined #nixos
sauyon[m] has joined #nixos
thequux[m] has joined #nixos
hpfr[m] has joined #nixos
joepie91[m] has joined #nixos
abbradar[m] has joined #nixos
sylvie[m] has joined #nixos
craige[m] has joined #nixos
jtojnar has joined #nixos
Nyanloutre[m] has joined #nixos
malteof[m] has joined #nixos
tobim[m] has joined #nixos
ma27[m] has joined #nixos
arcnmx has joined #nixos
Sisyphe[m] has joined #nixos
thefloweringash has joined #nixos
pinage404[m] has joined #nixos
layus[m] has joined #nixos
manveru[m] has joined #nixos
siraben has joined #nixos
clacke[m] has joined #nixos
Ox4A6F has joined #nixos
submoo[m] has joined #nixos
escaP[m] has joined #nixos
snupples[m] has joined #nixos
abbafei[m] has joined #nixos
Victor[m]1 has joined #nixos
wak-work has joined #nixos
NickHu has joined #nixos
blahaj[m] has joined #nixos
marius851000[m] has joined #nixos
Brian[m]5 has joined #nixos
NoblesseOblige24 has joined #nixos
veleiro has joined #nixos
spacekitteh[m] has joined #nixos
rycee has joined #nixos
regnat[m] has joined #nixos
abbec has joined #nixos
quiet_laika[m] has joined #nixos
simbergm has joined #nixos
null_radix[m] has joined #nixos
bendlas has joined #nixos
l33[m] has joined #nixos
h4xx0rg0n3[m] has joined #nixos
xelaushi[m] has joined #nixos
pingiun[m] has joined #nixos
grahamc[m] has joined #nixos
grahamc[m] has quit [Quit: User has been idle for 30+ days.]
is_null has joined #nixos
fendor__ has joined #nixos
leah2 has quit [Remote host closed the connection]
noudle has joined #nixos
juxiemaotu has joined #nixos
fendor has quit [Ping timeout: 245 seconds]
fendor__ is now known as fendor
domogled has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #75348 → python38Packages.folium: 0.10.0 -> 0.10.1 → https://git.io/JeSw7
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeSPG
juxiemaotu has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam merged pull request #75347 → cascadia-code: 1911.20 -> 1911.21 → https://git.io/JeSwP
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeSPZ
leah2 has joined #nixos
juxiemaotu has joined #nixos
juxiemaotu has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam merged pull request #75318 → du-dust: 0.4.1.2 -> 0.4.2 → https://git.io/JeSRd
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeSPc
iyzsong-x has quit [Quit: ZNC 1.7.1 - https://znc.in]
cfricke has joined #nixos
gilligan_ has joined #nixos
arzoc has quit [Remote host closed the connection]
cfricke has quit [Client Quit]
is_null has quit [Ping timeout: 276 seconds]
is_null has joined #nixos
<fendor> how can I debug a complete OS freeze? could not switch tty, mouse could not move, etc...
<notgne2> last time this happened I resorted to SSH fendor
<keithy[m]> ssh?
<notgne2> but there's probably something in the journals if thats easier
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75357 → python38Packages.Wand: 0.5.7 -> 0.5.8 → https://git.io/JeSPR
<fendor> I feel not proficient enough to properly read those journalctl logs
<genesis> yesterday i'd a freeze on a fresh installed nixos, after doing ssh session too
<keithy[m]> I am reading through the "pills" documentation, it is very good. but... it doesnt warn you that nix-env -i hello takes ages on a first install of nixos
<Shoubit> keithy[m], how long is "ages"? It shouldn't take longer than a few seconds, probably.
<fendor> I wasnt using ssh. github with an ssh key, but no explicit ssh
erictapen has joined #nixos
<keithy[m]> long enough that I ^C d and added -v to see if it was doing anything
Chiliparrot has joined #nixos
domogled has joined #nixos
<keithy[m]> ok, second run was 20secs
o1lo01ol_ has joined #nixos
<keithy[m]> its not a particularly fast mc
<adisbladis> keithy[m]: Use `nix-env -iA ..`
<keithy[m]> didnt work
<gilligan_> Is there any way to figure out what macOS version nix is running on/was compiled for? I have a list of binaries like `*-macos-10.10`, `*-macos-10.11` or whatever and I have no idea how to pick one. Any ideas from anyone?
<keithy[m]> nix-env -iA hello
<keithy[m]> error: attribute 'hello' in selection path 'hello' not found
ftzm has joined #nixos
ftzm has quit [Client Quit]
<keithy[m]> I dream of having a list of binaries 10.11, I couldnt get anything to work under el captian yesterday
<{^_^}> [nixpkgs] @petabyteboy opened pull request #75358 → mumble: build with pulseaudio support on linux and add petabyteboy to maintainers → https://git.io/JeSPi
cfricke has joined #nixos
bahamas has quit [Ping timeout: 265 seconds]
<adisbladis> keithy[m]: Try `nix-env -f '<nixpkgs>' -iA hello`
cfricke has quit [Client Quit]
<keithy[m]> that was fast enough!
rardiol has joined #nixos
juxiemaotu has joined #nixos
CMCDragonkai has quit [Quit: Connection closed for inactivity]
<betawaffle> does builtins.listToAttrs complain if two things have the same name?
is_null has quit [Ping timeout: 265 seconds]
<tilpner> > builtins.listToAttrs [ { name = "foo"; value = "no"; } { name = "foo"; value = "yes"; } ]
<{^_^}> { foo = "no"; }
<betawaffle> so it takes the first one
juxiemaotu has quit [Read error: Connection reset by peer]
Tucky has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @marsam opened pull request #75359 → procs: 0.8.13 -> 0.8.16 → https://git.io/JeSP5
puck has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75360 → qbittorrent: 4.1.9.1 -> 4.2.0 → https://git.io/JeSPp
cosimone has quit [Quit: Terminated!]
<adisbladis> I thought our lovely bot had a thing for -iA
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/5f7eae4bbb1 (from 5 days ago, history: https://channels.nix.gsc.io/nixos-19.03)
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5f7eae4bbb1 (from 5 days ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/808d3c6d123 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-19.09)
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/3140fa89c51 (from 5 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/3a1861fcabc (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8bad6c47c1c (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<gchristensen> thank you, Enzime
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5f7eae4bbb1 (from 5 days ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/3a1861fcabc (from 12 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/cc6cf0a96a6 (from 4 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @jtojnar merged pull request #75344 → libnotify: propagate glib and gdk-pixbuf → https://git.io/JeSVI
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/JeSXL
<keithy[m]> I have a fresh install of nixos, and I did a nix-env -i hello .nix has 3.3G of stuff in it, is that to be expected?
gentauro has quit [Ping timeout: 268 seconds]
<etu> keithy[m]: Do you have a graphical environment enabled and such?
<keithy[m]> did it tar up the old os just in case?
<keithy[m]> no
<keithy[m]> not that I know of
<keithy[m]> I havent enabled anything yet
<keithy[m]> I used the muliboot helper
<keithy[m]> so it ought to be a clean install
<keithy[m]> of nothing
gentauro has joined #nixos
<gchristensen> 3.3^ seems reasonable enough
<gchristensen> maybe a little bit big
<keithy[m]> so much for lazy loading!
<keithy[m]> for hello world?
<etu> keithy[m]: /nix is the entire system
<etu> keithy[m]: all generations of everything
<keithy[m]> the partition was only 4G
<gchristensen> you've found this already, but 4G is not big enough
<etu> keithy[m]: Including all versions of all channels unpacked that you have in your system
<keithy[m]> wh
<keithy[m]> why
<keithy[m]> why on each whats the point of all this caching
jgeerds has quit [Ping timeout: 268 seconds]
<keithy[m]> ok back to fedora core os
<gchristensen> that is how the rollbacks happen
acarrico has quit [Ping timeout: 252 seconds]
<keithy[m]> this is a clean install
<gchristensen> when you upgrade or change your system, your old system's files remain so you can perfectly roll back to them
<keithy[m]> I havent installed anything yet
<etu> you have the system installed?
<adisbladis> keithy[m]: You have installed nix + all of it's dependencies
<gchristensen> I understand
<gchristensen> keithy[m]: the install may be a bit fatter than it should be :)
<gchristensen> but 4G is too small for NixOS usually, usually around 16G or so is a much better place to start
<etu> But nix have never (as far as I know) claimed to be light on disk usage
<adisbladis> Hmm, my current system closure clocks in at 4.9G
<keithy[m]> but you have a hash and you can get things from the net if you need them lazily I thought that was the whole point
<gchristensen> indeed, Nix trades disk for sanity :)
<gchristensen> keithy[m]: no, the /nix/store is not lazily fetched
<gchristensen> keithy[m]: the Nix language is lazy
<adisbladis> keithy[m]: A drawback of the nix model is increased disk usage
<keithy[m]> I cant have all my nodes ag 4G
<gchristensen> all dependencies of what you have installed will be locally available
<adisbladis> Though there are ways to reduce that
<adisbladis> keithy[m]: https://nixos.org/nixos/options.html#nix.autooptimisestore for example
<gchristensen> keithy[m]: can you tell me more about your nodes and deployment, and what makes 4G too much?
<keithy[m]> nothing I am competing with FCOS
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75361 → python38Packages.pythondialog: 3.4.0 -> 3.5.0 → https://git.io/JeSXo
bahamas has joined #nixos
<keithy[m]> so right now the best solution is FCOS +nix
<adisbladis> fcos?
<gchristensen> not sure why disk space is such a big deal then
<keithy[m]> Fedora Core OS
<etu> keithy[m]: if you deploy images for example, you can build images using nix which can be smaller.
hyper_ch2 has quit [Remote host closed the connection]
<adisbladis> This ^
<etu> keithy[m]: Then you don't need a full nixos install
<keithy[m]> deploy images on to ?
<gchristensen> and you can build fully static images ready for production
hyper_ch2 has joined #nixos
<keithy[m]> what do you run the images on?
<etu> keithy[m]: You mentioned nodes so I assume it's some form of cluster where you deploy stuff
<duairc> Does nixpkgs know its own revision? Is there a way from with within nix to get the revision of a particular nixpkgs? Something like (import <nixpkgs> {}).revision ?
<keithy[m]> thats what FCOS is designed for
<keithy[m]> but I thought nix would be better in many ways
ee194350 has quit [Ping timeout: 268 seconds]
Kritnich has quit [Quit: Bye bye.]
dingenskirchen has quit [Quit: dingenskirchen]
ee194350 has joined #nixos
dingenskirchen1 has joined #nixos
<keithy[m]> if you install a binary only with its dependencies, then I dont need the whole os
<keithy[m]> so I didnt expect to find a 4G os
<adisbladis> keithy[m]: If you're looking at an individual package like you are nix disk usage can looks a bit high.
<betawaffle> any idea why there doesn't seem to be a manpage for nft installed, even though the package seems to depend on documentation-building tools?
<adisbladis> keithy[m]: As another data point my _entire_ system closure is 4.9G
<etu> keithy[m]: But you say that you installed the OS, and then install a binary with it's deps. Then you have an OS before you installed since before you installed this package?
dingenskirchen1 is now known as dingenskirchen
<keithy[m]> I installed nix
<keithy[m]> using the multboot helper
<keithy[m]> so I expected the old os to be wiped
<duairc> This is the closest I have so far but won't work if <nixpkgs> is not a full git repo: builtins.head (builtins.split "\t" (builtins.readFile <nixpkgs/.git/FETCH_HEAD>))
veske has quit [Quit: This computer has gone to sleep]
Neo-- has joined #nixos
veske has joined #nixos
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75362 → python38Packages.phonenumbers: 8.10.23 -> 8.11.0 → https://git.io/JeS1f
domogled has joined #nixos
<keithy[m]> I thought nixos would be bash
<keithy[m]> and nix
<gchristensen> what is multboot ?
is_null has joined #nixos
<etu> And did you install nix on some other os or nixos? If it's nixos, how would it be just bash and nix? It has systemd, coreutils, etc.
<duairc> Ah, <nixpkgs/.version-suffix> seems to do the trick
<gchristensen> at any rate, no, sorry, NixOS is a full OS capable of being quite minimal and capable of being quite full featured and the default ISO is a middle ground
<keithy[m]> my config lists netboot minimal
<keithy[m]> mulitboot-helper is something clever has, it generates a kernel, an initrd and a grub-fragment pop tem into boot and away you got
<keithy[m]> * mulitboot-helper is something clever has, it generates a kernel, an initrd and a grub-fragment pop them into boot and away you go
<keithy[m]> imports = [ <nixpkgs/nixos/modules/installer/netboot/netboot-minimal.nix>
<keithy[m]> thats all there is in the configuration.nix
<keithy[m]> ok I think im over the shock
<keithy[m]> need to resize this partition
orivej has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #75363 → nixos/sway: Enable the display manager integration → https://git.io/JeS1o
is_null has quit [Ping timeout: 250 seconds]
is_null has joined #nixos
bahamas has quit [Quit: leaving]
<keithy[m]> ok, it looks like the actual size if 456Mb
<keithy[m]> * ok, it looks like the actual size is 456Mb
joshuagl has joined #nixos
Rusty1 has joined #nixos
Chiliparrot has quit [Read error: Connection reset by peer]
lukash_|away is now known as lukash_
is_null has quit [Ping timeout: 240 seconds]
is_null has joined #nixos
Chiliparrot has joined #nixos
puck has quit [Quit: nya]
<{^_^}> [nixpkgs] @primeos pushed 3 commits to master: https://git.io/JeSMe
<gchristensen> ,locate radvddump
<{^_^}> Couldn't find in any packages
<{^_^}> [nixpkgs] @marsam merged pull request #73613 → azcopy: 10.0.1 -> 10.3.2 → https://git.io/JeKta
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeSMY
cosimone has joined #nixos
is_null has quit [Ping timeout: 268 seconds]
hyper_ch2 has quit [Ping timeout: 265 seconds]
is_null has joined #nixos
erictapen has quit [Ping timeout: 250 seconds]
puck has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #75316 → pirate-get: 0.3.3 -> 0.3.4 → https://git.io/JeSRX
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JeSMX
selfsymmetric-mu has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ryantm merged pull request #75306 → oclgrind: 18.3 -> 19.10 → https://git.io/JeS8V
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JeSM9
acarrico has joined #nixos
<evils> anyone feel like helping me separate the wrapping of kicad from the built source?
tjg1 has quit [Quit: if i commit suicide, at least a real nigga killed me]
kleisli has joined #nixos
tjg1 has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #75352 → ocamlformat: 0.11.0 -> 0.12 → https://git.io/JeSKy
<{^_^}> [nixpkgs] @vbgl pushed commit from @Zimmi48 to master « ocamlformat: 0.11.0 -> 0.12 »: https://git.io/JeSMj
<drozdziak1> I'm trying to add the overlay for vimHugeX python3 support suggested here: https://www.reddit.com/r/NixOS/comments/bwcact/need_help_with_vim_plugins_and_python3/
<drozdziak1> I've put it in ~/.config/nixpkgs/overlays/vimhugex.nix
<drozdziak1> How can I ask nix to enforce it on my NixOS machine?
eraserhd has quit [Quit: WeeChat 2.6]
<adisbladis> drozdziak1: How are you installing vim? Using nix-env or a nixos-rebuild?
<drozdziak1> adisbladis: nixos-rebuild and I've just `nixos-rebuild switch`'ed
<adisbladis> drozdziak1: Right, you're gonna have to import the overlay in your configuration.nix
<adisbladis> `nixpkgs.overlays = [ (import /path/to/overlay) ]`
<drozdziak1> adisbladis: So the goal of this is to make my vim changes system-wide? What's the per-user alternative? (Fine by me, just curious)
eraserhd has joined #nixos
hyper_ch2 has joined #nixos
<adisbladis> drozdziak1: I don't use nix-env for installing packages, so I don't know.
ddellacosta has joined #nixos
erictapen has joined #nixos
magthe has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @primeos opened pull request #75364 → range-v3: 0.9.1 -> 0.10.0 → https://git.io/JeSDu
philr has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @athas opened pull request #75365 → oclgrind: use newest LLVM → https://git.io/JeSDg
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75366 → python38Packages.shodan: 1.19.1 -> 1.20.0 → https://git.io/JeSDw
<angerman> can I just dump a nix-expression. so that I can just nix-build that somewhere?
<{^_^}> [nixpkgs] @marsam merged pull request #75359 → procs: 0.8.13 -> 0.8.16 → https://git.io/JeSP5
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeSDK
<angerman> hydra has that "reproduce locally" thing, how does that work?
<gchristensen> look at the script it gives you :)
<angerman> AHhhH! Help ... *runs; arms flailing*
<gchristensen> not sure why you say
<gchristensen> that
datamats has joined #nixos
<angerman> And I had hoped for some condensed (optimized) nix expression for that single attribute with all the unnecessary logic and pre-parsing stripped away.
Ariakenom has quit [Quit: WeeChat 2.6]
<gchristensen> seems complicated
<tilpner> angerman: Derivations can be transferred and built nicely with all inputs
<angerman> gchristensen: I see that :-/ would have been nice though.
<tilpner> angerman: nix-instantiate gets you from a Nix expression to a list of derivations
<tilpner> angerman: nix-copy-closure works on derivations too
<tilpner> angerman: nix-build that derivation to get its output(s)
<gchristensen> hydra doesn't provide .drv files
<betawaffle> is there an existing helper that tests if a string is empty or consists of only whitespace?
<tilpner> angerman didn't mention Hydra as a requirement
<gchristensen> right
datamats is now known as m4ts
cosimone has quit [Quit: Terminated!]
<angerman> I guess what I really wanted is to compute some nix expression in nix, partially applied, and then just serialize that out.
<gchristensen> oh my
<gchristensen> fanc5y
erictapen has quit [Ping timeout: 246 seconds]
<angerman> so that I could do `nix-build -E '(import <generated expr> $args)'`
<angerman> guess I should just go back to lisp and die a happy death.
is_null has quit [Ping timeout: 250 seconds]
is_null has joined #nixos
<angerman> gchristensen: could I have a process in a nix-build running indefinetly? And communicate through some socket?
<gchristensen> oh dear
jgeerds has joined #nixos
<angerman> Is that a no? Or more like a please no?
<adisbladis> angerman: I don't want to help you with this but I get giddy about ugly hacks :) You can abuse fixed-output derivations for this.
<adisbladis> They break the networking sandbox
<angerman> adisbladis: I was about to suggest that; as the fixed output could be known ahead of time.
<angerman> adisbladis: but here's the thing, I don't want to break the sandbox. I want to keep the sandbox.
<gchristensen> what are you doing, angerman ? :P
<angerman> adisbladis: it's more like I want to throw something in, and have it throw something out. Let me throw something in again, have it computed in the sandbox and retrieve it back again.
<angerman> I don't even need it to retain intermediate states... just invoking nix-build adds too much overhead.
<adisbladis> angerman: You could also use extra-sandbox-paths to break the sandbox more granularly
<gchristensen> what are you doing
<gchristensen> help
<gchristensen> *runs; arms flailing*
<angerman> gchristensen: if I could warm up nix-build, freeze it, and continue from there over and over again, that would also be neat. Its just that the bootup time is too much.
orivej has quit [Ping timeout: 240 seconds]
* gchristensen still hopes to get his question answered
<angerman> gchristensen: ok, I'm building some haskell package with nix-build, but I'm exposing that as a service.
<angerman> gchristensen: high level compile main module as a service.
<angerman> gchristensen: .hs -> service -> .exe
<gchristensen> nice
<angerman> clever: sniped me with the idea to run this as essentially `nix-build helper.nix --arg file ./file.hs`
kleisli has quit [Ping timeout: 250 seconds]
<angerman> but helper.nix turns out to be too expensive to boot up.
<angerman> compared with running `cabal build all` on the source right away, nix-build is 3x more expensive. A lot of time is spent in setting up the proper environement for the build. over and over again.
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
<gchristensen> hm I see
<angerman> gchristensen: so I'm trying to figure out if there is a way how I could cache the warm up (produce some partial nix function that I could serialize into a materialized-helper.nix would help). Or just keep the sandbox "open" (the irony)... throwing .hs files in and getting .exe files out
<gchristensen> how much of the nix-build time is sandbox setup, and how much is evaluation?
<angerman> I'm probably going to try and do some flame graph on it (using the start/stop stuff).
<angerman> gchristensen: if a regular cabal invocation takes ~3s. The nix-build invocation takes ~10
<gchristensen> right
<gchristensen> but for this question, how much of that time is `nix-instantiate`, and then how much time to `nix-store --realize the-drv`
<{^_^}> #74619 (by ckauhaus, 1 week ago, open): python2.7-python-otr-1.2.0: Test failure: ImportError: No module named zope.interface
ng0_ has joined #nixos
<exarkun> "stuff is randomly different between eggs and wheels" seems like a plausible, if depressing, explanation
ng0 has quit [Disconnected by services]
ng0_ is now known as ng0
Chiliparrot has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @itsHMR opened pull request #75367 → tigervnc: add perl to buildInputs → https://git.io/JeSy8
zupo has joined #nixos
<angerman> gchristensen: nix-instantiate default.nix -A 9.75s user 0.61s system 108% cpu 9.585 total; nix-store --realize 2.53s user 0.81s system 45% cpu 7.281 total
<angerman> gchristensen: comes out about the same during multiple runs.
<{^_^}> [nixpkgs] @romildo merged pull request #75305 → papirus-icon-theme: 20191101 -> 20191201 → https://git.io/JeS8W
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JeSy4
<angerman> gchristensen: I did try to hand-craft some serialized version; which is how I got it down to ~10s.
wolfshappen has quit [Ping timeout: 245 seconds]
<gchristensen> so the sandbox isn't the problem, it is the evaluation -- it sounds like the nix expressions are super complicated
is_null has quit [Ping timeout: 250 seconds]
wolfshappen has joined #nixos
<angerman> gchristensen: right. So with handcrafting the expressions, I end up with: nix-instantiate -E 2.08s user 0.68s system 99% cpu 2.788 total
<gchristensen> a lot better
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75368 → python38Packages.sasmodels: 1.0.0 -> 1.0.1 → https://git.io/JeSyw
<angerman> gchristensen: right, still I'd like to have that in the subsecond range
hyper_ch2 has quit [Ping timeout: 265 seconds]
<angerman> gchristensen: and the realize part also seems to take ~2s before it even gets to invoke cabal. Guess I'll just have to accept that this won't get any faster if I want to use the sandbox.
<gchristensen> it could
<gchristensen> it might be worth adding a feature to Nix to improve this
<angerman> gchristensen: well, that's for all the help; but this will have to wait at least until tomorrow...
kleisli has joined #nixos
<tilpner> angerman: You probably already considered this, but I find that instantiation speed depends a lot on how fast the underlying storage is
<tilpner> That might be a cheaper win than adding thunk serialisation to Nix
<tilpner> (Although, wasn't thunk caching planned for post-flakes nix?)
<tilpner> "Keep a local evaluation cache mapping (<flake-closure-hash, <attribute>) -> (<drv-name>, <drv-output-paths>, <whatever other info we want to cache>)."
<tilpner> That should help, but isn't exactly what you meant
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75369 → python38Packages.pysoundfile: 0.10.2 -> 0.10.3.post1 → https://git.io/JeSyA
<angerman> tilpner: it’s all ssds :-/
realrokka has quit [Quit: rip]
realrokka has joined #nixos
klntsky has quit [Ping timeout: 260 seconds]
endformationage has joined #nixos
klntsky has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75370 → python38Packages.pomegranate: 0.11.1 -> 0.11.2 → https://git.io/JeSSq
FRidh has quit [Quit: Konversation terminated!]
<__Sander__> hi, anyone here who has used Nix on FreeBSD recently?
<__Sander__> I have managed to (sort of) make the latest stable version work after some minor code changes, mostly include fixes
<__Sander__> sadly, it segfaults while evaluating an expression
<__Sander__> gdb shows that some OpenSSL function has something to do with it. has anyone run into this before?
waleee-cl has joined #nixos
<adisbladis> __Sander__: There has been some efforts in #freebsd-nix recently
chiefgoat has quit [Read error: Connection reset by peer]
chiefgoat has joined #nixos
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs has joined #nixos
Kritnich has joined #nixos
evanjs has quit [Client Quit]
evanjs has joined #nixos
evanjs has quit [Remote host closed the connection]
evanjs has joined #nixos
evanjs has quit [Remote host closed the connection]
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/3a1861fcabc (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<{^_^}> [nixpkgs] @srhb merged pull request #75365 → oclgrind: use newest LLVM → https://git.io/JeSDg
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JeSS1
evanjs has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #75195 → birdtray: 1.6 -> 1.7.0 → https://git.io/JeSeo
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JeSSM
carlosdagos has joined #nixos
<evanjs> Welp... this is new... my user doesn’t show up in gdm now 🙃
<evanjs> I mean not like the entry isn’t there but
<evanjs> Like I can’t login
<evanjs> Not via vtty
<evanjs> *nor
<evanjs> Looks like other users/services like ZNC work fine though, as I am able to get on irc via my phone and etc
<evanjs> Guess it’s time for the installer image?
is_null has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75371 → python38Packages.pyftdi: 0.30.3 -> 0.42.2 → https://git.io/JeSS7
<evanjs> Okay so it’s not a bad password. I can ssh in
<evanjs> Okay. So I’m just getting failed login if I try to do it locally
maralorn has quit [Quit: WeeChat 2.6]
maralorn has joined #nixos
<evanjs> Nvm. It might actually be a bad password, yeah
magthe has joined #nixos
<exarkun> Apparently the zope.interface pth file is no longer being processed
<gchristensen> is it possible to make my laptop more likely to roam between wifi access points?
smatting has quit [Ping timeout: 246 seconds]
<gchristensen> I'm connected over 2.4GHz to an AP 2 stories away, and I have a 5GHz AP 1 meters away
smatting has joined #nixos
viric_ is now known as viric
Cale has quit [Ping timeout: 252 seconds]
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
hyper_ch2 has joined #nixos
smatting has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #75303 → kbfs: don't use store path for fusermount → https://git.io/JeSli
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JeS9O
<{^_^}> [nixpkgs] @srhb merged pull request #75290 → awsweeper: init at 0.4.1 → https://git.io/JeSno
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JeS9C
magthe has quit [Quit: WeeChat 2.6]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
smatting has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « linux_testing: 5.4-rc7 -> 5.5-rc1 »: https://git.io/JeS94
hyper_ch2 has quit [Remote host closed the connection]
Cale has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3726e168dcb (from 67 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
carlosdagos has quit [Ping timeout: 276 seconds]
kleisli has quit [Ping timeout: 245 seconds]
Chiliparrot has joined #nixos
<sshow> How do I publish my web server running with systemd on Avahi
<{^_^}> [nixpkgs] @srhb merged pull request #75252 → kubernetes-helm: 3.0.0 -> 3.0.1 → https://git.io/JeSqI
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JeS91
ixxie has joined #nixos
genesis has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75373 → python38Packages.Rtree: 0.8.3 -> 0.9.1 → https://git.io/JeS9D
gilligan_ has quit [Quit: Leaving]
lordcirth_ has quit [Quit: Leaving]
mexisme has joined #nixos
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @srhb merged pull request #75273 → rdkafka: 1.2.2 -> 1.3.0 → https://git.io/JeSst
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JeS9x
<{^_^}> [nixpkgs] @thefloweringash opened pull request #75374 → [19.09] nftables: build documentation → https://git.io/JeS9p
mexisme has quit [Ping timeout: 250 seconds]
veske has quit [Quit: This computer has gone to sleep]
cjpbirkbeck has joined #nixos
<__Sander__> adisbladis: thanks
cosimone has joined #nixos
mexisme has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75375 → python38Packages.periodictable: 1.5.1 -> 1.5.2 → https://git.io/JeSHl
acarrico has quit [Ping timeout: 268 seconds]
C44L has joined #nixos
fendor has quit [Ping timeout: 276 seconds]
is_null has quit [Ping timeout: 250 seconds]
C44L has quit [Ping timeout: 260 seconds]
__Sander__ has quit [Quit: Konversation terminated!]
chloekek has quit [Quit: WeeChat 2.6]
Kritnich has quit [Quit: Bye bye.]
Kritnich has joined #nixos
knupfer has quit [Ping timeout: 250 seconds]
ixxie has quit [Ping timeout: 276 seconds]
is_null has joined #nixos
reactormonk has joined #nixos
genesis has joined #nixos
<reactormonk> I'm getting a wierd error when GHC is trying to load in a .so - can't load .so/.DLL for: /nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib/libpthread.so (/nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib/libpthread.so.0: undefined symbol: __libc_vfork, version GLIBC_PRIVATE - the file mentioned is a linker script. Should the kernel be able to deal with that?
leotaku has quit [Ping timeout: 265 seconds]
leotaku has joined #nixos
<reactormonk> And if not, who/what handles the whole linker business?
<betawaffle> where does nano get syntax highlighting definitions from?
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « oh-my-zsh: 2019-12-07 -> 2019-12-07 »: https://git.io/JeSQZ
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ixxie has joined #nixos
<srhb> betawaffle: nano itself.
zeta_0 has joined #nixos
<zeta_0> hello guys, a couple of weeks ago i purchased a raspberry pi 4 model B and installed raspbian os on it, anyways, when i connected the pi to a tv using hdmi, the one thing that i noticed was that the screen brightness is way to bright, is there a setting somewhere in raspbian where i can adjust the screen brightness?
<betawaffle> you're saying nano has syntax highlighting for nftables rules files?
<betawaffle> built-in?
fendor has joined #nixos
<srhb> zeta_0: Maybe try #raspbian :)
<{^_^}> [nixpkgs] @vbgl opened pull request #75376 → ocamlPackages.irmin: init at 2.0.0 → https://git.io/JeSQE
<srhb> betawaffle: Well, not "built-in" as in hardcoded variables, but as in /share/nano/nftables.nanorc, yes
<zeta_0> srhb: i did(i asked on a couple other channels as well)
<betawaffle> wow
<gchristensen> betawaffle: I see what looks liike highlight files in /nix/store/lvwaffzpa99dgmb6hw0xih72j0042r1c-nano-4.4/share/nano
<gchristensen> including a /nix/store/lvwaffzpa99dgmb6hw0xih72j0042r1c-nano-4.4/share/nano/nftables.nanorc
<gchristensen> hmm, we should write a nix nanorc!
<betawaffle> it already exists
<srhb> gchristensen: It's already in the nanorc package.
<srhb> And included in our nano package. :)
<srhb> Oh, that's actually a lie, we include that one out-of-band.
<gchristensen> wow! it sure is!!
<{^_^}> [nixpkgs] @pacien opened pull request #75377 → riot-{web,desktop}: 1.5.5 -> 1.5.6 → https://git.io/JeSQu
jgeerds has quit [Ping timeout: 265 seconds]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
Kritnich has quit [Quit: Bye bye.]
Kritnich has joined #nixos
<{^_^}> [nixpkgs] @dmrauh opened pull request #75378 → pythonPackages.wsnsimpy: init at 0.2.5 → https://git.io/JeSQS
erasmas has joined #nixos
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen1 has joined #nixos
IiiiiiiiL2 has joined #nixos
endforma1 has joined #nixos
dingenskirchen1 is now known as dingenskirchen
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75379 → randomx: 1.1.6 -> 1.1.7 → https://git.io/JeS7T
endformationage has quit [Ping timeout: 265 seconds]
endforma1 has quit [Client Quit]
lovesegfault has quit [Ping timeout: 246 seconds]
endformationage has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
megfault has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @saschagrunert opened pull request #75380 → conmon: v2.0.3 -> v2.0.4 → https://git.io/JeS7m
litschi has quit [Ping timeout: 264 seconds]
zupo has joined #nixos
avocadoom has quit [Ping timeout: 252 seconds]
<IiiiiiiiL2> Hi. I have some problem with nixos on VirtualBox. I am no using ovd image. I'm tring to install it by myself. But I can't change display resolution. My cfg https://pastebin.com/Q3MZTVyf
kahiru has quit [Read error: Connection reset by peer]
<chrisaw> I'm trying to create a Nix package for VMWare Workstation but having a problem - patchelf is causing an error on one of the binaries - "maximum file size exceeded". I see others have worked around this by hacking patchelf itself but is there a correct way to handle this situation? I actually want to submit my package to nixpkgs so don't want a janky hackjob. :)
kahiru has joined #nixos
<chrisaw> Well, I suppose it's always going to be a bit of a hack getting proprietary software running on NixOS but you know what I mean - don't want to make it any more hacky than is necessary! :)
<ajs124> chrisaw: You could go with buildFHSUserEnv instead of patchelf
boogiewoogie has quit [Remote host closed the connection]
smatting has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #75319 → nixos/pantheon: use GTK3_MODULES → https://git.io/JeS0J
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeS7R
<chrisaw> ajs124: That's likely a very good idea - cheers for the heads up!
v88m has quit [Ping timeout: 265 seconds]
noudle has quit [Ping timeout: 250 seconds]
<jared-w> I'm currently embarking on a slightly misguided adventure to try and do all of this year's Advent of Code in the Nix language. I'm running into roadblocks with getting nix to handle lists large enough to get some of the problems done, though
noudle has joined #nixos
<{^_^}> [nixpkgs] @dtzWill closed pull request #75080 → texlive: bump for latest ctan, texlive.info archive → https://git.io/JeyYL
<{^_^}> [nixpkgs] @Lassulus merged pull request #71484 → fly: 5.4.1 -> 5.7.0 → https://git.io/JeRvF
<{^_^}> [nixpkgs] @Lassulus pushed commit from @purcell to master « fly: 5.4.1 -> 5.7.2 »: https://git.io/JeS72
<betaboon> I'm trying to package a python-package that requires libusb, i provided it via propagatedBuildInputs but build still complains that it is missing. any suggestions ?
<jared-w> Am I approaching things dumbly or can nix really just not handle iterating through a list that's large? `lenthz = l: xs: if xs == [] then l else lenthz (l+1) (builtins.tail xs);` seg-faults on `wut = (lenthz 0 (range 0 9191));` (or any higher number than 9191) but works on anything less than that
<qyliss> cc puck
sondr3 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75382 → riemann: 0.3.4 -> 0.3.5 → https://git.io/JeS7M
<{^_^}> [nixpkgs] @Lassulus merged pull request #75253 → monero: 0.15.0.0 -> 0.15.0.1 → https://git.io/JeSq8
<{^_^}> [nixpkgs] @Lassulus pushed commit from @jluttine to master « monero: 0.15.0.0 -> 0.15.0.1 »: https://git.io/JeS7H
Jackneill has quit [Remote host closed the connection]
<infinisil> jared-w: lists in nix are arrays
<jared-w> `lenthz2 = xs: if xs == [] then 0 else 1 + lenthz2 (builtins.tail xs);` works up until `range (0 10270)` is given
<infinisil> So builtins.tail is very expensive
<infinisil> it copies the whole array (minus the first element)
<jared-w> Ah gotcha, that makes sense. I wish the docs had some of the performance implications of certain things easier to find
<infinisil> Usually people don't do performance sensitive things in nix :P
<jared-w> I'm aware :p
<infinisil> Ah aoc!
<jared-w> This is what I'm really trying to solve. Both solutions are _correct_ per se, but both are unable to actually work with an input large enough to handle the actual problem
<infinisil> I was considering using Nix for it, but after thinking about it for a minute I decided against it lol
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75383 → rabbitmq-c: 0.9.0 -> 0.10.0 → https://git.io/JeS5I
<jared-w> yeah... I was doing it to learn nix better and I've certainly achieved that lol
<jared-w> "general purpose programming language that's not general purpose" fits the bill very well
<infinisil> Theres builtins.length btw
<jared-w> Yeah that one works great. The point was really "forcing the evaluation of the entire list to see where it starts choking"
<infinisil> Theres builtins.deepSeq for that :P
evil-olive has quit [Quit: Ping timeout (120 seconds)]
chloekek has joined #nixos
<jared-w> so anyway :p
evil-olive has joined #nixos
<jared-w> I have a solution that uses attrsets as a hashmap but it's hilariously slow compared to just using a list with strings and parsing the string into tuples on the fly
<jared-w> which feels disgusting but whatever
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
Izorkin has joined #nixos
<jared-w> The problem is I have two paths that are 140k+ items in length and I want to figure out where they intersect and then pick the intersection closest to the origin point
<IiiiiiiiL2> I set virtualisation.virtualbox.guest.enable = true; but I isn't enough. Ican't change resol
<jared-w> The obvious "intersectLists" is O^2 and completely chokes on lists that large
<jared-w> The builtin sort works pretty decently, so I was like "alrighty, let's sort and then I can walk through the two lists in a clever enough manner to find the minimum in one pass and do it in O time"
<jared-w> hence this attempt: https://github.com/jared-w/advent-of-code-2019/blob/master/day3/default.nix#L22 which promptly also broke
<jared-w> So Nix has literally no way to efficiently walk through a list without just folding it from what I can see. (The commented out code is the actual logic; it wasn't working so I gave up and just tried to do less computation which still broke, leading me to try the most vanilla "length" implementation I could think of)
<jared-w> and even the hash map version with attr sets which I optimized the hell out of is uselessly slow and blows up just _constructing_ the attrset whereas the string nonsense works all the way up until I try to actually deal with the two paths
<jared-w> infinisil: pls tell me there's unsafePerformDoHackyBullshit for Nix
knupfer has joined #nixos
<gchristensen> heh
<qyliss> jared-w: you might be interested in #nix-lang btw :)
<qyliss> not that what you're doing is OT for here
<jared-w> oh _sweet_; didn't realize there was another channel for nix
<qyliss> But discussions of this sort often take place there, if you're interested
<jared-w> Definitely am
dbmikus has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #75384 → nixos/unit: enable sanboxing → https://git.io/JeS51
<{^_^}> [nixpkgs] @pacien opened pull request #75385 → gscan2pdf: 2.5.6 -> 2.6.2 → https://git.io/JeS5D
<{^_^}> [nixpkgs] @WilliButz opened pull request #75386 → grafana-loki: 1.1.0 -> 1.2.0 → https://git.io/JeS5y
orivej has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75387 → rabbitmq-server: 3.8.1 -> 3.8.2 → https://git.io/JeS5b
is_null has quit [Ping timeout: 268 seconds]
<acowley> How can I use `nix run` to run a command involving a pipe?
<acowley> Or must I do the pipe outside of the single `nix run` invocation
<qyliss> acowley: can you post what you're trying?
<chrisaw> Can anyone tell me what I'm doing wrong here with this overlay package? https://termbin.com/ixwj -- just getting infinite recursion errors but not sure why. :(
<acowley> What I'm trying involves something not yet in upstream nixpkgs yet, but what I want is `nix run nixpkgs.foo nixpkgs.jq -c foo | jq ...`
IiiiiiiiL2 has quit [Remote host closed the connection]
simon_weber has joined #nixos
<acowley> I can do it separate `nix run` calls, so I should probably just not worry about it.
<qyliss> acowley: you want nix run nixpkgs.foo -c foo | nix run nixpkgs.jq -c jq ...
<qyliss> You can also do nix run nixpkgs.foo nixpkgs.jq -c sh -c 'foo | jq ...'
<acowley> qyliss: Yeah, but I think I could do it all in one nix-shell call.
<acowley> qyliss: Ah! That's it, yes.
<qyliss> which spawns a shell as a subprocess, like nix-shell does
<acowley> qyliss: Thank you!
<srhb> chrisaw: First step when debugging things like that is to get rid of all withs and recs.
<{^_^}> [nixpkgs] @Lassulus opened pull request #75388 → xplanet: 1.3.0 -> 1.3.1 → https://git.io/JeSdk
<srhb> chrisaw: You will also make it easier for yourself if you define this like `self: super: { vmware... = ...; yourfhsenv = ...; };
p8 has joined #nixos
<srhb> chrisaw: Then, git rid of ever super that you don't absolutely need in favor of self.
<{^_^}> [nixpkgs] @oxij opened pull request #75389 → nixos/slim: reintroduce → https://git.io/JeSdq
lovesegfault has joined #nixos
noudle has quit [Remote host closed the connection]
noudle has joined #nixos
p8 has quit [Client Quit]
noudle has quit [Remote host closed the connection]
Chiliparrot has joined #nixos
noudle has joined #nixos
noudle has quit [Client Quit]
scasc has joined #nixos
wildtrees has joined #nixos
<chrisaw> srhb: Managed to figure it out - thanks for the pointers. :)
EdLin has joined #nixos
<srhb> chrisaw: Sure thing.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fendor has quit [Ping timeout: 268 seconds]
v88m has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #75265 → xmlbird: 1.2.10 -> 1.2.11 → https://git.io/JeSO5
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « xmlbird: 1.2.10 -> 1.2.11 (#75265) »: https://git.io/JeSd5
zupo has joined #nixos
is_null has joined #nixos
cosimone has quit [Quit: Quit.]
<lovesegfault> Thoughts?
<jared-w> Hmm... I'm trying to override the neovim package in nixpkgs so that I can use the master version of neovim
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jared-w> In environment.systemPackages I have (neovim.overrideAttrs (oldAttrs: rec { version = "master"; src = builtins.fetchTarball URL;})), but that doesn't actually seem to do anything. Am I misunderstanding overrideAttrs or do I need to run callPackage or something?
<tilpner> jared-w: That's probably because of the wrapper
<tilpner> If you do the same with neovim-unwrapped instead, you should at least get it to attempt a build
<jared-w> huh, yup, that was the problem. Of course now it's not building correctly
jgeerds has joined #nixos
captn3m0 has quit [Ping timeout: 240 seconds]
v88m has quit [Ping timeout: 250 seconds]
captn3m0 has joined #nixos
erictapen has joined #nixos
talvdav has joined #nixos
sondr3 has quit [Ping timeout: 240 seconds]
<talvdav> hello! i need to override fileSystems."/boo" in my nixos config, can someone pls tell me the syntax really quick?
sondr3 has joined #nixos
<tilpner> Override it how?
<aanderse> anyone ever ran nixos lustrate on efi ? i see a step to "move the /boot directory of your distribution out of the way" and am wondering what i need to do there... just follow instructions and good to go?
<clever> aanderse: it would be simpler to just nuke /boot before you nixos-install
<clever> aanderse: dont have the same issues as needing /bin to shutdown
<exarkun> Minimal example of the Python namespace package regression: https://github.com/exarkun/minimal-usersite-repro-nixos
<heath> i'm running into a build error when attempting to build examples/haskell-miso.org in github.com/dmjio/miso https://gist.github.com/heath/76356c5bf7d3c519105db9369284c409
<heath> the error is ghc: can't find a package database at /private/var/folders/wq/s8mfqyy57kz2m1zy2xzk6hjm0000gn/T/nix-build-haskell-miso-0.1.0.0.drv-0/haskell-miso.org/dist-newstyle/packagedb/ghc-8.6.5
<aanderse> clever: i have filesSystems."/boot/efi" = { ... }; defined... i should just nuke everything in /boot aside from that?
mexisme has quit [Ping timeout: 246 seconds]
<clever> aanderse: has nixos already booted once?
<aanderse> clever: no
<heath> anyone have an idea on how I might attempt to resolve this issue?
<clever> aanderse: then you can just wipe the whole /boot, all files and dirs
<aanderse> installing from ubuntu because i don't have a usb stick with me atm
<clever> aanderse: thats also where kexec can come in handy
<aanderse> clever: i don't think nixos has written anything to /boot/efi yet though
<aanderse> so if i reboot at this point i wouldn't expect to be able to get back into the system
<clever> aanderse: correct, you have to run `switch-to-configuration boot`, possibly with the magic env var set...
<aanderse> ah, ok... i just haven't got there yet then
<aanderse> thanks
<clever> aanderse: NIXOS_INSTALL_BOOTLOADER=1
v88m has joined #nixos
<clever> aanderse: that tells nixos to update the /boot files
lordcirth_ has joined #nixos
is_null has quit [Ping timeout: 250 seconds]
pikajude11 has joined #nixos
pikajude11 is now known as pikajude_
<pikajude_> does nixpkgs have any lib stuff for simple template string substitution
<pikajude_> i have my zshrc in home-manager and i want to put the absolute path to python in one of the functions
<pikajude_> just builtins.replaceStrings?
<clever> pikajude_: substituteAll and its related things
pentadyne[m] has joined #nixos
kreisys has joined #nixos
<pikajude_> right, totally forgot that existed
erictapen has quit [Ping timeout: 250 seconds]
erictapen has joined #nixos
kleisli has joined #nixos
talvdav has quit [Remote host closed the connection]
pikajude_ has quit [Remote host closed the connection]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #74637 → snakemake: 5.7.4 -> 5.8.1 → https://git.io/Je1lm
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « snakemake: 5.7.4 -> 5.8.1 (#74637) »: https://git.io/JeSFF
<jared-w> tilpner: `(neovim.passthru.unwrapped.overrideAttrs (oldAttrs: rec {` did the trick
orivej has quit [Ping timeout: 252 seconds]
<jared-w> I think just neovim-unwrapped.overrideAttrs would've worked too, and I'm vaguely unsure about whether or not `withNodeJs` is actually doing anything, but at least I'm running the latest master now, so that's fun
<{^_^}> [nixpkgs] @eraserhd opened pull request #75390 → tmuxPlugins.ctrlw: 0.1.0 -> 0.1.1 → https://git.io/JeSFA
<jared-w> (I did have to add a new library because neovim now requires utf8proc)
poprox has quit [Read error: No route to host]
<gchristensen> neovim is tempting me to try vim again
<exarkun> is `permitUserSite` used at all by buildPythonPackage? I can't see any references to it.
<jared-w> It's very nice. Honestly now has better windowing and term support than emacs now
<jared-w> which is _hilarious_ to me
<gchristensen> whoa
<jared-w> Yup. You get a real term with your real shell and your real full shell config. Zero hacks.
<{^_^}> [nixpkgs] @bcdarwin opened pull request #75391 → libminc: 2018-01-17 -> 2.4.03 and disable broken checkPhase on OSX → https://git.io/JeSFh
<jared-w> copy pasta, vim editing of lines, bla bla, all still works
<lordcirth_> If I do anything with nixpkgs.xorg, eg "nix why-depends nixpkgs.firefox nixpkgs.xorg", I get an error about xorg requiring a nonfree font. If I allow nonfree, I get an error about trying to build Darwin stuff. Is "nixpkgs.xorg" not what I actually want to look at?
<jared-w> Granted, windows and buffers and popup windows and all that jazz work differently in nvim vs emacs, but the raw functionality is there
magneticduck has joined #nixos
<infinisil> lordcirth_: xorg is an attrset including many sub packages
<infinisil> > xorg
<{^_^}> { appres = <CODE>; bdftopcf = <CODE>; bitmap = <CODE>; callPackage = <CODE>; editres = <CODE>; encodings = <CODE>; fontadobe100dpi = <CODE>; fontadobe75dpi = <CODE>; fontadobeutopia100dpi = <CODE>; fo...
<infinisil> You probably want to select a single one
<lordcirth_> I tried nixpkgs.xorg.linux_x86-64 but that didn't exist
<infinisil> (otherwise it tries to build all of them)
<infinisil> > xorg.libX11
<clever> lordcirth_: x86_64-linux
<{^_^}> "<derivation /nix/store/mbdi1jc4svbx8nk56vfypza996d3jwwh-libX11-1.6.8.drv>"
<infinisil> You probably want this one ^
<infinisil> libX11
mexisme has joined #nixos
<lordcirth_> Aha, thanks
<lordcirth_> Also, what command is > running? nix eval?
<infinisil> It'l like a nix repl, but not actually
<infinisil> It uses nix-instantiate --eval under the hood
<jared-w> It's pretty neat how well it works tbh
<infinisil> :D
lassulus has quit [Quit: WeeChat 2.6]
apeyroux has quit [Quit: Lost terminal]
<lordcirth_> Against both 19.09 and master, nix eval nixpkgs.xorg.libX11 -I nixpkgs=~/gitRepos/nixpkgs/ has a lot of deprecation warnings
<infinisil> deprecation warnings?
lassulus has joined #nixos
<lordcirth_> "trace: warning: `stdenv.isArm` is deprecated after 18.03. Please use `stdenv.isAarch32` instead" etc
<infinisil> Can't reproduce with master
<infinisil> Trying `nix-instantiate '<nixpkgs>' -A xorg.libX11`
<lordcirth_> Hmm, maybe I need to set more than nixpkgs with -I to have a consistent environment?
lassulus has quit [Client Quit]
zupo has joined #nixos
<infinisil> Nah that should work
<clever> lordcirth_: config.nix
<clever> lordcirth_: --arg config '{}' to exclude it
<infinisil> lordcirth_: Ah, nix eval evaluates it strictly
<lordcirth_> clever, my config.nix is already {}
<infinisil> nix-instantiate doesn't
<clever> infinisil: nix-instantiate --strict
<infinisil> Nah doesn't work with nix-instantiate
<infinisil> (without --eval)
<clever> ah
<infinisil> But nix-instantiate should be used to evaluate derivations anyways
<clever> i think the problem is that `nix eval` on a drv, will eval every attr of the drv
<infinisil> Yup
<clever> rather then printing the drv itself
werner291 has joined #nixos
sondr3 has quit [Ping timeout: 252 seconds]
lassulus has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
<lordcirth_> So, would grepping for stdenv.isArm and replacing it with stdenv.isAarch32 be a useful PR? Or is that just churn?
<lordcirth_> Would some things need to be replaced differently?
<clever> some may want aarch32 || aarch64
sondr3 has joined #nixos
<lordcirth_> Hmm. And this may be non-trivial to determine.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/eadb57d4944 (from 67 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
is_null has joined #nixos
<lovesegfault> What is flag in Nix?
<lovesegfault> As in `++ flag pulseaudioSupport "pulseaudio"`
<lovesegfault> cc. clever
<clever> lovesegfault: is there a `flag =` in the same file?
<lovesegfault> clever: doesn't look like it
<clever> > lib.flag
<{^_^}> attribute 'flag' missing, at (string):271:1
<clever> lovesegfault: which file did you find it in?
<lovesegfault> OH
<lovesegfault> I found it!
<lovesegfault> Yes
<lovesegfault> :)
scasc has quit [Quit: Leaving]
orivej has joined #nixos
<exarkun> Are all Python namespace packages in Nixpkgs broken since Oct 13?
mexisme has quit [Ping timeout: 265 seconds]
is_null has quit [Read error: Connection reset by peer]
jakobrs has joined #nixos
scassy has joined #nixos
is_null has joined #nixos
<exarkun> Here's an even simpler example - nix-shell -p python2.pkgs.zope_interface --run 'python -c "import zope.interface"'
jakobrs has left #nixos [#nixos]
domogled has quit [Ping timeout: 250 seconds]
<exarkun> fails since 90be4c2c7875c9487508d95b5c638d97e2903ada
<simpson> Probably.
lassulus_ has joined #nixos
<exarkun> :(
<ivan> works with python3!
domogled has joined #nixos
lassulus has quit [Ping timeout: 240 seconds]
lassulus_ is now known as lassulus
<exarkun> :(
civodul has joined #nixos
<{^_^}> [nixpkgs] @bignaux opened pull request #75392 → soulseekqt: minor changes → https://git.io/JeSbP
shibboleth has joined #nixos
mexisme has joined #nixos
boxscape has joined #nixos
is_null has quit [Ping timeout: 268 seconds]
kenshinCH has joined #nixos
johnsonav has joined #nixos
<kenshinCH> hi all. I'm a bit baffled, maybe you can help me out. In my `configuration.nix` I have `neovim` as a system package, and if I open a shell and run `nvim --version` I get `0.3.0`. However, if I run `nix-shell -p neovim` and in that shell I run `nvim --version`, I get `0.3.8`. I don't get it...
cosimone has joined #nixos
<clever> kenshinCH: what does `which --all nvim` report?
kleisli has quit [Ping timeout: 240 seconds]
<kenshinCH> ah! one in my user's `.nix-profile`, the old one, and one in the system. I must have installed it with `nix-env` for some reason -- I never use it, but mayne in the early days...
<{^_^}> [nixpkgs] @romildo merged pull request #75215 → enlightenment.efl: 1.23.2 -> 1.23.3 → https://git.io/JeSJZ
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JeSbp
<kenshinCH> clever: thanks!
<clever> yep
<kenshinCH> ahhh, I feel declarative again :)
justanotheruser has quit [Ping timeout: 245 seconds]
justanotheruser has joined #nixos
scassy is now known as scasc
kenshinCH has quit [Quit: WeeChat 2.6]
EdLin has quit [Quit: WeeChat 2.6]
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75393 → slack: 4.1.2 -> 4.2.0 → https://git.io/JeSNu
racoonsl- has joined #nixos
racoonslug has quit [Ping timeout: 250 seconds]
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
fendor has joined #nixos
acarrico has joined #nixos
johnsonav has quit [Remote host closed the connection]
shibboleth has quit [Quit: shibboleth]
reactormonk has quit [Ping timeout: 265 seconds]
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75394 → solr: 8.3.0 -> 8.3.1 → https://git.io/JeSNH
ixxie has quit [Ping timeout: 240 seconds]
philr has joined #nixos
<{^_^}> [nixpkgs] @malbarbo opened pull request #75395 → scryer-prolog: init at 0.8.117-dev → https://git.io/JeSNA
apeyroux has joined #nixos
fZNxeka75 has joined #nixos
<{^_^}> [nixpkgs] @malbarbo opened pull request #75396 → tectonic: 0.1.11 -> 0.1.12 → https://git.io/JeSAY
<fZNxeka75> Hi. Is NixOS stateless (like Clear Linux) ? ie. if I remove /etc and /var, does the system simply works because it uses default configs?
<fZNxeka75> Or, can NixOS create one config file dumping all the current settings so that I can then manually edit them and use that config?
<clever> fZNxeka75: if /etc is missing, nixos will recreate all of the contents on bootup, based on the configured settings
<fZNxeka75> interesting
<clever> fZNxeka75: 95% of those contents are symlinks to /nix/store that get updated on every boot (or rebuild switch)
<{^_^}> [nixpkgs] @flokli merged pull request #74758 → nixosTests.ipv6: port to python → https://git.io/Je1AZ
<fZNxeka75> alright thanks, I'll give NixOS a look
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JeSAg
pie_ has quit [Ping timeout: 265 seconds]
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> Does anyone know how to submit a haskell package upgrade to Nix? https://github.com/NixOS/nixpkgs/issues/75397
<{^_^}> #75397 (by matthew-piziak, 39 seconds ago, open): Update `haskellPackages.stack2cabal` from 1.0.3 to 1.0.5
knupfer has quit [Remote host closed the connection]
<clever> selfsymmetric-mu: run hackage2nix to update the entire haskellPackages at once
<fZNxeka75> How hard would it be to change Nix/NixOS locally(for me only, even if it'd require a new iso and a full install) to have names like this /nix/store/94n64qy99ja0vgbkf675nyk39g9b978n-glibc-2.19/lib/libc.so.6 be formatted like this: /nix/store/glibc-2.19-94n64qy99ja0vgbkf675nyk39g9b978n/lib/libc.so.6 ? In other words, the hash would be last in dir name.
<fZNxeka75> What editor should I use to edit .nix files, which also has autocompletion?
smatting has joined #nixos
<simpson> fZNxeka75: You would have to rebuild everything; just accept the existing names.
<simpson> You can use any editor you want, but I don't think that any of them have autocompletion for Nix.
<clever> fZNxeka75: the point of the hash being at the start, is that there is only going to be one path starting with 94n64, but there is going to be 20 paths starting with glibc-2.19
<clever> fZNxeka75: the hash at the start makes it faster to tab complete
<fZNxeka75> oh I see, nice! thanks
Jackneill has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #75167 → tdb: 1.3.16 -> 1.3.18 → https://git.io/JeyFK
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JeSAF
markus1189 has quit [Ping timeout: 240 seconds]
<fZNxeka75> but I'd really need a .nix autocompletion editor or something that can at least dump the whole current configuration/defaults to a file, otherwise I'd be hard to know what keywords are available for me to use/edit modify
<cransom> man configuration.nix has all the options available, as well as https://nixos.org/nixos/options.html#
<simpson> fZNxeka75: $ man configuration.nix
<fZNxeka75> for example, suppose I want to built 3 different kernel with different .config options (or only some .config options changes from their defaults) and then also apply some patches on top
<simpson> You probably don't, though.
<fZNxeka75> ok, I'll have a look
lukash_ is now known as lukash_|away
markus1189 has joined #nixos
<selfsymmetric-mu> clever: Thank you!
<selfsymmetric-mu> clever++
<{^_^}> clever's karma got increased to 271
amanjeev has quit [Ping timeout: 265 seconds]
<selfsymmetric-mu> https://github.com/NixOS/cabal2nix/tree/master/hackage2nix says that it's run automatically on the upstream nixpkgs.
<selfsymmetric-mu> Do I need to do anything? Or just wait?
<clever> selfsymmetric-mu: ive mostly seen peti pushing the generated files, not sure how automated he has it
<selfsymmetric-mu> Fantastic, thank you.
Thra11 has quit [Quit: WeeChat 2.6]
pie_ has joined #nixos
<fZNxeka75> simpson, what did you mean by "You probably don't, though." ?
<fZNxeka75> oh, that I don't need autocompletion?
<fZNxeka75> that online doc seems pretty cool, gotta admit
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75398 → tpm2-tools: 4.0.1 -> 4.1 → https://git.io/JeSxR
Jackneill has quit [Remote host closed the connection]
Ariakenom has quit [Read error: Connection reset by peer]
lovesegfault has quit [Quit: WeeChat 2.6]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
magneticduck has quit [Remote host closed the connection]
drakonis has joined #nixos
scasc has quit [Remote host closed the connection]
scasc has joined #nixos
chloekek has quit [Ping timeout: 265 seconds]
<simpson> fZNxeka75: I mean that you probably don't want to build three different kernels in your /etc/nixos/configuration.nix.
<fZNxeka75> when the docs show things like this "$ mkdir /nix" is the "$" not supposed to mean non-root user? because in that context seems like user should be root
<fZNxeka75> to be fair, it does say "you should manually create /nix first as root, e.g.: " , so I guess I should expect "$" everywhere to mean command line
<fZNxeka75> simpson, but I could still have 3 kernels in grub list, hopefully?
<simpson> Yeah, whoever wrote that section wasn't thinking about the fact that superusers usually have # prompts.
jgt2 has quit [Ping timeout: 250 seconds]
<samueldr> or did and found out that the "syntax" highlighting treated them as a comment
<fZNxeka75> In other words, I just want to make sure I could boot any of like (at least) 2 different kernels
<simpson> fZNxeka75: Oh, of course. It's just not a very common desire. https://nixos.org/nixpkgs/manual/#sec-linux-kernel and https://nixos.wiki/wiki/Linux_Kernel help explain how.
<fZNxeka75> samueldr, there is syntax highlighting there?
<clever> fZNxeka75: every time you make any changes to configuration.nix, it will create a new entry in grub, so you can go backwards to any previous state
<fZNxeka75> superb then!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75399 → thermald: 1.9 -> 1.9.1 → https://git.io/JeSpv
<samueldr> yeah, the manual has syntax highlighting added after the fact, and # ends up being a comment
<{^_^}> [nixpkgs] @nand0p opened pull request #75400 → WIP: ethminer v18 → https://git.io/JeSpq
<fZNxeka75> holy smokes, this might just be the best linux os yet - thanks for your help/time, I'll defo. give it a try! laterz
fZNxeka75 has quit [Quit: Leaving]
<clever> :D
<gchristensen> woohoo!
<kyren> that's true but it's backwards, linux is the best kernel to run under nix
<kyren> I can live without linux
<drakonis> config management is a beauty though
phreedom_ has joined #nixos
phreedom has quit [Ping timeout: 260 seconds]
<kyren> yeah I mean NixOS is great, I should have said that if you told me to give up one of the kernel or the nix stuff on top I'd give up the kernel, we could rebuild on freebsd or something
<kyren> if you took nix away from me I'd now just spend all my time remaking it
<gchristensen> I'd love a system built on top of a kernel which was object-capability aware like Nix is
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75401 → tcllib: 1.19 -> 1.20 → https://git.io/JeSpZ
<drakonis> ironically, someone's getting nix to run under freebsd
<kyren> this wasn't meant as a dig against linux, I'm just saying that nix is THAT important to my life now, if there was a NixOS/freebsd or a NixOS/redox or something that's cool, if there's a linux/no-nix I cry
<drakonis> though a lot of software would need patching to run under freebsd and a lot of rejiggering
<drakonis> is required to get equal support
<clever> and all of the closed-source ELF files
<drakonis> yes
<drakonis> freebsd has a linux emulator but it has ass support for linux software that depends on linux features
<clever> another thing ive been interested in, is building the xnu kernel, and a very basic xnu userland os, using nix
<drakonis> also nice
<drakonis> run nix on genode too
<simpson> gchristensen: A few of us (dash, ehmry in particular) are looking at seL4/Genode avenues. How much of Nix proper would be reusable is unclear, and of course dash and I want to use something other than C++...
<clever> so you have a fully opensource and nix managed os, that can run some darwin binaries
<gchristensen> simpson: oh cool :)
<simpson> drakonis: #freebsd-nix welcomes all lurkers.
<drakonis> there's nix in rust but it seems to to have stalled out
<drakonis> simpson: i'm aware, it seems to be quiet again.
<drakonis> i forgot to set it on autojoin since the 4th
<gchristensen> drakonis: stalled out? part of Nix is in Rust now
<drakonis> wait what?
<drakonis> i meant that there was a reimplementation in rust that appeared some time ago
<clever> i think it was the unpack channels drv, got turned into rust
<drakonis> https://github.com/nix-rust/nix alas i take it back
<gchristensen> rewrites never gowell
<drakonis> that's bindings though
<drakonis> there was a full rewrite, not unlike hnix
<drakonis> rnix, there.
<gchristensen> rnix is just a parser I think?
<kyren> that's bindings to nix APIs, that has nothing to do with nix the language/tool
<gchristensen> ,jdwhat
<{^_^}> jD91mZM2
<kyren> *unix APIs
philr has quit [Ping timeout: 240 seconds]
<drakonis> nix being too close to unix can be confusing sometimes
<drakonis> *nix too
<drakonis> my bad there
<keithy[m]> needs to be "theNix" as opposed an "aNix"
selfsymmetric-mu has quit [Remote host closed the connection]
<drakonis> call nix Nyx then
domogled has quit [Quit: domogled]
<gchristensen> youNix
<gchristensen> to highlight our focus on user experience
scassy has joined #nixos
erasmas has quit [Read error: Connection reset by peer]
<drakonis> sounds like a plan
<{^_^}> [nix] @edolstra pushed to master « Remove UserLock self-lock check »: https://git.io/JeSpw
scasc has quit [Ping timeout: 252 seconds]
noudle has joined #nixos
scassyy has joined #nixos
erasmas has joined #nixos
<drakonis> now, i'm curious about how would the configuration management parts of NixOS be brought to other OSes
amanjeev has joined #nixos
scassy has quit [Ping timeout: 265 seconds]
kvda has joined #nixos
joshuagl has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> drakonis: i have found ways to reuse systemd.services outside of nixos
<clever> its fairly simple to generate .service files
<clever> but if the users dont exist, things will fail
Kritnich has quit [Quit: Bye bye.]
Kritnich has joined #nixos
<kvda> within shell.nix is it possible to get the directory path of an installed package?
<clever> kvda: pkgs.hello is a variable that has the path of the hello package
<kvda> ah great, thanks clever. can you point me to a part in docs where that's mentioned?
<clever> kvda: thats how all derivations work
<kvda> oh
kleisli has joined #nixos
cosimone has quit [Remote host closed the connection]
logzet has quit [Ping timeout: 250 seconds]
cosimone has joined #nixos
<kyren> kvda: the nix pills series covers it, but it's not exactly a reference document of course: https://nixos.org/nixos/nix-pills/our-first-derivation.html
<kyren> I really recommend reading through the nix pills series though
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
jgt2 has joined #nixos
<keithy[m]> curiously it is quite enjoyable read
<{^_^}> [nixpkgs] @vbgl merged pull request #74856 → ocamlPackages.cryptokit: 1.13 → 1.14 → https://git.io/JeM6Y
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.cryptokit: 1.13 → 1.14 »: https://git.io/JeShf
<keithy[m]> * curiously it is quite an enjoyable read
<kyren> true story, I used to read it to help me fall asleep
<kyren> that's actually true, but it is wonderful and it helped me understand nix haha
<keithy[m]> ah true story, nix youtube videos do just that
<drakonis> ah, so they have audiobook reader voices?
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @markuskowa merged pull request #75313 → phoronix-test-suite: 9.0.1 -> 9.2.0 → https://git.io/JeSBb
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JeShq
<keithy[m]> its all typing
<keithy[m]> except for the one guy who did 3 animated videos and needs encouraging to finish the series
<kvda> thanks kyren will do
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75402 → usb-modeswitch: 2.5.2 -> 2.6.0 → https://git.io/JeShG
lsix has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #75403 → usb-modeswitch-data: 20170806 -> 20191128 → https://git.io/JeShl
werner291 has quit [Quit: werner291]
Kritnich8 has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
dbmikus_ has joined #nixos
Kritnich has quit [Ping timeout: 240 seconds]
Kritnich8 is now known as Kritnich
Blessjah has quit [Remote host closed the connection]
dbmikus has quit [Ping timeout: 246 seconds]
lovesegfault has joined #nixos
kayvan has joined #nixos
<Jarva[m]> If I rebuild my nixos will it fetch the latest versions of my packages?
<drakonis> yes
<drakonis> if you upgrade it
<Jarva[m]> Or do I need to nix-channel update first?
<drakonis> use the --upgrade long flag to automate channel updating
<Jarva[m]> h nice
<Jarva[m]> Thank you
<Jarva[m]> Is there a command that will check whether it needs updating?
<jared-w> Alternatively you can go the over complicated route and pull in every possible dependency through explicit pinning and then you need to upgrade your pins to get nixos-rebuild switch to do anything
<jared-w> Jarva[m]: "needs" isn't really the right word. "Can be" is better
<Jarva[m]> That I could put into a polybar script to see when I can update my existing packages
<{^_^}> [nixpkgs] @jtojnar merged pull request #73266 → libredirect: fix argument forwarding in `open*` functions → https://git.io/Jewaa
<Jarva[m]> Sure
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/JeShP
<Jarva[m]> but you knew what I was asking
<jared-w> I've personally found that nixpkgs is updated frequently enough that even updating once a day usually updates something somewhere
<drakonis> if you're directly updating from it
<Jarva[m]> I'd quite like a counter to see how many could be updated though
<Jarva[m]> It reminds me as I don't need to introduce dependencies that often
<jared-w> In fact, you can already set that in configuration.nix. `system.autoUpgrade = true;`
<jared-w> then just forget about it :p
<jared-w> (although I still compulsively smash the "update all my shit" button because I came from arch linux)
mexisme has quit [Ping timeout: 240 seconds]
<Jarva[m]> Yeah I came from arch and I had a little icon in my polybar to say update yo shit because you're forgetful
Blessjah has joined #nixos
<keithy[m]> is there an option for autoUpgrade delayed a week
<drakonis> have a systemd timer
<clever> autoUpgrade is already a systemd timer
<keithy[m]> thats not the same
<clever> and i believe it has an option to set the interval
<gchristensen> keithy[m]: why delay a weeK?
<keithy[m]> to let other find problems!
<jared-w> Yup, just turn on all the auto stuff and be happy. There's one to auto clean out the store, one to auto GC nix, etc. All the basic house cleaning tasks can be turned on in configuration.nix
<clever> keithy[m]: you wont really notice the problems if your not activating the config
<clever> keithy[m]: and with rollbacks, you can undo any upgrade (though autoUpgrade will keep going fowards, undoing a rollback)
<jared-w> keithy[m]: that's what unstable (or master) is for :p also, auto update doesn't actually apply the config if it fails. In fact, upgrading blindly will refuse to apply the config if it fails in any way
<keithy[m]> if a cluster is self updating, they often run a percentage on the stable and a lower perentage on next, with a couple of canaries on testing.
<clever> keithy[m]: i would use hydra to automate that testing
<keithy[m]> so stable just trails next by a week or two
<jared-w> (if you can figure out how to actually get it working that is)
<drakonis> is it that hard?
<{^_^}> [nixpkgs] @filalex77 opened pull request #75404 → Fusuma 1.3.0 → https://git.io/JeShN
jgeerds has quit [Ping timeout: 276 seconds]
<jared-w> There's plenty of memes about how difficult it is to get hydra working. The documentation lacks a clear path from "hello world" to beyond that, so you hit a cliff wall pretty early before you can do anything useful in it
<drakonis> i would not invoke the word memes for this
<keithy[m]> more of a tweet?
<drakonis> docs can clearly be improved
Blessjah has quit [Ping timeout: 276 seconds]
Blessjah has joined #nixos
<clever> keithy[m]: https://hydra.angeldsis.com/project/nixos-configs this project in my hydra, is configured to build all of my nixos configs, against both unstable and stable
<keithy[m]> btw clever multi-boot-helper worked a charm
<clever> keithy[m]: multi-boot-helper is basically the same as kexec, but it relies on grub to load things, rather then kexec
<jared-w> It always kills me how slow the hydra web UI is for so much stuff
m0rphism has quit [Ping timeout: 265 seconds]
<clever> jared-w: half of that is just crap IO thruput on my hardware
kayvan has quit [Remote host closed the connection]
<jared-w> We have excellent IO thruput on our hardware and it's _slow_ to load jobsets
EdLin has joined #nixos
<clever> jared-w: hydra.nixos.org has a much bigger DB
sondr3 has quit [Quit: WeeChat 2.6]
<gchristensen> 300-400gb
<clever> ...... ow
<jared-w> noice
<drakonis> good lord.
<gchristensen> yikes, over 400 now.
<jared-w> (course we have 570 jobs in the main jobset tab so that probably slows things down a tad)