andi- 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/nixcon2019 || For best support,
gxt has joined #nixos
<thomashoneyman> i *think* i'm doing something quite trivial -- this is the generated nginx.conf with some standard settings elided: https://hastebin.com/qiduriyefe.php
<thomashoneyman> ...and this one has all the SSL stuff stripped out and just the bits that are important
<thomashoneyman> ^ if anyone here is familiar with nginx, does that look suspicious at all?
cosimone has quit [Ping timeout: 245 seconds]
<thomashoneyman> i can take this out of the channel also if it's not a relevant question here.
<{^_^}> [hydra] @twhitehead opened pull request #701 → Duplicate detection via output hash fails for fixed outputs (#679) → https://git.io/JveNU
<{^_^}> [nixpkgs] @andir merged pull request #77346 → firefox: 72.0 -> 72.0.1 → https://git.io/JvedD
<{^_^}> [nixpkgs] @andir pushed 4 commits to master: https://git.io/JveNk
<{^_^}> [nixpkgs] @jonringer merged pull request #77255 → pythonPackages.dodgy: init at 0.2.1 → https://git.io/JveG6
<{^_^}> [nixpkgs] @jonringer pushed commit from @kamadorueda to master « pythonPackages.dodgy: init at 0.2.1 »: https://git.io/JveNY
felixfoertsch has quit [Quit: ZNC 1.7.4 - https://znc.in]
felixfoertsch has joined #nixos
felixfoertsch has quit [Remote host closed the connection]
felixfoertsch has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #77275 → python3Packages.pycm: init at 2.5 → https://git.io/JveZZ
<{^_^}> [nixpkgs] @jonringer pushed commit from @bcdarwin to master « python3Packages.pycm: init at 2.5 »: https://git.io/JveNz
vidbina_ has joined #nixos
<thomashoneyman> yeesh, i'm being an idiot
<thomashoneyman> i never added an A record for the subdomain
domogled has quit [Quit: domogled]
alex`` has quit [Quit: WeeChat 2.7]
vidbina has quit [Ping timeout: 260 seconds]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
o1lo01ol1o has quit [Remote host closed the connection]
takeda has quit [Ping timeout: 260 seconds]
ee194350 has quit [Read error: Connection reset by peer]
inferencerules has quit [Ping timeout: 265 seconds]
inferencerules has joined #nixos
Synthetica has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @marsam opened pull request #77350 → terraform: 0.12.18 -> 0.12.19 → https://git.io/JveAT
fresheyeball has joined #nixos
Rusty1 has joined #nixos
drakonis has joined #nixos
vld has joined #nixos
ee194350 has joined #nixos
Church- has quit [Ping timeout: 245 seconds]
vld has quit [Ping timeout: 260 seconds]
Guest92090 has quit [Ping timeout: 258 seconds]
<judson> When converting from attrsets to TOML, how do I emulate `[diff "rawtext"]`
<{^_^}> [nixpkgs] @marsam opened pull request #77351 → syncthing: 1.3.2 -> 1.3.3 → https://git.io/JveAO
vidbina_ has quit [Ping timeout: 240 seconds]
mexisme has quit [Ping timeout: 248 seconds]
vidbina_ has joined #nixos
tpham1 has quit [Remote host closed the connection]
jgeerds has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #77337 → public-sans: 1.007 -> 1.008 → https://git.io/JveQs
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JveAl
inferencerules has quit [Ping timeout: 240 seconds]
inferencerules has joined #nixos
werner291 has quit [Quit: werner291]
werner291 has joined #nixos
drakonis has quit [Quit: WeeChat 2.6]
dalto has joined #nixos
dalto is now known as dalto5
judson has quit [Ping timeout: 265 seconds]
<dalto5> question: New to nixos, still learning. Is there an easy way to install a more vanilla vi? Vim is a bit much for me.
simukis__ has joined #nixos
thc202 has quit [Ping timeout: 248 seconds]
vidbina_ has quit [Ping timeout: 265 seconds]
simukis_ has quit [Ping timeout: 268 seconds]
<simpson> dalto5: Which distro are you thinking of when you say "vanilla"? There appears to be an `elvis` packaged.
<{^_^}> [nixpkgs] @grahamc merged pull request #76792 → ivan: add icon and desktop item → https://git.io/JexmW
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/JveA6
<simpson> > elvis.meta
<{^_^}> { available = <CODE>; description = "A vi clone for Unix and other operating systems"; homepage = "http://elvis.vi-editor.org/"; license = <CODE>; name = <CODE>; outputsToInstall = <CODE>; position = ...
<dalto5> elvis is perfect, thanks for the help!
inferencerules has quit [Killed (verne.freenode.net (Nickname regained by services))]
inferencerules has joined #nixos
inferenc1rules has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « swaylock-fancy-unstable: init at 2019-03-31 »: https://git.io/JveAX
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JveA1
<{^_^}> [nixpkgs] @worldofpeace merged pull request #77344 → nixos/matrix-synapse, nixos/mxisd: fix empty usernames → https://git.io/Jve5h
<inferencerules> is there a means of easily resolving package conflicts? just got [ collision between `/nix/store/1gv0ch6jmvq87k8jagpccwfqn8jxscc3-texlive-combined-2018/share/texmf-var/ls-R' and `/nix/store/v35a8ffynffa60k1wmf1xv1mky8k7058-texlive-combined-full-2018/share/texmf-var/ls-R' ] and this sort of thing happens pretty frequently. i usually nix-env -e the offender (all my packages are declared through
<inferencerules> home-manager)
<inferencerules> this is during a nixos-rebuild --upgrade
<inferencerules> in this case i'm not even sure which one is the older, though i suspect the former since i'm trying to pull in texlive-combined.scheme-full right now, so a way of reliably determining that would also be great
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JveAF
lovesegfault has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #77334 → pacman: fix script generation → https://git.io/Jve9d
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JveAh
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8a3b960203b (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<gchristensen> feels like a lot of rapid channel updates today
werner291 has quit [Quit: werner291]
<infinisil> Huh, 19.03 though
inferenc1rules has quit [Ping timeout: 265 seconds]
<infinisil> That's supposed to be eol'd
inferencerules has quit [Ping timeout: 268 seconds]
<gchristensen> they never get disabled
inferencerules has joined #nixos
<gchristensen> that isn't true, they do but they stay around for a good long time
inferenc1rules has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/0f01a77f872 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
inferenc1rules has quit [Ping timeout: 260 seconds]
inferenc1rules has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #77352 → kdeFrameworks: 5.64.0 -> 5.65.0 → https://git.io/Jvex2
ng0 has quit [Quit: leaving]
wildtrees has quit [Quit: Leaving]
<{^_^}> [mobile-nixos-website] @samueldr pushed to master « Add December 2019 round-u »: https://git.io/JvexK
day|flip has joined #nixos
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #77335 → python3Packages.coordinates: init at 0.4.0 → https://git.io/JveHs
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JvexM
inferenc1rules has quit [Ping timeout: 258 seconds]
inferenc1rules has joined #nixos
inferencerules has quit [Ping timeout: 240 seconds]
inferencerules has joined #nixos
h0m1 has quit [Ping timeout: 260 seconds]
Guest92090 has joined #nixos
h0m1 has joined #nixos
syzygyzer has joined #nixos
<syzygyzer> i have a really simple question. i am learning how to split my configuration.nix file for NixOS into multiple modules. right now i am trying to just put environment.systemPackages in a separate file. for a few of the packages i use the unstable version, with the alias unstable. defined in configuration.nix in the let { }; statement. how can i
<syzygyzer> forward this variable to my packages.nix?
<clever> syzygyzer: one option is to use nixpkgs.overlays to create a pkgs.unstable
viric has quit [Read error: Connection reset by peer]
viric has joined #nixos
<syzygyzer> oh yeah. actually that reminds me that i had read about someone who used a set of swappable overlays for basically their entire system config. maybe i should learn to do that instead of simply importing the list of packages
<syzygyzer> thanks that should be enough for me to get started
lovesegfault has quit [Ping timeout: 252 seconds]
lovesegfault has joined #nixos
Church- has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #77351 → syncthing: 1.3.2 -> 1.3.3 → https://git.io/JveAO
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JvepI
inferencerules has quit [Quit: leaving]
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/Jvept
<{^_^}> [nixpkgs] @anmonteiro opened pull request #77353 → ocamlPackages.ppxfind: dontStrip for all versions → https://git.io/Jvepq
<{^_^}> [nixpkgs] @peterhoeg merged pull request #66699 → pry: init at 0.12.2 → https://git.io/fjdEp
gxt has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @Infinisil merged pull request #75852 → xorg.xf86-video-intel: 2018-12-03 -> 2019-12-09 → https://git.io/Je7pT
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JvepY
<{^_^}> [nixpkgs] @aanderse opened pull request #77354 → nixos/fresh-rss: init module → https://git.io/JvepO
<{^_^}> [nixpkgs] @peterhoeg merged pull request #70258 → home-assistant: add support for python_script component → https://git.io/JecTC
<{^_^}> [nixpkgs] @peterhoeg pushed 3 commits to master: https://git.io/Jvepl
vld has joined #nixos
qubasa has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/e1eedf29e5d (from 2 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/86bbfc0f432 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
vld has quit [Ping timeout: 240 seconds]
qubasa_ has quit [Ping timeout: 258 seconds]
boogiewoogie has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ekleog merged pull request #68973 → ihatemoney: init at 4.1 plus module and test → https://git.io/JeO6k
<{^_^}> [nixpkgs] @Ekleog pushed 6 commits to master: https://git.io/Jveht
mexisme has joined #nixos
<thomashoneyman> i have hydra running on a server with listenHost = 127.0.0.1 and port = 3000, and a nginx configuration with virtualHost."hydra.mydomain.com" = { location."/".proxyPass = "127.0.0.1:3000" }
cartwright has quit [Remote host closed the connection]
<thomashoneyman> the nginx logs show that a request to hydra.mydomain.com attempts to connect to http://127.0.0.1:3000
cartwright has joined #nixos
<thomashoneyman> but alas it is refused: error connecting to upstream
<thomashoneyman> ie. connection refused, code 111
<thomashoneyman> anyone know of any special Hydra configuration necessary to make this work?
<thomashoneyman> Hydra is definitely running -- checked with journalctl
johnw has quit [Remote host closed the connection]
das_j has quit [Remote host closed the connection]
Scriptkiddi has quit [Remote host closed the connection]
das_j has joined #nixos
Scriptkiddi has joined #nixos
<thomashoneyman> i also have, in the nixos config, networking.firewall.allowedPorts = [ ... config.services.hydra.port ];
<gchristensen> nginx needs to pass the Host header
smolck has joined #nixos
<thomashoneyman> ie. proxy_set_header Host $host;
<thomashoneyman> i'm using `recommendedProxySettings`, which i hope doesn't interfere
<thomashoneyman> i've set that in extraConfig for the virtualHost."hydra.mydomain.com" record
<thomashoneyman> redeploying to check it out
bhipple has joined #nixos
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 265 seconds]
dsx has quit [Quit: dsx]
<thomashoneyman> gchristensen: still happening, unfortunately
dsx has joined #nixos
<thomashoneyman> specifically: https://www.lpaste.com/DZwF0WwKLi
<clever> thomashoneyman: if its connection refused, its not the firewall or the virtualhosts
wucke13 has quit [Quit: ZNC 1.7.4 - https://znc.in]
mumuluxi has quit [Quit: ZNC 1.7.4 - https://znc.in]
<clever> thomashoneyman: connection refused means nothing is listening on that port, and the firewall already let you in
mumuluxi has joined #nixos
<clever> thomashoneyman: what url are you trying to load?
<thomashoneyman> hydra.mydomain.com
<thomashoneyman> which has a proxyPass to 127.0.0.1:3000
<thomashoneyman> which is what i've set as listenHost and port for services.hydra
<clever> thomashoneyman: if you run `curl -v hydra.mydomain.com`, what does it output?
wucke13 has joined #nixos
<thomashoneyman> favored pastebin?
<thomashoneyman> hastebin is not saving, for some reason
<clever> thomashoneyman: gist
<thomashoneyman> the redirect is probably http->https
<thomashoneyman> wait yea
<thomashoneyman> let me replace this with the better outut
<clever> yeah, slap an https:// onto it
<thomashoneyman> updated
<thomashoneyman> sorry for the noise, i'm unfamiliar with nginx and networky stuff (UI dev)
<clever> thomashoneyman: what does error.log say on the server?
<thomashoneyman> clever: where would i find that?
<clever> thomashoneyman: [root@amd-nixos:~]# tail /var/spool/nginx/logs/error.log
Lears has joined #nixos
<thomashoneyman> updated
<thomashoneyman> just a ton of warnings "ssl_stapling ignrode, no OCSP responder in the certificate..."
[Leary] has quit [Read error: No route to host]
<thomashoneyman> *ignored
<clever> thomashoneyman: `netstat -anp | grep LIST | egrep '80|442'` ?
sb0 has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/86bbfc0f432 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
<thomashoneyman> updated
spacefrogg has joined #nixos
<clever> thomashoneyman: i dont see nginx listening on 443
<{^_^}> [nixpkgs] @andersk opened pull request #77355 → nixos/gdm: Fix tmpfiles configuration syntax → https://git.io/JvejZ
<clever> thomashoneyman: is that the netstat output from the server?
<clever> thomashoneyman: the server ip is on line 1&3 of the paste
<thomashoneyman> i ran this on the server
<thomashoneyman> nixops ssh -d my-deploy 'netstat -anp ...'
<clever> thomashoneyman: that would result in singlequotes inside singlequotes, which breaks it
<clever> try just ssh'ing into it normally, and run in the shell
<thomashoneyman> well, i double-quoted it
<thomashoneyman> but one sec
<thomashoneyman> it looks like the same output
<clever> thomashoneyman: `netstat -anp | grep nginx` ?
<thomashoneyman> added
<clever> thomashoneyman: probably just a typo then, oh, yeah, duh
<thomashoneyman> supposed to be 443?
<clever> my cmd searched for 442, not 443 :P
<clever> thomashoneyman: what about access.log in the same dir as error.log?
<thomashoneyman> updated again with 443
<thomashoneyman> same thing
<thomashoneyman> just about
<thomashoneyman> one sec
<thomashoneyman> last 10 lines ok?
<thomashoneyman> updated
<clever> thomashoneyman: nothing obvious, but we can still check the hydra port, netstat -anp | grep 3000
<thomashoneyman> ouch
<thomashoneyman> nada
<clever> thomashoneyman: systemctl status hydra-server
<thomashoneyman> same group of files but they're getting long
<clever> thomashoneyman: `netstat -anp | grep starman` ?
fresheyeball has quit [Quit: WeeChat 2.6]
<thomashoneyman> nothing
<clever> thomashoneyman: systemctl restart hydra-server
<clever> and check again
<{^_^}> [nixpkgs] @moretea opened pull request #77356 → krop: Add wrapQtAppsHook. Closes #77339 → https://git.io/JvejV
mexisme has quit [Ping timeout: 248 seconds]
<thomashoneyman> still nothing
<clever> thomashoneyman: journalctl -f -u hydra-server
takeda has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3f0fee752d6 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<thomashoneyman> let's see
mexisme has joined #nixos
<thomashoneyman> server started, a deprecation warning for the Regex dispatch type
<thomashoneyman> ah!
<thomashoneyman> starman server starting, binding to port:3000
<thomashoneyman> accepting connections on 3000....
<clever> port:3000 ???
<thomashoneyman> ouch
<thomashoneyman> bad fork, cannot allocate memory
<thomashoneyman> gracefully shutting down...
<clever> thomashoneyman: what is the nixos config for the hydra?
<clever> thomashoneyman: and how much ram does the machine have?
<thomashoneyman> that could be a problem -- its a t2.nano instance
<clever> thomashoneyman: swap may help short-term
<clever> thomashoneyman: swapDevices = [ { device = "/var/lib/swap"; size = 10; } ]; i think, will auto-create a swap file
<clever> thomashoneyman: docs should confirm the numbers/names
<thomashoneyman> updated with config
<gchristensen> woof
<thomashoneyman> is this just added to the network?
<thomashoneyman> or in services.hydra
<clever> thomashoneyman: under the machine config, swapDevices is a sibling of services
<{^_^}> [nixpkgs] @McSinyx closed pull request #76632 → ibus-table-vietnamese: init at 20190825 → https://git.io/JeNXu
<thomashoneyman> redeploying
<thomashoneyman> and i shared the config (minus the swap)
ahesford has joined #nixos
<thomashoneyman> restarting the hydra server...
<thomashoneyman> i'm going to have to go to dinner in a sec but thanks so much for helping try to dig in to this clever
<thomashoneyman> what was the restart command again?
<thomashoneyman> i'm in tmux without scrollback :(
<thomashoneyman> systemctl restart hydra-server?
ahesford has quit [Client Quit]
<clever> yep
<clever> thomashoneyman: you can also just run `history` in your shell
<thomashoneyman> same issue
<thomashoneyman> cannot allocate memory
<thomashoneyman> i can switch to a larger machine to see if that fixes it
<clever> thomashoneyman: `free -m`, how many mg of swap?
<clever> mb*
<thomashoneyman> all the swap is taken
<thomashoneyman> total = 9, used = 9
<clever> thomashoneyman: ah, the size was in mb, not gig, lol
<thomashoneyman> memory -> total = 484, used = 255, free = 105
<clever> thomashoneyman: swapDevices = [ { device = "/var/lib/swap2"; size = 1024; } ];
xkapastel has quit [Quit: Connection closed for inactivity]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<thomashoneyman> sorry, i've got to run for dinner, but i'll continue exploring the possible memory issue
<thomashoneyman> thanks so much for the help!
<smolck> Hello! So I'm interested in switching to NixOS from Arch Linux, and I was wondering about the guide at https://nixos.org/nixos/manual/index.html#sec-installing-from-other-distro I want to keep everything in my /home directory (which is in a separate partition) intact. Do I just follow the directions there to install NixOS in-place, or is there
<smolck> something else I should know?
<smolck> (to prevent my /home directory from being deleted)
<clever> smolck: nixos doesnt automate partitioning or formatting
drakonis has joined #nixos
<clever> smolck: so when the directions tell you to partition the disk up and format everything, just mount your existing home to /mnt/home instead
<smolck> clever: And that's it? I can install NixOS like normal?
<clever> smolck: yep
<smolck> Great!
<smolck> Thanks!
<smolck> However, I'm wondering about booting. I use systemd boot ATM, will that "just work"?
<jackdk> is there a way I can make nix-build emit the `patch` commands used during a build? I'm trying to apply a patch to a single-file src
<clever> smolck: nixos has both systemd-boot and grub, and the install process will update the efi vars to point to whichever you enabled
<smolck> clever: So I just mount my current boot partition during the install?
<clever> smolck: probably better to use a 2nd /boot for nixos, efi allows multiple boot partitions
bhipple has quit [Remote host closed the connection]
<smolck> clever: I'm alright with overwriting my current /boot, since I'd like to overwrite the Arch system.
<smolck> I'd like to fully switch over to NixOS, just keeping my current /home
inferenc1rules has quit [Ping timeout: 268 seconds]
<smolck> All I'd have to do is just mount my current home partition as you said, and then I could re-format the other partitions, and continue with the install as normal, right?
<clever> smolck: yep
<clever> smolck: you will want to mount the root to /mnt before you mount home to /mnt/home
inferencerules has joined #nixos
azdle has quit [Remote host closed the connection]
<smolck> clever: Great, thanks!
<smolck> As for /home, any reason I should back it up before doing the install you think?
<clever> smolck: should be completely safe
<clever> as long as you dont delete the wrong partition or mkfs the wrong device
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<smolck> clever: Okay, that's what I thought, thanks! That's a *really* easy install (compared to Arch from nothing ;) )
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/db5273ce2ab (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
takeda has quit [Ping timeout: 240 seconds]
<DigitalKiwi> it should be safe as long as you don't do these things which are not safe
<clever> DigitalKiwi: but those are more in terms of user error, rather then an os installer trying to wipe everything on its own
<DigitalKiwi> clever: i git bisect nixpkgs :D
<DigitalKiwi> for the second time!
<DigitalKiwi> i even made a script
takeda has joined #nixos
<jackdk> I'm trying to package a script which I download with fetchurl, as in my mkDerivation's src = fetchurl {...} . I want to apply a patch to this, but when I list the patch in patches = [ ... ] I get "can't find file to patch at input line 3". How can I start debugging this?
inferencerules has quit [Ping timeout: 268 seconds]
<DigitalKiwi> clever: https://github.com/NixOS/nixpkgs/pull/77348#pullrequestreview-340241640 do you know if this instead of the other change?
vld has joined #nixos
<DigitalKiwi> i'll find out in the next 3 minutes though
<clever> DigitalKiwi: looks like its mostly a style change, having it in all-packages.nix would make it simpler to build it on another version without having to edit the default.nix
<clever> via .override or just a 2nd callPackage
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2206d51bd82 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
takeda has quit [Ping timeout: 265 seconds]
inferencerules has joined #nixos
vld has quit [Ping timeout: 260 seconds]
<DigitalKiwi> ok so what i had changed it to didn't work so i think the gcc8Stdenv.mkDeriviation needs to be stdenv.mkDerivation (I had mkDerivation)
<DigitalKiwi> applying patch /nix/store/0d0pfvr1afgswil9w3zmjm2nwiknn7fi-fix_qt_5_11_build.patch
<clever> DigitalKiwi: if you callPackage with stdenv = gcc8Stdenv; then stdenv within that file, refers to gcc8Stdenv
<DigitalKiwi> i don't like the name of that patch considering it's 5.12 now :<
<DigitalKiwi> but it's still necessary
<DigitalKiwi> clever: yeah i just didn't use stdenv in the file >.>
<DigitalKiwi> this is so slow on my computer :<
<DigitalKiwi> who wants to donate spare cycles to the cause
<DigitalKiwi> or buy some art :P
<DigitalKiwi> https://twitter.com/ArchKiwi/status/1213379235076886528?s=20 this is actually a blueprint
<DigitalKiwi> It'S nOt BlUe ThOuGh
takeda has joined #nixos
<DigitalKiwi> clever: is there a way to enable distcc as well as multiple build machines ?
Neo-- has quit [Ping timeout: 248 seconds]
<DigitalKiwi> or just chop that sentence at the middle...can you enable distcc?
* DigitalKiwi hasn't seen any docs for that :<
<clever> DigitalKiwi: distcc would violate the purity of the build sandbox
<DigitalKiwi> oh
<DigitalKiwi> dang purity tests
<clever> DigitalKiwi: recursive nix would let you make something that behaves like distcc+ccache
<DigitalKiwi> one more thing... what's the right way to do this stuff i need for arduino https://github.com/frp-arduino/frp-arduino
<DigitalKiwi> i had to copy Arduino-Makefile to the root
<DigitalKiwi> so the contents of* nixpkgs.arduino-mk (arduino-mk)
<DigitalKiwi> Makefile for Arduino sketches
<DigitalKiwi> but that is like not good i think
marcusr has quit [Read error: Connection reset by peer]
<lovesegfault> gchristensen: Thanks for that sway/firefox Picture-in-Picture floating thing
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
marcusr has joined #nixos
<DigitalKiwi> This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
<DigitalKiwi> ;_;
smolck has quit [Remote host closed the connection]
eoli3n_ has quit [Quit: WeeChat 2.7]
eoli3n_ has joined #nixos
takeda has quit [Ping timeout: 268 seconds]
virus_dave has joined #nixos
takeda has joined #nixos
domogled has joined #nixos
inferencerules is now known as Guest38871
Guest38871 has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
inferencerules has joined #nixos
inferenc1rules has joined #nixos
eoli3n_ has quit [Quit: WeeChat 2.7]
Intensity has quit [Remote host closed the connection]
<{^_^}> [mobile-nixos-website] @samueldr pushed to master « december round-up: Add devices count + link to devices list »: https://git.io/JvveP
inferencerules has quit [Ping timeout: 258 seconds]
inferenc1rules has quit [Ping timeout: 258 seconds]
inferencerules has joined #nixos
inferenc1rules has joined #nixos
inferenc1rules has quit [Ping timeout: 265 seconds]
inferencerules has quit [Ping timeout: 260 seconds]
<DigitalKiwi> ,locate avr-gcc
<{^_^}> Found in packages: arduino, arduino_core
inferencerules has joined #nixos
inferenc1rules has joined #nixos
chagra_ has joined #nixos
<DigitalKiwi> i have those
<DigitalKiwi> :(
mexisme has quit [Ping timeout: 240 seconds]
<lovesegfault> I hope this helps
Intensity has joined #nixos
chagra has quit [Ping timeout: 268 seconds]
<DigitalKiwi> it's possible i aded them with a nixos-rebuild test and have since rebooted :|
endformationage has quit [Ping timeout: 240 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
bvdw has quit [Read error: Connection reset by peer]
<DigitalKiwi> is not in path
<DigitalKiwi> whhy
bvdw has joined #nixos
<inferencerules> trying to import some stuff (normally these would be channels) and getting an infinite recursion; here's the problematic config.nix https://pastebin.com/aXU7QLb3 that goes with otherwise-working configs at https://github.com/inferencerules/dotfiles/tree/master/nixos
virus_dave has quit [Ping timeout: 258 seconds]
syzygyzer has quit [Ping timeout: 260 seconds]
<inferencerules> running nixos-rebuild --upgrade boot --show-trace -vv, the thrown error occurs while evaluating config.system.build.toplevel, encountering the infinite recursion at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:163:28 which is a builtins.listToAttrs call over module arguments
<inferencerules> i'm likely missing something quite straightforward, like a self: super: or whatever, to stop evaluating the pkgs list, but haven't found docs about doing specifically this
<inferencerules> ryantm: pinging you since you suggested managing the imports this way - any idea?
<clever> inferencerules: imports can never depend on pkgs
<clever> inferencerules: one option is to do `pkgs2 = import <nixpkgs> {};` and then use `pkgs2.fetchFromGitHub
fusion809 has quit [Remote host closed the connection]
palo1 has joined #nixos
palo has quit [Ping timeout: 265 seconds]
palo1 is now known as palo
[Leary] has joined #nixos
Lears has quit [Read error: Connection reset by peer]
<DigitalKiwi> lovesegfault: that actually did help thanks
<DigitalKiwi> lovesegfault: at first i had my doubts
mexisme has joined #nixos
<DigitalKiwi> 06:12:15 [kiwi@mvp-nixos frp-arduino]$ AVR_TOOLS_DIR=/nix/store/dhmwvxl1wd6s3g0d70sf3gyircdqhvi9-arduino-1.8.9/share/arduino/hardware/tools/avr/ ARDUINO_DIR=/nix/store/dhmwvxl1wd6s3g0d70sf3gyircdqhvi9-arduino-1.8.9 ./make examples/Blink
zeta_0 has joined #nixos
<zeta_0> i am getting a broken package error but i have no idea what package this is? error: Package ‘vinyl-0.11.0’ is marked as broken, refusing to evaluate
ddellacosta has quit [Ping timeout: 265 seconds]
<inferencerules> clever: that helped, now it's just throwing an error about not requiring the github rev. thanks!
mexisme has quit [Ping timeout: 245 seconds]
<srhb> zeta_0: It's a haskell package, so presumably a dependency of some haskell program you're using.
<srhb> zeta_0: Looks like ??? -> ihaskell -> vinyl
<zeta_0> srhb: ok, i pasted my ihaskell setup in home.nix at the bottom:' https://gist.github.com/zeta-00/485771e24de0d387a4b4f3321637a85b
<zeta_0> srhb: i commented out all the packages that it told me were broken, but i don't know what package is causing this package break error?
<srhb> zeta_0: ihaskell itself depends on vinyl, at least transitively, so commenting out the additional packages won't help.
<srhb> Hm, is that right though..
mexisme has joined #nixos
<thomashoneyman> clever: hell yea!
<thomashoneyman> bumping swap worked
<zeta_0> srhb: ihaskell works fine, i use it in emacs, but now that i tried to install some ihaskell packages, that's when i started getting these broken pkg errors?
<thomashoneyman> wow, there's little chance i would have figured that out on my own
<clever> thomashoneyman: bumping ram should also work, if you find the swap doesnt perform enough and are willing to up the machine size
<thomashoneyman> clever: thanks for saving me time
<srhb> zeta_0: Well, comment out until it works, bisecting until you know which one/ones are the culprit.
<thomashoneyman> clever: this is eventually going to be a teaching tool, so i'd like to keep it as small and cheap as possible
<srhb> zeta_0: The error you pasted was caused by broken vinyl, so you could also just fix that.
<thomashoneyman> clever++
<{^_^}> clever's karma got increased to 302
<thomashoneyman> seriously, thank you for your help over the past few days, it's been a lifesaver
<clever> thomashoneyman: have you seen my test-hydra-locally.nix?
<zeta_0> ok i'll comment out random ihaskell pkgs to see if that fixes it
<thomashoneyman> clever: no, but it's exactly what i'm going to do next
<thomashoneyman> that's why i was trying to do the subdomain
<thomashoneyman> so deploying to a vm == deploying to ec2
<thomashoneyman> clever: i haven't seen it
<thomashoneyman> is it in the hydra configs?
<clever> thomashoneyman: basically, nix-build test-hydra-locally.nix && ./result, then browse http://localhost:8080/
<zeta_0> is there a way to track where exactly that broken vinyl pkg came from?
inferencerules has quit [Ping timeout: 240 seconds]
<clever> thomashoneyman: this is also reusing the hydra config that actually gets deployed with nixops, and it just has a few mkForce entries, to tweak it
<clever> thomashoneyman: ssl and acme wont work without being publicly reachable for example
<zeta_0> that sucks that a bunch of these ihaskell pkgs are broken
inferenc1rules has quit [Ping timeout: 268 seconds]
<thomashoneyman> clever: that's awesome
<srhb> zeta_0: From your pkgs
<thomashoneyman> i'll dive into this tomorrow
<thomashoneyman> thanks again!
<srhb> zeta_0: As in, whatever nixpkgs channel you're using.
<thomashoneyman> headed out for tonight
<clever> thomashoneyman: same
inferencerules has joined #nixos
inferenc1rules has joined #nixos
cjay- has quit [Ping timeout: 268 seconds]
cjay- has joined #nixos
inferencerules has quit [Quit: leaving]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8fcf9926fae (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
inferencerules has joined #nixos
<{^_^}> [nixpkgs] @domenkozar pushed to master « duplicati: 2.0.4.5 -> 2.0.4.23 »: https://git.io/Jvvv4
rembo10 has quit [Quit: ZNC 1.7.5 - https://znc.in]
mojjoo has joined #nixos
<{^_^}> [nixpkgs] @domenkozar pushed to release-19.09 « duplicati: 2.0.4.5 -> 2.0.4.23 »: https://git.io/JvvvB
<infinisil> I think I might look into making imports be able to depend on pkgs
<infinisil> So many people are having issues with infinite recursion because of this
<infinisil> But it would be possible to change the module system to not do that (by just not applying overlays and such for figuring out the imports)
zeta_0 has quit [Remote host closed the connection]
<inferencerules> so far the imports/general modification of the pkgs set stuff has been the most difficult and confusing for me, for sure.
zeta_0 has joined #nixos
rembo10 has joined #nixos
<DigitalKiwi> Blink works better when you have a good LED
<inferencerules> i would like to start contributing to the documentation and this seems like an obvious starting point
<mojjoo> Hi. I'm trying to setup a (public readable) cachix cache. Added it to `nix.binaryCaches` in my nixos config. `warning: don't know how to open Nix store 'myusername.cachix.org'`
<DigitalKiwi> lovesegfault: ty :D
<lovesegfault> DigitalKiwi: No worries :)
<DigitalKiwi> first time using arduino
<DigitalKiwi> and of course i have to make everything harder and skip straight to using haskell :P
<zeta_0> well it turns out the pkg `ihaskell-widgets` was causing the broken pkg error, now it rebuilds fine with the other ihaskell pkgs
<zeta_0> srhb: ^
<srhb> zeta_0: Great :)
<infinisil> mojjoo: You can just use `cachix use myusername`
smatting has joined #nixos
<zeta_0> srhb: thanks for the help
<zeta_0> srhb++
<{^_^}> srhb's karma got increased to 82
day|flip has quit [Quit: The Lounge - https://thelounge.chat]
<DigitalKiwi> lovesegfault++
<{^_^}> lovesegfault's karma got increased to 8
<DigitalKiwi> ok so what's the right way to set these environment vars?
<DigitalKiwi> with a nix-shell -p with python3Packages.pyserial I can do AVR_TOOLS_DIR=/nix/store/dhmwvxl1wd6s3g0d70sf3gyircdqhvi9-arduino-1.8.9/share/arduino/hardware/tools/avr/ ARDUINO_DIR=/nix/store/dhmwvxl1wd6s3g0d70sf3gyircdqhvi9-arduino-1.8.9 AVRDUDE_CONF=/nix/store/8rzcq3pzksiklsyj88gv5p3729n7jsyq-avrdude-6.3/etc/avrdude.conf ./make examples/Blink upload
<zeta_0> later everyone
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
vld has joined #nixos
<DigitalKiwi> Synthetica++
<{^_^}> Synthetica's karma got increased to 6
vld has quit [Ping timeout: 260 seconds]
inferencerules has quit [Ping timeout: 268 seconds]
inferencerules has joined #nixos
inferenc1rules has quit [Ping timeout: 265 seconds]
knupfer has joined #nixos
inferenc1rules has joined #nixos
inferencerules has quit [Client Quit]
takeda has quit [Ping timeout: 265 seconds]
inferenc1rules has quit [Ping timeout: 268 seconds]
inferencerules has joined #nixos
tpham has joined #nixos
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
logzet has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<tpham> I have this nix script: https://pastebin.com/Bd4GgndC . When I run nix, it does not run configure scripts, build and install script. How can I fix this.
<tpham> Here is log output:
<tpham> unpacking source archive /nix/store/s58ll7hfss4lgzk8lljlhrdbigb4amfi-sourcesource root is sourcepatching sourcesconfiguringno configure script, doing nothingbuildingno Makefile, doing nothinginstalling
haruko[m] has joined #nixos
growpotkin has joined #nixos
<infinisil> tpham: s/nativeBuildInput/nativeBuildInputs
<tpham> ohh, thanks. '=D
<infinisil> :)
<tpham> Another question, I want to use version as git tag, for example "v4.1.0" instead of the hash, how can I do that.
drakonis has quit [Quit: WeeChat 2.6]
<infinisil> tpham: I believe with `ref = "v4.1.0"` instead of `rev = <hash>`
rogue_koder has quit [Remote host closed the connection]
<tpham> And how can I clone recursively. The `fetchgit` has deepClone parameter but `fetchGit` does not have :(
<clever> tpham: only pkgs.fetchgit has a fetchSubmodules = true;
<clever> submodules dont work on builtins.fetchGit
<infinisil> tpham: And then you can just use pkgs.fetchFromGitHub, which will be much faster than pkgs.fetchgit
philr has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
smatting has quit [Ping timeout: 260 seconds]
inferencerules has quit [Ping timeout: 260 seconds]
inferencerules has joined #nixos
<tpham> I tried fetchFromGitHub, it shown me the error: "fetchurl requires a hash for fixed output derivation"
<mojjoo> swapon /dev/swapfileswapon: /dev/swapfile: swapon failed: Invalid argument-> any ideas? swap file exists and was prepared with mkswap
<infinisil> tpham: Ah yeah you need to give it a sha256
<tpham> How can I get the sha256
<infinisil> ,tofu tpham
<{^_^}> tpham: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
kenshinCH has joined #nixos
<tpham> It worked. Thank you both. NiX is quite difficult for new user '=D
<craige> If I run `nix-shell -p myPackage` I get an environment exactly as I want it. What I'm struggling to work out though, how to have the `-p myPackage` package included in the service I'm defining. I've been wading through the manal and nix packages but that env dependency remains unclues to me. Thanks :-)
<craige> s/unclues/unclear but I it still works :-D
inferencerules has quit [Ping timeout: 268 seconds]
<infinisil> craige: A systemd service?
<craige> Yes.
<infinisil> craige: Add the package here: systemd.services.<name>.path
<infinisil> Then it will be in the PATH env var of the service, so you can call binaries from it
<craige> Ah, I was doing that and the service reported that it could not find it's dep. So at least I was originally close. I'll got back to that and revisit what I was doing there. thanks infinisil :-)
<craige> infinisil++
<{^_^}> infinisil's karma got increased to 177
captn3m0 has quit [Ping timeout: 268 seconds]
<infinisil> Well nix-shell -p isn't entirely the same as that. *.path only sets PATH, but nix-shell -p does a bunch more things
<infinisil> Hard to say what's needed without the error though
<infinisil> Or any other information
knupfer has joined #nixos
<craige> I was seeking to find the right path, turns oput I was on it.
<craige> more info though.
mexisme has quit [Ping timeout: 246 seconds]
inferencerules has joined #nixos
<craige> It's a python service that requires another python package. with path set to pkgs.python3Packages.watchdog, I still get: ModuleNotFoundError: No module named 'watchdog'
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<craige> (which is why I started questioning how I was including it)
knupfer has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @veprbl opened pull request #77359 → blender: fix on darwin → https://git.io/Jvvf3
growpotkin has joined #nixos
<tpham> Can I specify target in mkDerivation, for example: I don't want to build the test.
__monty__ has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.7]
mexisme has joined #nixos
otulp has quit [Ping timeout: 258 seconds]
m0rphism has joined #nixos
hyper_ch2 has joined #nixos
chatmaster5000[m has joined #nixos
<infinisil> craige: Ah I see, that's handled through PYTHON_PATH or something like that. However I think the best and most standard way is to wrap the python package itself, such that just running the binary directly will work
mexisme has quit [Ping timeout: 260 seconds]
<infinisil> E.g. with buildPythonPackage
<craige> Thanks infinisil - I'll pursue those options.
inferencerules has quit [Read error: Connection reset by peer]
<hyper_ch2> I have a really strange issue with nixos currently. Grub claims it can't find new kernel 5.4.something for (almost) latest git to boot.....
<Dandellion> I'm splitting up my nixos configuration, but I can't figure out how to pass a value to a submodule.
<Dandellion> like how do I pass a variable through the imports list?
<infinisil> Dandellion: While oftentimes not ideal, you can do `imports = [ (import ./other-module.nix "some-argument") ]`
mexisme has joined #nixos
<infinisil> The items in imports can either be paths or expressions
<infinisil> A better and more flexible alternative would be to define your own option in other-module.nix, so you can do `imports = [ ./other-module.nix ]; some.option = "some-argument";`
<tpham> I have this nix script: https://pastebin.com/q4TeCn7f .When compile the program, gcc still give me error 'catch.hpp' file not found. how can `catch` include directory to CPLUS_INCLUDE_PATH env in the derivation function.
<craige> infinisil++
<{^_^}> infinisil's karma got increased to 178
<craige> With your tip, infinisil, I went back and revisited some packages I'd already looked at and found the solution. Thanks! Made my day \o/
<infinisil> :D
infinee has quit [Quit: WeeChat 2.6]
<Dandellion> infinisil: thanks, I guess what I'm looking for is some way to just do { lib, options, pkgs, foo, ... } where foo is the stuff I want to pass down all the submodules. But the module option would work too! tyvm
<infinisil> Dandellion: You can do that through setting the _module.args.foo option, however note that all options you define are also available through the `config` argument, e.g. `{ config, lib, ... }: { options.foo = lib.mkOption { ... }; config.something = config.foo; }`
<mojjoo> trying to start a pure nix-shell with an additional package... `nix-shell --pure -p myeditor default.nix` does not do as `-p` and <path> are XOR...
FRidh has quit [Quit: Konversation terminated!]
mexisme has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @edolstra merged pull request #77349 → [19.09] firefox: 72.0 -> 72.0.1 → https://git.io/JvebT
<{^_^}> [nixpkgs] @edolstra pushed 4 commits to release-19.09: https://git.io/Jvvf5
FRidh has joined #nixos
<infinisil> tpham: You're still using the sha256 of when fetchSubmodules was false, change some character of the hash to force a rebuild
<Dandellion> infinisil++
<{^_^}> infinisil's karma got increased to 179
shyim has quit [Quit: shyim]
<ivan> I think there is a bug in nixos master / linux 5.4 that causes xfs root to fail to mount ~5% or less of the time
<ivan> https://ludios.org/tmp/Screenshot_20200109_084058.png I've seen something like this twice now
<ivan> reboot fixes it
<infinisil> mojjoo: A workaround is to use a default.nix like this: `{ extraPackages ? pkgs: [] }: mkDerivation { buildInputs = [ ... ] ++ extraPackages pkgs; }`, then call `nix-shell --arg extraPackages 'p: [ p.foo ]'`
<ivan> never saw this on 19.09 / 4.19
smatting has joined #nixos
Avaq has joined #nixos
shyim has joined #nixos
vld has joined #nixos
inferencerules has joined #nixos
ng0 has joined #nixos
ng0 has joined #nixos
vld has quit [Ping timeout: 258 seconds]
lsix has joined #nixos
smatting has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
mexisme has joined #nixos
inferencerules has quit [Ping timeout: 268 seconds]
inferencerules has joined #nixos
captn3m0 has joined #nixos
inferencerules has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Remote host closed the connection]
growpotkin has quit [Ping timeout: 265 seconds]
o1lo01ol1o has joined #nixos
otulp has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
chloekek has joined #nixos
magnetophon has quit [Ping timeout: 240 seconds]
smatting has joined #nixos
Tucky has joined #nixos
Chiliparrot has joined #nixos
captn3m0 has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
thc202 has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #77353 → ocamlPackages.ppxfind: dontStrip for all versions → https://git.io/Jvepq
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvvU8
tpham has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #77350 → terraform: 0.12.18 -> 0.12.19 → https://git.io/JveAT
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvvUE
<{^_^}> [nixpkgs] @offlinehacker pushed 7 commits to master: https://git.io/JvvUo
<{^_^}> [nixpkgs] @offlinehacker merged pull request #77073 → elk stack: 7.3.1 -> 7.5.1 → https://git.io/JejzJ
wpcarro has joined #nixos
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/b047b7315d8 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<{^_^}> [nixpkgs] @c0bw3b merged pull request #77318 → stilo-themes: 3.34-1 -> 3.34-2 → https://git.io/JveoL
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @romildo to master « stilo-themes: 3.34-1 -> 3.34-2 (#77318) »: https://git.io/JvvUP
<{^_^}> [nixpkgs] @c0bw3b merged pull request #77316 → plano-theme: 3.34-1 -> 3.34-2 → https://git.io/Jver5
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @romildo to master « plano-theme: 3.34-1 -> 3.34-2 (#77316) »: https://git.io/JvvU1
<{^_^}> [nixpkgs] @c0bw3b merged pull request #77314 → zuki-themes: 3.34-1 -> 3.34-2 → https://git.io/JverV
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @romildo to master « zuki-themes: 3.34-1 -> 3.34-2 (#77314) »: https://git.io/JvvUM
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b047b7315d8 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<{^_^}> [nixpkgs] @marsam merged pull request #77330 → cereal: 1.2.2 -> 1.3.0 → https://git.io/JveS8
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvvUH
<{^_^}> [nixpkgs] @c0bw3b merged pull request #77317 → amber-theme: 3.34-1 -> 3.34-2 → https://git.io/JveoU
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @romildo to master « amber-theme: 3.34-1 -> 3.34-2 (#77317) »: https://git.io/JvvU7
civodul has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #77195 → python27Packages.jenkins-job-builder: 3.1.0 -> 3.2.0 → https://git.io/JejxO
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvvUx
<{^_^}> [nixpkgs] @marsam merged pull request #77194 → primesieve: 7.4 -> 7.5 → https://git.io/JejAS
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvvUh
<{^_^}> [nixpkgs] @marsam merged pull request #77176 → ocserv: 0.12.5 -> 0.12.6 → https://git.io/JejFa
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvvUj
sigmundv_ has joined #nixos
<{^_^}> [nixpkgs] @domenkozar closed pull request #77333 → cachix: fix dependencies → https://git.io/Jve9W
<{^_^}> [nixpkgs] @marsam merged pull request #77179 → pcsctools: 1.5.4 -> 1.5.5 → https://git.io/JejF7
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvvTk
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #76885 → nixos/pam: cleanup services → https://git.io/JepJj
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/JvvTq
<{^_^}> [nixpkgs] @marsam merged pull request #77164 → msmtp: 1.8.6 -> 1.8.7 → https://git.io/JejQM
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvvTm
<{^_^}> [nixpkgs] @marsam merged pull request #77169 → pcb: 4.2.0 -> 4.2.1 → https://git.io/JejdL
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvvTO
<{^_^}> [nixpkgs] @marsam merged pull request #77160 → ngspice: 30 -> 31 → https://git.io/JejQs
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvvTZ
rleppink has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #77120 → ipvsadm: 1.30 -> 1.31 → https://git.io/JejKi
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvvTu
<rleppink> How does a package (or its derivation) get access to a `/run/${packageName}` folder for creating runtime files?
<{^_^}> [nixpkgs] @marsam merged pull request #77163 → mpop: 1.4.6 -> 1.4.7 → https://git.io/JejQw
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvvT2
mexisme has quit [Ping timeout: 248 seconds]
<rleppink> I see some derivations just straight up doing `mkdir -p /dir/x`, but that's not allowed, right?
<rleppink> `mkdir -p /run/x` I mean *
tpham has joined #nixos
magnetophon has joined #nixos
<tpham> How can I remove `-Werror` when compile using clang
xkapastel has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/bda5f7964b0 (from 40 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9175907322e (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> [nixpkgs] @marsam merged pull request #77161 → obexftp: 0.24 -> 0.24.2 → https://git.io/JejQ4
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvvTQ
mexisme has joined #nixos
rleppink has left #nixos [#nixos]
<{^_^}> [nixpkgs] @marsam merged pull request #77024 → davfs2: 1.5.5 -> 1.5.6 → https://git.io/Jejld
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvvT5
<{^_^}> [nixpkgs] @marsam merged pull request #77033 → forkstat: 0.02.11 -> 0.02.12 → https://git.io/Jej4v
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvvTd
<{^_^}> [nixpkgs] @filalex77 opened pull request #77362 → imag: init at 0.10.0 → https://git.io/JvvTF
rleppink has joined #nixos
Naptra has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #77011 → mod_wsgi: 4.6.8 -> 4.7.0 → https://git.io/JejCL
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvvkJ
<{^_^}> [nixpkgs] @marsam merged pull request #77013 → cherrytree: 0.38.9 -> 0.38.10 → https://git.io/JejCV
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvvkk
wpcarro has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #76448 → suricata: 5.0.0 -> 5.0.1 → https://git.io/JeFhB
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvvkL
<{^_^}> [nixpkgs] @marsam merged pull request #76352 → osm2pgsql: 1.2.0 -> 1.2.1 → https://git.io/JeFPH
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvvkq
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #76325 → mcelog: 166 -> 167 → https://git.io/JvvkY
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvvkO
detran has quit [Quit: ZNC 1.7.4 - https://znc.in]
detran has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #76418 → setbfree: 0.8.10 -> 0.8.11 → https://git.io/JeFbY
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvvkn
ThatDocsLady_ has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #76312 → micronaut: 1.2.6 -> 1.2.8 → https://git.io/Jvvk8
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jvvk4
<{^_^}> [nixpkgs] @marsam merged pull request #76366 → phoronix-test-suite: 9.2.0 -> 9.2.1 → https://git.io/JeFMv
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvvkR
vidbina_ has joined #nixos
Guest92090 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @marsam closed pull request #76274 → jython: 2.7.1 -> 2.7.2b2 → https://git.io/Jvvku
cfricke has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #76245 → fasm: 1.73.18 -> 1.73.21 → https://git.io/Jvvka
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvvkV
lsix1 has joined #nixos
lsix1 has quit [Client Quit]
magnetophon has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
lsix1 has joined #nixos
zarel has quit [Quit: ZNC 1.7.4 - https://znc.in]
zarel has joined #nixos
cfricke has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @filalex77 opened pull request #77363 → wasmer: init at 0.12.0 → https://git.io/JvvkD
<{^_^}> [nixpkgs] @Mic92 closed pull request #74126 → nixosTests.home-assistant: port to python → https://git.io/JePcV
Avaq has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #75898 → home-assistant: Add error output for missing deps → https://git.io/Je5C7
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvvkS
magnetophon has joined #nixos
cfricke has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #77355 → nixos/gdm: Fix tmpfiles configuration syntax → https://git.io/JvejZ
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JvvkN
mkaito_ is now known as mkaito
mkaito has joined #nixos
mkaito has quit [Changing host]
rleppink has quit [Ping timeout: 265 seconds]
Avaq has joined #nixos
<{^_^}> [nixpkgs] @rycee pushed to master « lombok: 1.18.8 -> 1.18.10 »: https://git.io/JvvIe
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9175907322e (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
cfricke has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @markuskowa merged pull request #77083 → gmsh: 4.4.1 -> 4.5.1 → https://git.io/Jejg3
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JvvIZ
cfricke has joined #nixos
mounty has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Mic92 merged pull request #76088 → home-assistant: 0.100.3 -> 0.103.2 → https://git.io/Jedfn
<{^_^}> [nixpkgs] @Mic92 pushed 6 commits to master: https://git.io/JvvIC
mounty has joined #nixos
jgeerds has joined #nixos
mounty has quit [Read error: Connection reset by peer]
mounty has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #77307 → mrsh: init at 2020-01-08 → https://git.io/JveVe
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JvvI4
<{^_^}> [nixpkgs] @markuskowa merged pull request #77214 → python27Packages.geoip2: 2.9.0 -> 3.0.0 → https://git.io/Jvevk
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JvvIR
inferencerules has joined #nixos
jboy has quit [Quit: bye]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
inferencerules has quit [Ping timeout: 268 seconds]
inferencerules has joined #nixos
jboy has joined #nixos
alex`` has joined #nixos
vxid has joined #nixos
captn3m0 has joined #nixos
dm9 has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/8a3b960203b (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
hyper_ch2 has quit [Remote host closed the connection]
vidbina_ has quit [Ping timeout: 268 seconds]
sb0 has quit [Quit: Leaving]
<vxid> Hi everyone. I am trying to package a pam module and I am stuck in the last part which is installing the module in the correct directory. Any pointers? Current file is here: https://pastebin.com/3Kh9hjqi
Neo-- has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
Avaq has quit [Ping timeout: 260 seconds]
bvdw has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @meatcar opened pull request #77364 → nixos/powertop: wait for hardware to initialize → https://git.io/JvvLJ
o1lo01ol1o has joined #nixos
inferencerules_ has joined #nixos
rleppink has joined #nixos
mojjoo has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
marusich has joined #nixos
marusich has quit [Remote host closed the connection]
vxid has quit [Remote host closed the connection]
chimay has joined #nixos
inferencerules has quit [Ping timeout: 268 seconds]
inferencerules has joined #nixos
magnetophon has quit [Ping timeout: 268 seconds]
mojjoo has joined #nixos
<mojjoo> `Package ‘vscode-with-extensions-1.41.0’ in /nix/store/199zff8... has an unfree license (‘unfree’), refusing to evaluate.` <<< Does anyone know why this appears? I've set `{ nixpkgs.config.allowUnfree = true; }` and it worked for normal `vscode`
<Shoubit> mojjoo, how are you evaluating it? With nix-env or nix-build as a user?
<mojjoo> `nixos-rebuild`
kahiru has quit [Ping timeout: 265 seconds]
<rleppink> Are you getting that package from a different channel perhaps? Like nixpkgs-unstable?
dalto5 has quit [Remote host closed the connection]
<rleppink> mojjoo: Notifying ^
kahiru has joined #nixos
jco has joined #nixos
mexisme has joined #nixos
Avaq has joined #nixos
<mojjoo> ^ works now.. I think the issue was that I imported it anew from <nixpkgs> .. worked with passing down `pkgs`
<Avaq> Hi folks! I've had this "error(s) occurred while switching to the new configuration" warning for some time now when issueing 'nixos-rebuild switch', and I was wondering if anyone knows what's going on, whether it's important, and how I can fix it.
<Avaq> The main problem seems to be a series of "Detected unsafe path transition /var/log → /var/log/journal" errors. Full log (18 lines) over here: https://gist.github.com/Avaq/b372acd8024e70a20139c266b12529d5
magnetophon has joined #nixos
mexisme has quit [Ping timeout: 260 seconds]
afics has quit [Quit: afics]
<{^_^}> [nixpkgs] @teto merged pull request #77100 → vimPlugins.vista-vim: init at 2020-01-06 → https://git.io/Jejay
<{^_^}> [nixpkgs] @teto pushed commit from @iv-nn to master « vimPlugins.vista-vim: init at 2020-01-06 »: https://git.io/JvvLo
<{^_^}> [nixpkgs] @grahamc closed pull request #77320 → rustPackages: recurse in to package sets so Hydra builds clippy → https://git.io/JveoQ
<{^_^}> [nixpkgs] @teto opened pull request #77365 → ultrastardx: 2017.8.0 -> 07012019 → https://git.io/JvvLX
<{^_^}> [nixpkgs] @markuskowa opened pull request #77366 → [19.09] libxml: add patch for CVE-2019-19956 → https://git.io/JvvL1
knupfer has joined #nixos
andymandias has quit [Quit: ZNC 1.7.4 - https://znc.in]
andymandias has joined #nixos
<emmanuelrosa[m]> <Avaq "Hi folks! I've had this "error(s"> Avaq: See if this helps: https://github.com/NixOS/nixpkgs/issues/68972
<{^_^}> #68972 (by schneefux, 16 weeks ago, closed): gitlab module unsafe path transition after upgrade to 19.09
knupfer has quit [Ping timeout: 240 seconds]
siiky has quit [Ping timeout: 260 seconds]
<Avaq> emmanuelrosa[m]: Thank you. That did help. Somehow my /var/log directory is owned by user 106, which is not even listed in /etc/passwd nor /etc/group.
<Avaq> I think CouchDB might've done that at some point. The only other thing owned by user 106 is /var/log/couchdb.log, and CouchDB has been uninstalled in the meantime.
<gchristensen> adisbladis: did you try enabling pie by default?
<Avaq> Changing ownership of /var/log back to root:root made the error on nixos-rebuild go away. :)
hyper_ch2 has joined #nixos
<emmanuelrosa[m]> I'm glad that worked, @Avaq
o1lo01ol1o has joined #nixos
cosimone has joined #nixos
karetsu has joined #nixos
tpham has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JvvLx
<{^_^}> [nixpkgs] @c0bw3b merged pull request #76612 → iosevka: 2.3.2 -> 2.3.3 → https://git.io/JeN4m
akegalj has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #76581 → emplace: 0.2.8 -> 0.2.10 → https://git.io/JeNUs
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @filalex77 to master « emplace: 0.2.8 -> 0.2.10 (#76581) »: https://git.io/JvvLp
inferencerules has quit [Ping timeout: 258 seconds]
inferencerules has joined #nixos
magnetophon has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « qsynth: 0.6.0 -> 0.6.1 (#76380) »: https://git.io/JvvtT
<{^_^}> [nixpkgs] @c0bw3b merged pull request #76380 → qsynth: 0.6.0 -> 0.6.1 → https://git.io/JeF9m
Naptra has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #76398 → qmidinet: 0.6.0 -> 0.6.1 → https://git.io/JeFQM
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « qmidinet: 0.6.0 -> 0.6.1 (#76398) »: https://git.io/JvvtI
kfound has joined #nixos
magnetophon has joined #nixos
Chiliparrot has joined #nixos
domogled has quit [Remote host closed the connection]
inferencerules has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @filalex77 opened pull request #77367 → glow: 0.1.6 -> 0.2.0 → https://git.io/JvvtA
<{^_^}> [nixpkgs] @saschagrunert opened pull request #77368 → cni-plugins: v0.8.3 -> v0.8.4 → https://git.io/Jvvtp
cfricke has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @domenkozar merged pull request #77298 → nixpkgs manual: Update Haskell versions → https://git.io/JveuM
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/JvvqT
rakula has joined #nixos
wpcarro has joined #nixos
<rakula> I wonder if someone could help out with jupyterhub >> there is quite a bit of instruction as to how to get jupyterlab with 'batteries', projects like jupyterWith, or the discourse chat on jupyter with 'batteries' included.
<rakula> However, what I need is the jupyterHUB
<rakula> Now, this is packaged under nixpkgs.Python37Packages.jupyterhub
kfound has quit [Remote host closed the connection]
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #76230 → cimg: 2.7.5 -> 2.8.0 → https://git.io/JvvqG
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « cimg: 2.7.5 -> 2.8.0 (#76230) »: https://git.io/JvvqZ
vld has joined #nixos
<rakula> However, installing nixpkgs.Python37Packages.jupyterhub is not actually useful in itself
<rakula> For one, there is no kernel, so trying to launch Python3 kernel gives me
<rakula> No module named ipykernel_launcher
<makefu> hi, anyone familiar with packaging nodejs and could help me out with https://github.com/moretea/yarn2nix/issues/124 ? i am essentially trying to package zigbee2mqtt, however some bindings are not created. i am willing to test any other something2nix package out as long i get a working application in the end :)
<{^_^}> moretea/yarn2nix#124 (by makefu, 3 days ago, open): Bindings for nodejs package not built
<{^_^}> [nixpkgs] @c0bw3b closed pull request #33961 → [WIP] ncbi-blast: init at 2.7.1 → https://git.io/vN4ee
<{^_^}> [nixpkgs] @filalex77 opened pull request #77369 → cargo-deb: 1.23.0 -> 1.23.1 → https://git.io/JvvqW
<{^_^}> [nixpkgs] @teto opened pull request #77370 → isync: enable manpage and reformat → https://git.io/Jvvq8
<rakula> Blindly copying out the instructions for jupyter I did something like this
<rakula> ```
<rakula> `environment.systemPackages = with pkgs;
<rakula> let jhub = pkgs.python37Packages.jupyterhub.override {
<rakula> definitions = {
<rakula> python3 = let
<rakula> env = (pkgs.python3.withPackages(ps: with ps; [
<rakula> ipykernel
<rakula> numpy
<rakula> matplotlib
<rakula> pandas
<rakula> ]));
<rakula> in {
<rakula> displayName = "Python 3";
<rakula> argv = [
<rakula> "${env.interpreter}"
rakula has quit [Killed (Sigyn (Spam is off topic on freenode.))]
alexherbo2 has joined #nixos
<tilpner> ,telll rakula Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<tilpner> ,tell rakula Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<{^_^}> tilpner: I'll pass that on to rakula
<gchristensen> ,telll is ,tell with emphasis, silly bot
ng0_ has joined #nixos
ng0_ has joined #nixos
ng0_ has quit [Changing host]
cmacrae has joined #nixos
ng0 has quit [Ping timeout: 258 seconds]
cosimone has quit [Quit: Terminated!]
Synthetica has joined #nixos
Rusty1 has joined #nixos
gustavderdrache has joined #nixos
inferencerules has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #77371 → matrix-synapse: 1.7.3 -> 1.8.0 → https://git.io/JvvqA
domogled has joined #nixos
buckley310 has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> [nixpkgs] @nomeata opened pull request #77372 → Update sha256 in python-hypothesis → https://git.io/Jvvmv
buckley310 has joined #nixos
<{^_^}> [nixpkgs] @tokudan opened pull request #77373 → firefox-bin: 72.0 -> 72.0.1 [security] CVE-2019-17026 → https://git.io/JvvmI
WhatisRT has joined #nixos
cosimone has joined #nixos
<cmacrae> Hey o/ I have some expressions I wrote for some DHCP & DNS config generation. Would any lovely people who're a bit more experienced than I am mind having a look to see if I could write these better? Asking mostly with a desire to learn :) Have chucked it into an example gist here: https://git.io/Jvvq6
ciaran0 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @tokudan opened pull request #77374 → firefox-bin: 72.0 -> 72.0.1 [security] CVE-2019-17026 [19.09] → https://git.io/Jvvmn
akegalj has quit [Quit: leaving]
wpcarro has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @lheckemann opened pull request #77375 → calls: unstable-2019-10-29 -> 0.1.1 → https://git.io/Jvvml
xkapastel has quit [Quit: Connection closed for inactivity]
magnetophon has quit [Ping timeout: 260 seconds]
gxt has joined #nixos
magnetophon has joined #nixos
ddellacosta has joined #nixos
Guest92090 has joined #nixos
mexisme has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<tilpner> cmacrae: Subjective style thing, but you could use a function to construct the .ip, .mac attrsets
hyper_ch2 has joined #nixos
<tilpner> cmacrae: machine = ip: mac: { inherit ip mac; }
<{^_^}> [nixpkgs] @thefloweringash opened pull request #77376 → ldc: fix build and skip impure test → https://git.io/Jvvmy
<tilpner> And then ipReservations = { compute1 = machine "10.0.0.1" "b8:ae:ed:7d:1b:7e"; };
<cmacrae> tilpner: Ooo, nice, I hadn't thought of that
<cmacrae> Thank you! tilpner++
<{^_^}> tilpner's karma got increased to 59
<{^_^}> [nixpkgs] @teto closed pull request #77370 → isync: enable manpage and reformat → https://git.io/Jvvq8
<tilpner> cmacrae: I can also recommend exposing attrsets of machine address in your config as options
<tilpner> cmacrae: That way, other modules can refer to addresses by ${config.machines.foobar.ipv4} instead of hardcoded strings
mexisme has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @filalex77 opened pull request #77377 → cargo-update: 1.5.2 -> 2.5.0 → https://git.io/JvvYe
ixxie has joined #nixos
<adisbladis> gchristensen: Yes I did. A bunch of stuff broke (as expected but it was mostly fine)
ng0_ is now known as ng0
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
smolck has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
magnetophon has quit [Ping timeout: 260 seconds]
smolck has quit [Remote host closed the connection]
Naptra has joined #nixos
magnetophon has joined #nixos
<o1lo01ol1o> If I manually nix copy s3://mybucket --all from a hydra machine, will it maintain hydra's signature ?
siiky has joined #nixos
zyeri has left #nixos ["Textual IRC Client: www.textualapp.com"]
<nilsirl[m]> I just updated my nixos (`nixos-rebuild switch --upgrade`) and I only have firefox 72.0 not 72.0.1
snajko has joined #nixos
magnetophon has quit [Ping timeout: 258 seconds]
<snajko> I have a small sets of scripts to configure my server, I'm looking for a best way to configure "global" varialbes, any good examples for that? For example I would like to have a global router ip as avariable and be able to include it from all files
<snajko> tried to setup config.myrouter = "ip" in let in but no go
<snajko> what is the best way to achive that?
<Shoubit> nilsirl[m], 72.0.1 hasn't been merged to master yet so it won't be in any channels
inferencerules has quit [Ping timeout: 258 seconds]
rogue_koder has joined #nixos
inferencerules has joined #nixos
<pbogdan> 72.0.1 is in master and 19.09, not necessarily in any of the channels yet though
sigmundv_ has quit [Ping timeout: 258 seconds]
inferencerules has quit [Ping timeout: 260 seconds]
inferencerules has joined #nixos
<gchristensen> besides, we need to get 72.0.2
cosimone has quit [Quit: Terminated!]
__monty__ has quit [Quit: leaving]
cosimone has joined #nixos
ng0_ has joined #nixos
ng0_ has joined #nixos
ng0_ has quit [Changing host]
ThatDocsLady has joined #nixos
zarel has quit [Ping timeout: 240 seconds]
magnetophon has joined #nixos
<{^_^}> [nixpkgs] @ktrsoft opened pull request #77379 → Add avro-python3 package to nixpkgs → https://git.io/JvvOJ
ThatDocsLady_ has quit [Ping timeout: 252 seconds]
ng0 has quit [Ping timeout: 240 seconds]
zarel has joined #nixos
inferencerules has quit [Read error: Connection reset by peer]
sigmundv_ has joined #nixos
fusion809 has joined #nixos
<meatcar> Is there any way to get nix-env to respect NIX_PATH, and not use nix-channels || ~/.nix-expr at all?
magnetophon has quit [Ping timeout: 240 seconds]
domogled has quit [Quit: domogled]
<meatcar> specifically I'm pinning nixpkgs to NIX_PATH, but things like `nix-env -q` still rely on a different version of nixpkgs set through nix-channels.
magnetophon has joined #nixos
<nilsirl[m]> Shoubit pbogdan isn't this it https://github.com/NixOS/nixpkgs/pull/77349 ?
<{^_^}> #77349 (by andir, 15 hours ago, merged): [19.09] firefox: 72.0 -> 72.0.1
magnetophon has left #nixos [#nixos]
<pbogdan> right, doesn't mean it's in a channel yet
Avaq has quit [Quit: Leaving.]
<gchristensen> I think it is released to 19.09-small, but that channel doesn't wait for firefox to build, so it may not be precompiled
<sphalerite> it's definitely available with binaries on nixos-unstable-small
sigmundv_ has quit [Ping timeout: 240 seconds]
<scheming_around> Is <nixpkgs> a special module defined by the nix language?
Naptra has quit [Quit: Leaving]
<Henson> scheming_around: I think looks in the NIX_PATH environment variable for "nixpkgs" and loads whatever that points to.
<simpson> Surprisingly, no. Any name within <> is defined in the Nix path environment variable. Check your $NIX_PATH to see where it points to.
<Shoubit> ^, which means you can e.g. have <unstable> and the like if you add the channel under that alias.
<scheming_around> Hmm, my NIX_PATH does not have nixpkgs defined
<LnL> NIX_PATH entries can either be name=/path or /path, for the second case <foo> will resolve to /path/foo (if that exists)
<scheming_around> Hmm, don't have a /path/nixpkgs entry either
<scheming_around> This is my NIX_PATH: darwin-config=~/.nixpkgs/darwin-configuration.nix /nix/var/nix/profiles/per-user/root/channels ~/.nix-defexpr/channels
<LnL> this will show you wat it resolves to: nix-instantiate --find-file nixpkgs
<scheming_around> Aha, the nixpkgs channels was set under the root user
<ryantm> inferencerules_: What clever said, and you change lines like <nixos-hardware/lenovo/thinkpad/x1/6th-gen> to nixos-hardware. You probably need to do something like: (nixos-hardware + "/lenovo/thinkpad/x1/6th-gen")
<LnL> that's the default with a daemon install IIRC
rleppink has quit [Ping timeout: 265 seconds]
sigmundv_ has joined #nixos
sigmundv_ is now known as sigmundv
sigmundv is now known as 18VAAI52J
ng0_ is now known as ng0
18VAAI52J has quit [Quit: Leaving]
sigmundv_ has joined #nixos
chagra_ has quit [Ping timeout: 268 seconds]
philr has quit [Ping timeout: 258 seconds]
chimay has quit [Quit: WeeChat 2.7]
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
werner291 has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #77371 → matrix-synapse: 1.7.3 -> 1.8.0 → https://git.io/JvvqA
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/Jvv3d
chagra_ has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #77158 → nixos/mysql: restart systemd service on abort → https://git.io/JejH6
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jvv3p
brightone has joined #nixos
Chiliparrot has joined #nixos
kraem has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @curiousleo opened pull request #77380 → lorri: unstable-2019-10-30 -> unstable-2020-01-09 → https://git.io/JvvsG
<{^_^}> [nixpkgs] @fpletz pushed commit from @Ma27 to release-19.09 « matrix-synapse: 1.7.3 -> 1.8.0 »: https://git.io/Jvvsl
judson has joined #nixos
civodul has joined #nixos
<Raito_Bezarius> Now that SHA1 is being more and more unsafe (if not completely unsafe), is there any plan in the Nix(OS) ecosystem to move away from it? (any issue/docs/RFC)
cmacrae has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @filalex77 opened pull request #77381 → alacritty: 0.4.0 -> 0.4.1 → https://git.io/Jvvsa
<{^_^}> #77238 (by grahamc, 2 days ago, open): Get rid of sha1 for fixed-output derivations in nixpkgs
smolck has joined #nixos
sigmundv_ has quit [Ping timeout: 268 seconds]
alex`` has quit [Quit: WeeChat 2.7]
alexherbo2 has quit [Remote host closed the connection]
<smolck> If I am installing NixOS, and I mount an already-partitioned /home directory (with data in it), is there any reason running `nixos-install` would delete data from that directory (/mnt/home)?
<simpson> Maybe if you're lustrating, or you mismounted stuff? The typical install doesn't do that, I think. What's gone wrong?
<niso> smolck: i don't think so - however the question implies that you should do a backup.
<Raito_Bezarius> Taneb: thanks
<smolck> simpson: Nothing's gone wrong, I'm just verifying.
<smolck> niso: That's a good point ;) I probably will do a backup, just to be safe.
mexisme has joined #nixos
<smolck> I'm not worried about an accidental `mkfs.ext4` on the wrong partition, I just want to make sure I don't presume `nixos-install` cleans out /home or something.
<smolck> (or that it doesn't, when it does)
<smolck> I figured it did nothing like that, there's no reason for it to do so, I just wanted to verify
<buckley310> how much ram do you need for `boot.tmpOnTmpfs` to not cause build issues generally? just wondering, I don't have it enabled currently.
erasmas has joined #nixos
<buckley310> or does anyone know if boot.tmpOnTmpfs should work with 8GB ram?
<qyliss> depends what you're building
mexisme has quit [Ping timeout: 260 seconds]
kenshinCH has quit [Ping timeout: 258 seconds]
<buckley310> just a regularish desktop config on the unstable channel
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs has joined #nixos
<buckley310> i guess the answer is try it and see if it breaks lol
smolck has quit [Remote host closed the connection]
<makefu> buckley310: i never hady any issues with my /tmp running anywhere near full with tmpOnTmpfs. it may be possible that you run enormous builds on your computer which may live in /tmp for the time
<LinuxHackerman> yeah you don't want to build firefox on tmpfs for example
<buckley310> dont want to build firefox at all o.o
<cransom> i had hydra building AMI images (being 2-4g) and a couple concurrent builds would fail on a 16g machine with tmponTmpfs
<buckley310> oh yeah, if i ever build an iso that would be in tmp :\
chloekek has quit [Quit: WeeChat 2.6]
<buckley310> well thanks. maybe ill try it and see how far i get. as long as a regular system rebuild doesnt cause issues it can always be disabled again.
<amanjeev> Whats the way to check the linux kernel version currently in use? I have not changed anything and I am running NixOS 19.09
<buckley310> amanjeev `uname -a`
<amanjeev> thanks!
<{^_^}> [nix] @yorickvP opened pull request #3307 → builtins.fromJSON: use nlohmann/json parser instead of custom parser → https://git.io/JvvGL
<amanjeev> Is there a roadmap to move to kernel 5?
<cransom> buckley310: at worst, you may have a build failure. it's possible that a retry would succeed since it's filling less /tmp, but not a big loss.
<qyliss> No roadmap, because there's not much to be done
<Taneb> amanjeev: when there's a longterm support version
<buckley310> amanjeev by default? because you can manually enable kernel 5 today
<Taneb> (latest longterm support is 4.19)
takeda has joined #nixos
<qyliss> Yeah, we're just waiting for upstream, and then it'll be a switch over.
<{^_^}> [nixpkgs] @flokli merged pull request #77373 → firefox-bin: 72.0 -> 72.0.1 [security] CVE-2019-17026 → https://git.io/JvvmI
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JvvGm
<{^_^}> [nixpkgs] @flokli merged pull request #77374 → firefox-bin: 72.0 -> 72.0.1 [security] CVE-2019-17026 [19.09] → https://git.io/Jvvmn
<{^_^}> [nixpkgs] @flokli pushed 2 commits to release-19.09: https://git.io/JvvGY
<amanjeev> Thanks you! Forgive me for my ignorance: What is upstream in NixOS' case?
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to release-19.09: https://git.io/JvvG3
<qyliss> Upstream in this case is the kernel
chagra_ has quit [Ping timeout: 240 seconds]
civodul has quit [Ping timeout: 248 seconds]
<amanjeev> Oh! So a stable kernel version would then initiate an update in NixOS. Is my understanding correct? I am not sure how linux kernel does these releases.
<qyliss> No, there are already stable 5.x kernels
<qyliss> Look at https://www.kernel.org/
<qyliss> The default kernel in NixOS is the latest "longterm" kernel
<amanjeev> Understood! Thank you so much!
<qyliss> If you want the latest stable kernel, set boot.kernelPackages = linuxPackages_latest
<amanjeev> Found https://nixos.wiki/wiki/Linux_kernel This is great!
endformationage has joined #nixos
<amanjeev> One more question, this is about packages: when do packages make it to stable from unstable generally? Is each package on its own timeline? Zulip chat is unstable right now.
<multun> amanjeev: at some point, a given version of unstable becomes the new stable
<adisbladis> Where "some point" is twice a year
<amanjeev> :) <3
magnetophon has joined #nixos
<amanjeev> I guess '03' is March
magnetophon has quit [Client Quit]
<adisbladis> amanjeev: 03 is march indeed
<adisbladis> But usually we're a bit late so say april :)
<adisbladis> amanjeev: Btw, you can mix channels, so you can run stable but pull only zulip from unstable
<amanjeev> BTW, I am absolutely in love with NixOS. Kudos to you all! I am really thinking of creating some packages that I cannot find inthe list right now.
<amanjeev> So cool! I knew about the pinning but I was not sure to live on the edge. However, I am getting using to the idea of functional side and it helps ease my anxiety :)
<multun> amanjeev: adding in new packages is super easy, if you've already done package management on other distros before you'll definitely fall in love with that part too
<multun> (it needs a bit of getting used too though)
<amanjeev> I do not have experience on any other distros.
erasmas_ has joined #nixos
<amanjeev> I will give it shot!
ayerhart has quit [Read error: Connection reset by peer]
wildtrees has joined #nixos
snajko has quit [Remote host closed the connection]
wildtrees has quit [Max SendQ exceeded]
wildtrees has joined #nixos
ThatDocsLady_ has joined #nixos
erasmas has quit [Ping timeout: 268 seconds]
ThatDocsLady has quit [Ping timeout: 248 seconds]
<evanjs> Oof. Looks like nixos-upgrade doesn't check for running `nix-build ... system` processes?
<evanjs> Every few times I manually upgrade, it happens to be around the 6hr mark, which is when I have auto-upgrade scheduled for... I'm assuming that's one of the big factors contributing to these lock-ups :P
wildtrees has quit [Max SendQ exceeded]
wildtrees has joined #nixos
chagra_ has joined #nixos
johnw has joined #nixos
srid has joined #nixos
<srid> nix just hangs when trying to fetch anything from channels. known issue?
dansho has joined #nixos
brightone has quit [Quit: brightone]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Infinisil merged pull request #76857 → Apply `disabledModules` recursively → https://git.io/JexQV
<{^_^}> [nixpkgs] @Infinisil pushed 5 commits to master: https://git.io/JvvZU
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/f2b2cad9272 (from 74 minutes ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
knupfer has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #77342 → tor: 0.4.1.6 -> 0.4.2.5 → https://git.io/Jve5R
<{^_^}> [nixpkgs] @joachifm pushed 3 commits to master: https://git.io/JvvZt
<{^_^}> [nixpkgs] @joachifm merged pull request #77340 → tor-browser-bundle-bin: 9.0.2 -> 9.0.3 → https://git.io/Jve54
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/JvvZO
Tucky has quit [Ping timeout: 265 seconds]
lsix has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @fpletz merged pull request #77381 → alacritty: 0.4.0 -> 0.4.1 → https://git.io/Jvvsa
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JvvZG
<srid> n/m - a broken cache was interrupting progress
civodul has joined #nixos
WhatisRT has quit [Remote host closed the connection]
domogled has joined #nixos
WhatisRT has joined #nixos
dsx has quit [Quit: dsx]
<worldofpeace> amanjeev++
<{^_^}> amanjeev's karma got increased to 1
evanjs has quit [Ping timeout: 258 seconds]
<worldofpeace> amanjeev: nixos devs are overjoyed to hear you're overjoyed 💖
<amanjeev> awwwww love you all, worldofpeace <3
<adisbladis> <3 all around :)
o1lo01ol_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<worldofpeace> yay 😊 this is going in the "For the love of NixOS" collage. and yes, there's for sure enough praise for that to be a successful project
evanjs has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #68191 → bayescan: init at 2.1 → https://git.io/fjj0D
<{^_^}> [nixpkgs] @veprbl pushed commit from @bzizou to master « bayescan: init at 2.1 (#68191) »: https://git.io/JvvZr
<{^_^}> [nixpkgs] @flokli merged pull request #77167 → ceph: 14.2.4 -> 14.2.5 → https://git.io/Jej5b
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JvvZK
dsx has joined #nixos
chloekek has joined #nixos
judson_ has joined #nixos
dm9 has quit [Quit: WeeChat 2.7]
ixxie has quit [Ping timeout: 265 seconds]
lsix1 has quit [Ping timeout: 248 seconds]
rogue_koder has quit [Ping timeout: 240 seconds]
dsx has quit [Quit: dsx]
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos
vidbina_ has joined #nixos
civodul has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #77382 → azure-cli: 2.0.78 -> 2.0.79 → https://git.io/JvvZQ
<wildtrees> ok, so I am using nix on an ubuntu on windows, I made a ~/.nixpkgs/config.nix , how do I deploy it , run it , or apply it?
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<qyliss> I think config.nix is just read every time Nixpkgs is evaluated
<qyliss> So I don't think you need to do anything with it other than create it
<wildtrees> so say I update it, how do I apply it so it installs the new packages I want?
judson__ has joined #nixos
<qyliss> You're listing packages in config.nix?
timstott has quit [Ping timeout: 268 seconds]
<qyliss> config.nix is really for configuring Nixpkgs, not installing packages
judson_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @mmilata opened pull request #77383 → nixos/loolwsd: init - LibreOffice/Collabora Online → https://git.io/JvvnT
kraem has quit [Quit: outta here]
eoli3n_ has joined #nixos
<aminechikhaoui> Hello, is facetimehd kernel module broken for everybody using NixOS on Macs ?
<aminechikhaoui> I see an error report starting with
<aminechikhaoui> facetimehd 0000:04:00.0: Direct firmware load for facetimehd/1871_01XX.dat failed with error -2
<{^_^}> [nixpkgs] @erikarvstedt opened pull request #77384 → opentimestamps-client: 0.6.0 -> 0.7.0 → https://git.io/Jvvnt
<aminechikhaoui> and the kernel version in my case is 5.4.8
<wildtrees> ok if config.nix isn't for installing packages in a nix install, where should I put package installs, configuration.nix was recommended to me, but I am not on nixos, and a find for it showed up empty handed, where should I manage user level package installs instead of using nix-env?
<symphorien> ,declarative
<{^_^}> There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile https://git.io/fp0aU ; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen1 has joined #nixos
<{^_^}> [nixpkgs] @jonringer closed pull request #77184 → python27Packages.azure-mgmt-iotcentral: 1.0.0 -> 2.0.0 → https://git.io/JejNJ
<{^_^}> [nixpkgs] @jonringer merged pull request #77382 → azure-cli: 2.0.78 -> 2.0.79 → https://git.io/JvvZQ
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JvvnO
vidbina_ has quit [Ping timeout: 260 seconds]
dingenskirchen1 is now known as dingenskirchen
<wildtrees> so I am going with this, how do I run the overlay for the first time, to get nix-rebuild command from it?
<wildtrees> or how do I just execute overlays
mexisme has joined #nixos
vidbina_ has joined #nixos
Jackneill has quit [Remote host closed the connection]
FRidh has quit [Quit: Konversation terminated!]
mexisme has quit [Ping timeout: 248 seconds]
<chrisaw> Has anyone managed to get ffmpeg using NVENC / NVDEC encoding/decoding? If I try and transcode a video with ffmpeg-full it complains about missing libcuda.so.1
burningserenity has joined #nixos
zebrag has joined #nixos
<Yaniel> hmm, I seem to have misplaced my vulkan library
<Yaniel> vkcube works but vulkaninfo segfaults with "ac_rtld error: !ehdr" "ELF error: Request error: not an ELF file"
inkbottle has quit [Ping timeout: 268 seconds]
<rycee> wildtrees: I haven't followed your previous discussions but to get the Nix tools to use overlays (for your user) it's easiest to stick them in files and place them in `~/.config/nixpkgs/overlays`.
<{^_^}> [nixpkgs] @jonringer opened pull request #77385 → python3Packages.pandas: fix tests → https://git.io/JvvnD
<wildtrees> yea I have an overlay there, it seems to provide a nix-rebuild command, how do I get it to run for the first time to provide the reloading/rebuild command ?
waleee-cl has joined #nixos
drakonis has joined #nixos
MinceR_ has joined #nixos
smatting has quit [Ping timeout: 260 seconds]
MinceR has quit [Ping timeout: 268 seconds]
gxt has quit [Ping timeout: 240 seconds]
Chiliparrot has joined #nixos
ThatDocsLady_ has quit [Ping timeout: 258 seconds]
<jared-w> wildtrees: you'll want to set NIX_PATH manually when calling nix-rebuild
<jared-w> (I think)
werner291 has quit [Read error: Connection reset by peer]
<Yaniel> hmm interesting, erasing ~/.cache/radv_builtin_shadercache* made vulkaninfo work again
werner291 has joined #nixos
<wildtrees> just read somehwhere I am not suppose to set nix_path for overlays :-/ , seems the curl install from the gist and the gist I was linked to are different!
apeyroux has quit [Ping timeout: 265 seconds]
<jared-w> What I've done before is echoing $NIX_PATH and then adding :nixpkgs-overlays=/path/to/overlays/dir and running NIX_PATH=blabla nixos-rebuild switch
cjay- has quit [Quit: Reconnecting]
cjay- has joined #nixos
cjay- has quit [Client Quit]
<jared-w> wildtrees: it's definitely hacky and you shouldn't set it 99% of the time, but if you need to reference a different nixPath before running nixos-rebuild (which updates nix path) then that's kinda your only option afaik
cjay- has joined #nixos
mexisme has joined #nixos
domogled has quit [Quit: domogled]
<wildtrees> nix-rebuild is a script provided via the overlay I am using, not nixos-rebuild, i am using nix on ubuntu on windows, not nixos
cjay- has quit [Client Quit]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2603d15a4d2 (from 66 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/caad1a78c47 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
cjay- has joined #nixos
<jared-w> For reference, the reason I've done that is I have done this before: https://nixos.wiki/wiki/Overlays (which has a "system wide overlay" thing). Convenient, and lets things like 'nix search' see any overlays I have system wide
<jared-w> but if you set that overlay and then later want to change the directory, it'll fail the first nixos-rebuild because of issues bootstrapping nix-path
<jared-w> wildtrees: idk if you'd need to do that with `nix-rebuild`; I'm guessing it's just the "morally equivalent thing to nixos-rebuild but for non nixos systems"
mexisme has quit [Ping timeout: 260 seconds]
lovesegfault has joined #nixos
judson_ has joined #nixos
UndefinedIsNotAF has joined #nixos
chagra_ has quit [Ping timeout: 265 seconds]
judson__ has quit [Ping timeout: 268 seconds]
o1lo01ol_ has quit [Ping timeout: 240 seconds]
dsx has joined #nixos
judson__ has joined #nixos
judson_ has quit [Read error: Connection reset by peer]
<azazel> manveru: ayt? I'm going to release an Elixir/Phoenix app and I'm looking if there's something that will simplify the work
inferencerules has joined #nixos
Guest92090 has quit [Ping timeout: 268 seconds]
<azazel> manveru: I'm looking at your mixnix project... but it has a "fixes" branch with newer stuff?
inferencerules has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
Guest92090 has joined #nixos
Guest92090 has quit [Read error: Connection reset by peer]
inferencerules has joined #nixos
<azazel> or manveru[m] ?
inferenc1rules has joined #nixos
kenjis has joined #nixos
castilma has joined #nixos
tgunb has joined #nixos
tgunb is now known as castilma-m
Guest92090 has joined #nixos
gxt has joined #nixos
castilma has left #nixos [#nixos]
castilma-m has quit [Client Quit]
mexisme has joined #nixos
chagra_ has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.7]
alex`` has joined #nixos
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #77385 → python3Packages.pandas: fix tests → https://git.io/JvvnD
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.pandas: fix tests »: https://git.io/JvvCB
lovesegfault has joined #nixos
<lovesegfault> Has anyone seen this before: ln: failed to create symbolic link '/nix/store/wvvdwc09b2hk8dp6jhacz9g97s378z4r-user-units/gnome-session-failed.service': File exists
<lovesegfault> I can't enable services.xserver.desktopManager.gnome3
lovesegfault has quit [Client Quit]
erictapen has joined #nixos
<inferencerules> is there a way to see where options are defined? i'm getting an error that `The option `__ignoreNulls' defined in `/etc/nixos/configuration.nix' does not exist.` and it's in one of my imports somewhere
<inferencerules> specifically my fetchFromGitHub imports
<tilpner> inferencerules: Yes, import your system with nix repl, check the .options attribute of the result
srid has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @jonringer opened pull request #77386 → python2Packages.ihatemoney: fix python2 test deps → https://git.io/JvvCQ
vidbina_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #77387 → obexfs: add missing bluez dep → https://git.io/JvvWU
mehlon has joined #nixos
<inferencerules> tilpner: that seems promising, but I get `error: cannot auto-call a function that has an argument without a default value ('pkgs')`; which maybe makes sense considering i'm trying to override the pkgs default here.
cjay- is now known as cjay
cjay is now known as cjay-
kenjis has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer closed pull request #73870 → python3Packages.tensorflow-tensorboard: add wheel as runtime dep → https://git.io/Je6DY
inferencerules has quit [Quit: leaving]
inferenc1rules has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer closed pull request #72039 → pythonPackages.pycurl: disable flakey memory tests → https://git.io/JvvWC
<{^_^}> [nixpkgs] @jonringer closed pull request #67656 → yle-dl: 2.31 -> 20190614 → https://git.io/fjxGC
mehlon has quit [Quit: Leaving]
mexisme has quit [Ping timeout: 258 seconds]
<infinisil> inferencerules_: It would be `nix repl '<nixpkgs/nixos>'`
<infinisil> That error looks like you're trying to assign some pkgs.* to something that doesn't take a package
eacameron has joined #nixos
<{^_^}> [nixpkgs] @erictapen opened pull request #77389 → imv: 4.0.1 -> 4.1.0 → https://git.io/JvvW8
gxt has quit [Remote host closed the connection]
<eacameron> Is there still no way to specify sha256 for builtins.fetchGit?
gxt has joined #nixos
<qyliss> buitins.fetchGit { url = ...; sha256 = ...; }, no?
<jared-w> So I may have a similar problem to this soon: https://discourse.nixos.org/t/help-packaging-accessing-license-server-during-build/4108/2 -- anyone have a better solution or is that basically it?
zeta_0 has joined #nixos
kuznero has joined #nixos
<{^_^}> [nixpkgs] @hax404 opened pull request #77390 → tor-browser-bundle-bin: 9.0.2 -> 9.0.3 → https://git.io/JvvWE
<kuznero> Hi all! Where is the KUBECONFIG file is located when services.kubernetes is enabled? I would like to kubectl something with my cluster... ;)
<zeta_0> is it ok to have both a default.nix and shell.nix file when entering a nix-shell? the reason i ask this is because running: `cabal2nix --shell . > default.nix` removed everything in default nix and replaced it with something else, i thought it just adds the small changes you made to your .cabal file?
<kuznero> zeta_0, if I understand correctly shell.nix generated might be referencing default.nix, thus it was overwritten (re-generated).
<zeta_0> so what can I do so that my default.nix file does not get completely overwritten when i run: `cabal2nix --shell . > default.nix` ?
mehlon has joined #nixos
<{^_^}> [nixpkgs] @kamadorueda opened pull request #77391 → pythonPackages.pylint-plugin-utils: init at 0.6 → https://git.io/JvvWK
inferencerules has joined #nixos
<zeta_0> i'm confused?
<qyliss> You're telling the shell to replace default.nix there
<qyliss> That's what > default.nix does
<{^_^}> [nixpkgs] @jonringer merged pull request #74110 → pythonPackages.m3u8: init at 0.5.2 → https://git.io/JePZm
<{^_^}> [nixpkgs] @jonringer pushed commit from @Scriptkiddi to master « pythonPackages.m3u8: init at 0.5.2 »: https://git.io/JvvWX
rogue_koder has joined #nixos
<kuznero> And to answer my own question about how to find kubeconfig: inspect `systemctl status kubelet` and one of the args will be `--kubeconfig` that will reference the right file (or so it seems for now ;) )
<jared-w> zeta_0: using > replaces, using >> appends to the file, although "appending" wouldn't make sense with cabal2nix
<jared-w> you'll want cabal2nix --shell . > shell.nix
<jared-w> Or, what I tend to do is cabal2nix . > name-of-pkg-and-version.nix and then reference that from default/shell as necessary
<qyliss> How do I make a service restart when files in environment.etc are changed?
<jared-w> (to be more specific, I tend to just use cabal2nix internally *inside* the default.nix/shell.nix so I don't actually need the autogenerated file on disk
<jared-w> )
<kuznero> And the final answer: `sudo KUBECONFIG=/etc/kubernetes/cluster-admin.kubeconfig kubectl get nodes -o wide`
<kuznero> Without sudo it cannot access some /var/lib/kubernetes files... strange
<kuznero> I curious if it is possible to add current user to some group to avoid this sudo-hassle...
<{^_^}> [nixpkgs] @erictapen opened pull request #77392 → nixos/waybar: restart service → https://git.io/JvvWb
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
opthomasprime has joined #nixos
<{^_^}> [nixpkgs] @kamadorueda opened pull request #77393 → pythonPackages.pycodestyle: improve tests → https://git.io/JvvWp
opthomasprime has left #nixos [#nixos]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
civodul has joined #nixos
alex`` has quit [Quit: WeeChat 2.7]
<gentauro> kuznero: have you seen the NixOS Meetup group in CPH?
<kuznero> gentauro, unfortunately no
<kuznero> I didn't know there is one, to be frank. Is it thought meetup.com?
mehlon has quit [Quit: Leaving]
<gentauro> kuznero: yeah, it's the people from the Danish Central Library who runs it
<gentauro> they are pretty cool !!!
inferencerules has quit [Ping timeout: 260 seconds]
axyz has joined #nixos
<gentauro> also rycee comes to the Meetups :)
<gentauro> you should def come by next time ;)
<kuznero> I will try to come for sure! Thanks!
<{^_^}> [nixpkgs] @jonringer merged pull request #77386 → python2Packages.ihatemoney: fix python2 test deps → https://git.io/JvvCQ
<{^_^}> [nixpkgs] @jonringer pushed to master « python2Packages.ihatemoney: fix python2 test deps »: https://git.io/Jvvl3
<Ankhers> Has anyone had success using home manager to install firefox with the enableAdobeFlash option? I see that it installed flash, but it doesn't seem enabled in firefox itself.
<{^_^}> [nixpkgs] @jonringer merged pull request #77037 → mupen64plus: 2.5 -> 2.5.9 → https://git.io/Jej4S
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JvvlZ
<gentauro> Ankhers: might be a bug?
<Ankhers> Yeah, I was just wondering if others had any experience with this.
<{^_^}> [nixpkgs] @markuskowa merged pull request #77367 → glow: 0.1.6 -> 0.2.0 → https://git.io/JvvtA
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JvvlC
<{^_^}> [nixpkgs] @jonringer merged pull request #77387 → obexfs: add missing bluez dep → https://git.io/JvvWU
<{^_^}> [nixpkgs] @jonringer pushed to master « obexfs: add missing bluez dep »: https://git.io/JvvlW
mexisme has joined #nixos
<eacameron> qyliss: error: unsupported argument 'sha256' to 'fetchGit'
<{^_^}> [nixpkgs] @markuskowa merged pull request #76939 → nixos/tsocks: Add types to the options → https://git.io/Jep2f
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JvvlB
<qyliss> I guess not
<{^_^}> [nixpkgs] @markuskowa merged pull request #76938 → nixos/gnunet: Add types to the options → https://git.io/Jep2v
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JvvlR
kenjis has joined #nixos
<zeta_0> jared-w: thanks it makes a little bit more sense
<eacameron> is there a way to ask nix to calculate sha256 of a directory so I can at least assert it myself?
MinceR_ is now known as MinceR
<dirkx> When one does an 'import ./foo/bar.nix' -- does nix-build scan the whole NIXPKGS or NIXPATH its npkgs= fields ? Or is that strictly against the CWD ?
domogled has joined #nixos
Church- has quit [Quit: WeeChat info:version]
<gchristensen> NIX_PATH is only used for resolving paths referredto with ` <...>`
<qyliss> It's against the directory of the file the path occurs in, if it's in a file
<{^_^}> [nixpkgs] @markuskowa merged pull request #77132 → kid3: 3.8.0 -> 3.8.1 → https://git.io/JejXy
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Jvvl2
* colemickens is imagining a lovely Nix module that could output server/clients keys for WG and maybe even QR codes for clients automatically.
<dirkx> gchristensen/qyliss thanks. clear. Is there a envar by which I can have an import relative to the root of the current nixpkgs ?
<{^_^}> [nixpkgs] @markuskowa closed pull request #77131 → kodelife: 0.8.7.105 -> 0.8.8.110 → https://git.io/JejP8
Church- has joined #nixos
<gchristensen> sure, dirkx :
<gchristensen> > pkgs.path
<{^_^}> /var/lib/nixbot/nixpkgs/master/repo
<gchristensen> so you can import "${pkgs.path}/whatever..."
<dirkx> gchristensen -- thanks - was messing with <nixpkgs> and not getting it quite right !
<jared-w> Ankhers: You can't automatically enable things in firefox. It's a security measure; you can install it but the actual enabling bit has to be done manually
<jared-w> (should be the same for chrome)
<gchristensen> dirkx: you can also do import <nixpkgs/foobar>
<dirkx> Hm - that becomes a bit cyclic: import "${pkgs.path}/nixos/tests/make-test-python.nix" ({ pkgs, ... }:
<{^_^}> [nixpkgs] @markuskowa merged pull request #74512 → kodelife: 0.8.7.105 -> 0.8.8.110 (+support for more archs) → https://git.io/JeXhe
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JvvlX
axyz has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #77117 → intel-media-sdk: 19.3.1 -> 19.4.0 → https://git.io/JejKL
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Jvvly
axyz has joined #nixos
mehlon has joined #nixos
<gchristensen> dirkx: so it gets a bit weird, but ... make-test-python = yourtestfunction: (import "${pkgs.path}/nixos/tests/make-test-python.nix" yourtestfunction { inherit pkgs; })
<rycee> Ankhers: Are you using the `firefox-esr-52` package?
<zeta_0> so what i normally do is: run cabal init in the root dir of my project, then cp my default.nix file(which contains my pkgs configuration and installation for the project) to that dir, then i run nix-shell to get into the isolated environment with my config, but when i make a change to the .cabal file, then run: `cabal2nix --shell . > default.nix` , it removes everything in the default.nix file and replaces it with o
<zeta_0> ther stuff, i just want have the .cabal changes added?'
lsix1 has joined #nixos
<zeta_0> sorry for the lengthy config summary, i almost got the nix-shell workflow down, there is just a few little things that are still confusing me
<rycee> Hmm, ah perhaps firefox-esr-52 is only needed for the google talk and icedtea plugins.
<rycee> It might be that some special setting is necessary to enable flash?
<dirkx> gchristensen - that took some thinking. thanks ! --- but perhaps I am going around this the wrong way if it gets this hairy :)
<gchristensen> dirkx: nah it is probabl yfine
<Ankhers> jared-w: I don't even see it in the list of plugins to be able to enable it though.
<{^_^}> [nixpkgs] @alyssais opened pull request #77394 → maintainers/create-azure.sh: run from anywhere → https://git.io/Jvvlb
<rycee> Aye, it seems to be disabled by default
<gchristensen> dirkx: make-test-python.nix is a bit of an internal implementation detail of NixOS, so not super trivial to expose -- and it may (but probably won't) change in the future
<{^_^}> [nixpkgs] @markuskowa closed pull request #77087 → gede: 2.14.1 -> 2.15.1 → https://git.io/JejgF
<jared-w> Ankhers: are you looking in `about:plugins`?
<Ankhers> I was not, but it is not listed there either.
<dirkx> So what I am trying to do is create a whole bunch of extra tests in the test dirs -- but I'd like to run them in isolation during testing (as they sometimes talk to crypto hardware) as simple default.nix files which can be ran with a simple 'nix-build' within dockers.
<jared-w> Interesting... Might be related to https://www.fxsitecompat.dev/en-CA/docs/2018/flash-plug-in-support-will-be-removed-in-2020/ depending on the firefox version you're using?
<rycee> Speaking of Firefox, any idea if 72.0.1 is likely to be built soon for 19.09?
<rycee> (I haven't checked Hydra ;-)
<{^_^}> [nixpkgs] @Ma27 pushed to master « bandwhich: 0.7.0 -> 0.8.0 »: https://git.io/Jvv8J
axyz has quit [Ping timeout: 258 seconds]
<rycee> Seems it hasn't…
lovesegfault has joined #nixos
<Ankhers> I'm using 71.
Church- has quit [Quit: WeeChat info:version]
Synthetica has quit [Quit: Connection closed for inactivity]
<rycee> The CVE-2019-17026 issue seems pretty serious so I hope 72.0.1 get build as soon as possible
<{^_^}> [nixpkgs] @alyssais merged pull request #77394 → maintainers/create-azure.sh: run from anywhere → https://git.io/Jvvlb
<{^_^}> [nixpkgs] @alyssais pushed to master « maintainers/create-azure.sh: run from anywhere »: https://git.io/Jvv8k
<zeta_0> jared-w: ok i think i get what you meant about nix-shell, i am going to remove everything and start from scratch again
<Ankhers> rycee: Have you looked into the firefox overlay?
<rycee> Ankhers: No, I've never used it.
dsx has quit [Quit: dsx]
Thra11 has joined #nixos
Church- has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #77085 → geekbench: 5.0.4 -> 5.1.0 → https://git.io/Jejgw
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Jvv8Z
alex`` has joined #nixos
mojjoo has quit [Remote host closed the connection]
<Ankhers> Does anyone have experience using the android NDK on NixOS? I *think* things are not working because the clang binaries provided when I download the NDK through android studio are not patchelf'd.
<Thra11> `nix-shell -p gcc-arm-embedded` puts a native gcc in my path as well as arm-none-eabi-gcc and friends. Is this intentional?
burningserenity has quit [Quit: The Lounge - https://thelounge.chat]
mehlon has quit [Remote host closed the connection]
alexherbo2 has joined #nixos
<samueldr> Thra11: nix-shell always brings in stdenv iirc
Guanin has quit [Quit: Gateway shutdown]
<jared-w> Even if you use --pure, samueldr?
<samueldr> ~ $ nix-shell --pure -p hello --run 'type gcc'
<samueldr> gcc is /nix/store/5w1sbkk3kwahwm25dhgnyd4w6kg4znmf-gcc-wrapper-8.3.0/bin/gcc
chloekek has quit [Ping timeout: 265 seconds]
dsx has joined #nixos
smatting has joined #nixos
<samueldr> it ends up putting the args into a `runCommandCC or runCommand`
<jared-w> sure enough
<samueldr> I wonder if there would be issues in using `runCommandNoCC` with a flag (e.g. --no-cc)
<{^_^}> [nixpkgs] @jonringer merged pull request #77391 → pythonPackages.pylint-plugin-utils: init at 0.6 → https://git.io/JvvWK
<{^_^}> [nixpkgs] @jonringer pushed commit from @kamadorueda to master « pythonPackages.pylint-plugin-utils: init at 0.6 »: https://git.io/Jvv81
<jared-w> I'd guess there's a lot of small things in nix that assume some sort of standard environment since nothing seems to completely get rid of it
<Thra11> samueldr: I see
mehlon has joined #nixos
Church- has quit [Ping timeout: 240 seconds]
<hyper_ch> hmmmmm, rebuilding all ok, but grub fails on boot :(
<zeta_0> is it best to run cabal init `before` you go into a nix-shell or `after` you go into a nix-shell?
<zeta_0> i usually run cabal init before i go into a nix-shell
<zeta_0> ?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #77348 → librecad: fix build → https://git.io/JveFv
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jvv4R
vidbina_ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #77375 → calls: unstable-2019-10-29 -> 0.1.1 → https://git.io/Jvvml
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jvv4u
mkaito has quit [Quit: ZNC 1.7.5 - https://znc.in]
mkaito has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
<zeta_0> ok so how do i reference yesod-render-html.nix from default.nix? here is my default.nix file: https://hastebin.com/ikavezofow.cs
mehlon has quit [Quit: Leaving]
Church- has joined #nixos
<lovesegfault> Does anyone know of a post in a mailing list that some other distro's dev. did about NixOS and in particular their problems with it; I read it a while back and now can't find it
<lovesegfault> IIRC it was a debian dev? They made some good points that I want to revisit
mehlon has joined #nixos
ardumont has quit [Ping timeout: 248 seconds]
alexherbo20 has joined #nixos
alex`` has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @stefano-m opened pull request #77398 → [19.03] Mark various versions of firefox and derivatives as vulnerable → https://git.io/JvvBf
alexherbo2 has quit [Ping timeout: 268 seconds]
alexherbo20 is now known as alexherbo2
jco1 has joined #nixos
<jco1> Hello!
<dminuoso_> lovesegfault: A post in a mailing list? About nixos and in particular problems with it?
<dminuoso_> lovesegfault: Is there any way this question could have been even more vague?
<lovesegfault> dminuoso_: Sorry, I only have a vague memory of it :(
<dminuoso_> It shows.
<dminuoso_> ;)
<dminuoso_> lovesegfault: I think it was on that other mailing list. The one with the mails and the person who responded to that.
<lovesegfault> It was a post by a non-NixOS-person talking, in a mailing list, about NixOS and the problems they saw with it (one of the complaints was paths being hash-name and not name-hash w.r.t. tab-complete)
alex`` has joined #nixos
<dminuoso_> lovesegfault: Bah just use zsh and the tab-complete argument is moot.
<lovesegfault> dminuoso_: I know, I'm not arguing that it isn't; I just want to find the thing ;-;
<jco1> this expression produces an executable, but when I try "result/bin/protonvpn --version"
* lovesegfault searches slack history
<jco1> from docopt import docopt
<jco1> ModuleNotFoundError: No module named 'docopt'
drakonis has quit [Read error: Connection reset by peer]
<jco1> the tool needs this module at runtime?
kuznero has quit [Quit: Leaving]
<adisbladis> nativeBuildInputs -> propagatedBuildInputs
<adisbladis> jco1: Also you dont need python as an explicit input
<adisbladis> Not that it really matters, it's just redundant
<{^_^}> [nixpkgs] @dywedir merged pull request #77389 → imv: 4.0.1 -> 4.1.0 → https://git.io/JvvW8
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JvvBm
ardumont has joined #nixos
<jco1> adisbladis: excellent! propagatedInputs did the trick with python removed
<jco1> adisbladis: propagatedInputs provide the package at runtime?
<adisbladis> jco1: It's not quite that easy ;)
<adisbladis> But for python packages it is.
<adisbladis> propagated inputs are avaliable to dependants too.
WhatisRT has quit [Read error: Connection reset by peer]
WhatisRT has joined #nixos
<jco1> adisbladis: yes, that's what I read too
<jco1> ok :) nice!
<jco1> i'm thinking it might be useful to some. do you think that this is worth putting to nixpkgs?
<eoli3n_> if i want to use nixos for prod server, is there any way to get auto security updates ?
vidbina_ has quit [Ping timeout: 258 seconds]
<adisbladis> jco1: Seems like it :)
<adisbladis> eoli3n_: We don't have a notion of security updates as a separate thing.
<eoli3n_> ok thx adisbladis
<dminuoso_> eoli3n_: "auto security updates" is just a problem of "how do I regularly update my stuff"
<adisbladis> eoli3n_: Run stable/unstable, they both get security updates
<dminuoso_> eoli3n_: nixops is your best friend. :)
<eoli3n_> i need to try nixops yes, next step
<dminuoso_> eoli3n_: it should be your first step.
<dminuoso_> dropping stuff on remote servers is basically asking for nixops.
<eoli3n_> my first was moving from arch to nixos on my desktop
<dminuoso_> there's not much to it, it will just take much work off your hands. :)
<eoli3n_> :)
<adisbladis> dminuoso_: Well, you can do that with `nixos-rebuild` too
<adisbladis> --target-host=some-host
knupfer has quit [Ping timeout: 248 seconds]
<lovesegfault> eoli3n_: Heh, welcome!
<eoli3n_> o/ lovesegfault
dingenskirchen has quit [Quit: dingenskirchen]
<lovesegfault> \o
dingenskirchen1 has joined #nixos
<dminuoso_> adisbladis: Okay Im not familiar with that
<eoli3n_> no need to backup entire system is... great
rauno has quit [Ping timeout: 248 seconds]
<dminuoso_> You still need backups though, most likely.
<eoli3n_> you backup / on nixos ?
<dminuoso_> I run backups, yes, because not everything is stateless in the real world.
kuznero has joined #nixos
<adisbladis> eoli3n_: I usually just backup /var & /home and /etc/nixos (git)
<dminuoso_> We operate databases, mail servers with persisting storage..
<eoli3n_> i forgot /var you're right !
<lovesegfault> I only backup /home on my personal machines
<dminuoso_> home is usually a wild mix of non-declarative mess
<adisbladis> One of the nice things about nixos is that you need to backup a lot less things :)
<lovesegfault> Oh, and /srv/
* infinisil only backs up /var/lib and /home
dingenskirchen1 is now known as dingenskirchen
<lovesegfault> infinisil: Why /var/lib?
<eoli3n_> same question here
<infinisil> That's where the state is for everything afaik
<eoli3n_> /var/lib/docker :)
<{^_^}> [nixpkgs] @vcunat pushed to master « ppp: remove falsifian from meta.maintainers »: https://git.io/JvvBw
felixfoertsch23 has quit [Ping timeout: 268 seconds]
<eoli3n_> hmmm, i would use zfs snapshotting on seperate /Var
rauno has joined #nixos
<lovesegfault> Lately I'm only been using XFS, and I'll be honest I really miss snapshotting
<lovesegfault> I do rsync backups now, like an animal
<kuznero> I am wondering if anyone have dashboard addon running with services.kubernetes in NixOS? Here is the config: https://gitlab.com/kuznero/dotfiles/blob/master/profiles/lenovo/configuration.nix#L258-272
<kuznero> Getting this error: Error while initializing connection to Kubernetes apiserver
jco1 has quit [Ping timeout: 245 seconds]
felixfoertsch has joined #nixos
dejanr has quit [Quit: WeeChat 2.6]
<infinisil> lovesegfault: Hehe, yeah rsync feels like a waste of CPU when you know about zfs snapshotting
<{^_^}> [nixpkgs] @vcunat pushed to release-19.09 « ppp: remove falsifian from meta.maintainers »: https://git.io/JvvBo
philr has joined #nixos
vld has quit [Ping timeout: 258 seconds]
jumper149 has joined #nixos
kenjis has quit [Ping timeout: 248 seconds]
<lovesegfault> infinisil: Yes, I hate it
<lovesegfault> I feel like a barbarian
<{^_^}> [nixpkgs] @worldofpeace closed pull request #65023 → Python fix 9 broken packages → https://git.io/fj11B
<adisbladis> Ugh
<adisbladis> XFS :/
<adisbladis> I recently had a nasty corruption on xfs
<lovesegfault> adisbladis: :O
<adisbladis> 0b files all over the place
<lovesegfault> XFS has been rock solid so far
<adisbladis> lovesegfault: Power went out mid write
<lovesegfault> ooph
<dminuoso_> lovesegfault: Haha regarding rsync.
<dminuoso_> lovesegfault: We have some netapp storages, and we had that 10TiB storage we needed to migrate from one netapp cluster to another...
<dminuoso_> Because of the sheer volume of files, rsync was estimated to have taken about 3-4 hours
<lovesegfault> Jesus
<dminuoso_> The netapp provided sync feature had it done in about 10 minutes or so.
<lovesegfault> :O
<lovesegfault> That's pretty awesome
<dminuoso_> Well the feature works on block level I guess
shibboleth has joined #nixos
<dminuoso_> So we were bound by disk I/O I think?
<dminuoso_> It was certainly not the network.
kuznero has quit [Quit: Leaving]
<infinisil> With my work-in-progress deployment tool for NixOS systems, I'm just adding support for secrets
<infinisil> Is there something you're missing from other deployment tools in regards to that you'd like to see?
chagra_ has quit [Ping timeout: 268 seconds]
<infinisil> Or just in general, what kind of things secrets should support
<hyper_ch> what kind of secrets? :)
<infinisil> Well things you don't want to be world-readable, keys, passwords, tokens
<infinisil> Which are needed at runtime
<hyper_ch> well, I'm off to bed, gotta get up in 5 1/2h again
Jackneill has joined #nixos
<evanjs> infinisil: ahhhh is this similar to the gpg -> nix generator you mentioned before?
<zeta_0> is this how i would reference a yesod-render-html.nix file to default.nix? cabal2nix_pkg = import ./yesod-render-html.nix;
<evanjs> the missing bit from your public config
<infinisil> evanjs: Ah not entirely, but that's something that could be built into it
<zeta_0> i think it is close, but the syntax is probably off?
<infinisil> evanjs: My current prototype lets you declare `secrets.foo.file = ./path/to/secret`, and refer to that from any machine, in which case the secrets is made available on the machine
<evanjs> ooooo
<evanjs> this is nixoses, I'm assuming?
<zeta_0> here is my default.nix file: https://hastebin.com/dehowepebi.cs
<infinisil> evanjs: Yup :)
<infinisil> I think I'll add support for persistent/non-persistent secrets and also do some systemd service fiddling like nixops does
<lovesegfault> I have an Aarch64 builder configured on my RPi3; can I make nix just _always_ use the remote builder instead of building locally?
<lovesegfault> right now it tries to distribute it, but the rpi is so slow that just does more damage than good
<zeta_0> could you guys paste a link that shows how to reference/import one nix file into another? i am not sure about the syntax, so having some examples to look at would be nice
<{^_^}> [nix] @trusktr opened pull request #3308 → Add a link to official channels in the Channels chapter. → https://git.io/JvvRZ
<evanjs> Definitely interested. Was talking to a coworker the other day on how we might deploy if we switched our product to use NixOS, but as it stands, NixOps doesn't currently support vmware directly and blah.
<evanjs> Always happy to see more tools related to deployment so it's not so difficult to bridge some of these gaps eventually
chagra_ has joined #nixos
<infinisil> I guess I'll orient myself on nixops issues regarding secrets, e.g. nixops#671 and nixops#675
<{^_^}> https://github.com/NixOS/nixops/issues/671 (by mbrgm, 2 years ago, open): Upload all deployment keys at once
<{^_^}> https://github.com/NixOS/nixops/issues/675 (by mbrgm, 2 years ago, open): Deployment keys may no longer be deterministic when using `destDir` option
<zeta_0> lovesegfault: so in ../path/ means start from this directory? also what does the ../../path/ mean?
lsix1 has quit [Quit: WeeChat 2.6]
<zeta_0> nix's syntax is sometimes seems strange
<lovesegfault> zeta_0: I'm importing the nix file at the _relative path_ ../foo
<lovesegfault> relative to the file in question, doing the imports
Jackneill has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @iv-nn opened pull request #77399 → vimPlugins.defx-git: init at 2019-12-25 → https://git.io/JvvRl
<{^_^}> [nixpkgs] @markuskowa merged pull request #77038 → fldigi: 4.1.08 -> 4.1.08.51 → https://git.io/JejBl
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to staging: https://git.io/JvvR8
<{^_^}> [nixpkgs] @iv-nn opened pull request #77400 → vimPlugins.defx-icons: init at 2019-11-03 → https://git.io/JvvRB
<{^_^}> [nixpkgs] @iv-nn opened pull request #77401 → vimPlugins.pear-tree: init at 2019-12-08 → https://git.io/JvvR0
<{^_^}> [nixpkgs] @iv-nn opened pull request #77402 → vimPlugins.vim-endwise: init at 2019-11-13 → https://git.io/JvvR2
<zeta_0> lovesegfault: so does this look correct? the imports attribute is at the top of the default.nix file? https://hastebin.com/pujohacuvi.cs
<zeta_0> [zeta@nixos:/yesod-render-html]$ ls -a
<zeta_0> .. default.nix Setup.hs yesod-render-html.nix
<zeta_0> . CHANGELOG.md Main.hs yesod-render-html.cabal
<{^_^}> [nixpkgs] @iv-nn opened pull request #77403 → vimPlugins.vim-dadbod: init at 2020-01-02 → https://git.io/JvvRa
<lovesegfault> zeta_0: Hmm, I think `imports` can't go in a let...in block
<{^_^}> [nixpkgs] @ericdallo opened pull request #77404 → clojure-lsp: 20200106T233511 -> 20200109T185134 → https://git.io/JvvRw
<lovesegfault> if it's a simple thing you need to import you might want a dumb `import` like this: https://github.com/lovesegfault/nix-config/blob/eafe4204011761d73544538fa015fe82b0e84a43/home/modules/arcanist.nix#L3
eoli3n_ has quit [Quit: WeeChat 2.7]
fenedor has joined #nixos
<zeta_0> lovesegfault: well in nix-shell i want to use cabal2nix to write to it: `cabal2nix --shell . > yesod-render-html.nix` then add yesod-render-html.nix as a reference in default.nix
oida has joined #nixos
Thra11 has quit [Quit: WeeChat 2.7]
<zeta_0> lovesegfault: so i need to use the `token` attribute instead to import yesod-render-html.nix?
<{^_^}> [nixpkgs] @veprbl merged pull request #68767 → SDL2_mixer: add opusfile dependency for opus support → https://git.io/JvvR1
<{^_^}> [nixpkgs] @veprbl pushed commit from @lambda-11235 to master « SDL2_mixer: add opusfile dependency for opus support (#68767) »: https://git.io/JvvRM
<lovesegfault> zeta_0: token isn't an attribute, it' just a variable with whatever was in that file
<lovesegfault> in this case that token file it imports is just a '' token '' string
fendor has quit [Ping timeout: 265 seconds]
<evanjs> is `cp completions $out/share/zsh/site-functions` (and bash equivalent, etc) the best way to copy over completion commands? Or is there something a bit more succinct?
<zeta_0> lovesegfault: oh so i can name the variable whatever i want then: https://hastebin.com/owovujefij.cs
<tokudan> how long does the channel update take after hydra has successfully finished a jobset?
<zeta_0> lovesegfault: did you mean something like this? ^
<lovesegfault> zeta_0: Yeah, but you're missing the arguments its import ./foo {}
<lovesegfault> The {} is important (empty attr set as the arg to the function that takes 2 args)
<zeta_0> lovesegfault: https://hastebin.com/otasukibeg.cs
waleee-cl has quit [Quit: Connection closed for inactivity]
<zeta_0> lovesegfault: so does it look correct now?
<lovesegfault> zeta_0: It's hard to say without seeing yesod...nix but looks fine, yeah
<samueldr> tokudan: -small should follow suit quickly, but the whole eval needs to be "finished" to be built, either successfully or not before it updates
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<tokudan> samueldr, https://hydra.nixos.org/job/nixos/release-19.09-small/tested#tabs-status should just be finished, but howoldis and status.nixos.org don't show it yet
is_null has joined #nixos
<samueldr> I think it can take up to ~30 minute
<tokudan> ah, ok
<samueldr> it's a cron job
<samueldr> (well, systemd timer :))
<tokudan> that explains it, going to use my local copy of nixpkgs for the rebuild then :)
<tokudan> thanks samueldr :)
justanotheruser has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/caad1a78c47 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<zeta_0> lovesegfault: no errors were thrown when i ran `cabal2nix --shell . > yesod-render-html.nix` and the both the nix files look correct, so i think that i am good to go
<zeta_0> lovesegfault: thanks for the help
<zeta_0> lovesegfault++
<{^_^}> lovesegfault's karma got increased to 9
gustavderdrache has quit [Quit: Leaving.]
<zeta_0> rycee: just curious does home-manager have good support for darcs, i was thinking of maybe it instead of git down the road?
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/7fa2160f730 (from 54 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<adisbladis> zeta_0: Why would home-manager itself need support for darcs?
<rycee> zeta_0: There is no module at the moment for configuring Darcs, if that's what you mean.
turona has joined #nixos
<zeta_0> adisbladis: i think i asked the question wrong, i can't seem to find a darcs option in the manual: https://rycee.gitlab.io/home-manager/options.html#opt-programs.command-not-found.dbPath
<zeta_0> rycee: yes, that's what i meant
<{^_^}> [nixpkgs] @danielfullmer opened pull request #77405 → nixos/zerotierone: prevent systemd from changing MAC address → https://git.io/JvvEO
<rycee> zeta_0: Yeah, unfortunately there are no such options. You'll have to create a module yourself :-)
WhatisRT has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer merged pull request #77400 → vimPlugins.defx-icons: init at 2019-11-03 → https://git.io/JvvRB
<{^_^}> [nixpkgs] @jonringer pushed commit from @iv-nn to master « vimPlugins.defx-icons: init at 2019-11-03 »: https://git.io/JvvE6
<{^_^}> [nixpkgs] @jonringer merged pull request #77401 → vimPlugins.pear-tree: init at 2019-12-08 → https://git.io/JvvR0
<{^_^}> [nixpkgs] @jonringer pushed commit from @iv-nn to master « vimPlugins.pear-tree: init at 2019-12-08 »: https://git.io/JvvES
jco has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #77402 → vimPlugins.vim-endwise: init at 2019-11-13 → https://git.io/JvvR2
<{^_^}> [nixpkgs] @jonringer pushed commit from @iv-nn to master « vimPlugins.vim-endwise: init at 2019-11-13 »: https://git.io/JvvEQ
<lovesegfault> zeta_0: Glad to help!
philr has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #77403 → vimPlugins.vim-dadbod: init at 2020-01-02 → https://git.io/JvvRa
<{^_^}> [nixpkgs] @jonringer pushed commit from @iv-nn to master « vimPlugins.vim-dadbod: init at 2020-01-02 »: https://git.io/JvvEA
lovesegfault has quit [Quit: WeeChat 2.7]
lovesegfault has joined #nixos
karetsu has quit [Quit: WeeChat 2.6]
smatting has quit [Ping timeout: 268 seconds]
obadz has quit [Ping timeout: 258 seconds]
pxc has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
is_null has quit [Ping timeout: 240 seconds]
gxt has quit [Remote host closed the connection]
vidbina_ has joined #nixos
gxt has joined #nixos
obadz has joined #nixos
m0rphism has quit [Ping timeout: 268 seconds]
leotaku has quit [Quit: ZNC 1.7.4 - https://znc.in]
leotaku has joined #nixos
erictapen has quit [Ping timeout: 265 seconds]
o1lo01ol1o has joined #nixos
jgeerds has quit [Ping timeout: 260 seconds]
vidbina_ has quit [Ping timeout: 260 seconds]
ericsagnes has quit [Ping timeout: 240 seconds]
fenedor has quit [Read error: Connection reset by peer]
cosimone has quit [Ping timeout: 248 seconds]
cosimone_ has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #77406 → nodejs-10_x: 10.18.0 -> 10.18.1 → https://git.io/Jvvzt
is_null has joined #nixos
vld has joined #nixos
cosimone_ is now known as cosimone
cosimone has quit [Quit: Quit.]
<lovesegfault> What's the format for /etc/nix/machines?
bvdw has quit [Read error: Connection reset by peer]
justanotheruser has joined #nixos
<lovesegfault> lovesegfault@foobox aarch64-linux /root/fookey 64 1 big-parallel
bvdw has joined #nixos
<lovesegfault> USER@ADDR ARCH KEYPATH MAXJOBS ??? FEATURES
<lovesegfault> i.e. what's the ???
is_null has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #76962 → pythonPackages.colormath: init at 3.0.0 → https://git.io/Jep1r
<{^_^}> [nixpkgs] @jonringer pushed commit from @JonathanReeve to master « pythonPackages.colormath: init at 3.0.0 »: https://git.io/JvvzZ
<lovesegfault> Is that the speedFactor?
<lovesegfault> What does it do?
erasmas_ has quit [Quit: leaving]
vld has quit [Ping timeout: 265 seconds]