worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
toppler has joined #nixos
ts3 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @xrelkd opened pull request #72203 → youtube-dl: 2019.10.22 -> 2019.10.29 → https://git.io/Jeual
drakonis has joined #nixos
snicket has quit [Ping timeout: 276 seconds]
ts3 has joined #nixos
CMCDragonkai has quit [Quit: Connection closed for inactivity]
kvda has joined #nixos
<thoughtpolice> Does anyone know if there's a way to start a NixOS VM test with external bridge networking enabled? It would be nice to reuse the infrastructure for things that need to actually talk to 3rd party APIs, etc
<thoughtpolice> I'm sure someone has wanted this but my searches for it are futile
lassulus has quit [Ping timeout: 265 seconds]
tv has quit [Ping timeout: 265 seconds]
tilpner has quit [Ping timeout: 265 seconds]
ts3 has quit [Ping timeout: 276 seconds]
<drakonis> nixpkgs nearly at 200k commits now, just 379 commits to go
aaa_ has quit [Ping timeout: 268 seconds]
ts3 has joined #nixos
<drakonis> who's our lucky winner
doyougnu has joined #nixos
tilpner has joined #nixos
mexisme has joined #nixos
tv has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 245 seconds]
mbrgm_ is now known as mbrgm
sondr3 has quit [Quit: WeeChat 2.6]
halfbit has quit [Ping timeout: 265 seconds]
lassulus has joined #nixos
wildtrees has quit [Quit: Leaving]
<zeta_0> pikajude: thanks, and what about the [] ?
ts4 has joined #nixos
ts3 has quit [Ping timeout: 276 seconds]
multun has quit [Ping timeout: 240 seconds]
soju has quit [Remote host closed the connection]
j4m3s__ has quit [Ping timeout: 265 seconds]
kyren has quit [Quit: ZNC 1.7.4 - https://znc.in]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
<{^_^}> [nixpkgs] @Shados opened pull request #72204 → pythonPackages.isort: Add explicit setuptools dep and bin test → https://git.io/JeuaS
kyren has joined #nixos
Neo-- has joined #nixos
ts4 has quit [Ping timeout: 246 seconds]
ts4 has joined #nixos
fendor has quit [Read error: Connection reset by peer]
wewerrr has joined #nixos
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
ts4 has quit [Ping timeout: 246 seconds]
wewerrr has quit [Ping timeout: 240 seconds]
ts4 has joined #nixos
palo has quit [Ping timeout: 245 seconds]
ts4 has quit [Ping timeout: 252 seconds]
ts4 has joined #nixos
palo has joined #nixos
pi3r has joined #nixos
drakonis_ has quit [Ping timeout: 264 seconds]
ts4 has quit [Ping timeout: 276 seconds]
ts4 has joined #nixos
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 3 commits to nixpkgs-19.09-darwin: https://git.io/Jeuaj
<{^_^}> [nixpkgs] @worldofpeace pushed 5 commits to master: https://git.io/JeuVv
<{^_^}> [nixpkgs] @thoughtpolice pushed 5 commits to nixpkgs/firecracker-update: https://git.io/JeuVf
Shouou has quit [Quit: Leaving]
toppler has quit [Ping timeout: 268 seconds]
MmeQuignon has quit [Ping timeout: 265 seconds]
doyougnu has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @thoughtpolice pushed 0 commits to nixpkgs/firecracker-update: https://git.io/JeuVU
ts4 has quit [Ping timeout: 276 seconds]
ts4 has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/742f0ffa7d5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> [nixpkgs] @thoughtpolice opened pull request #72205 → firecracker: update, aarch64 support → https://git.io/JeuVk
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71614 → deepin.dde-kwin: init at 5.0.0 → https://git.io/JeR2a
<{^_^}> [nixpkgs] @worldofpeace pushed 6 commits to master: https://git.io/JeuVI
pi3r has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @thoughtpolice opened pull request #72206 → nats: update versions, rename gnatsd, add libnats → https://git.io/JeuVL
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ts4 has quit [Ping timeout: 276 seconds]
ts4 has joined #nixos
toppler has joined #nixos
wewerrr has joined #nixos
kvda has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « vte: remove duplicated gnome3 argument »: https://git.io/JeuVY
Rusty1 has joined #nixos
ts4 has quit [Ping timeout: 245 seconds]
<tdeo> discord-canary has been broken on 19.09 for a bit over two weeks now, anyone around to merge #70979?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/70979 (by tadeokondrak, 2 weeks ago, open): discord-canary: 0.0.96 -> 0.0.97 (backport)
m0rphism has quit [Ping timeout: 268 seconds]
kvda has quit [Client Quit]
captn3m0 has quit [Ping timeout: 268 seconds]
kvda has joined #nixos
captn3m0- has joined #nixos
kvda has quit [Client Quit]
rople has joined #nixos
kvda has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #72197 → NixOS/auto-upgrade: add gzip to service path → https://git.io/JeuzG
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-19.09: https://git.io/JeuVC
ts4 has joined #nixos
Neo-- has quit [Ping timeout: 245 seconds]
ts4 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @eadwu opened pull request #72207 → vivaldi: fix patched paths → https://git.io/JeuVE
ts4 has joined #nixos
ris has quit [Ping timeout: 258 seconds]
<aria> is there a way to see why a process exists on the system?
<aria> we are using networkmanager but dhcpcd is running and we haven't turned it on in configuration.nix
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 14 commits to nixos-unstable-small: https://git.io/JeuVz
ts4 has quit [Ping timeout: 276 seconds]
ts4 has joined #nixos
<DigitalKiwi> i'm going to start keeping track of how many people have problems with dhcpcd
inkbottle has joined #nixos
<DigitalKiwi> aria: you can disable it with networking.dhcpcd.enable = false;
<aria> thanks, ill try that
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54530 → dvc: init at 0.24.3 → https://git.io/fhwOi
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeuVr
<DigitalKiwi> dhcpcd is the new stack
kvda has joined #nixos
<aria> but why is it enabled when i have networkmanager enabled
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/064ccfd19b6 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<DigitalKiwi> well, other than i haven't seen any sycophants coming to defend it
<aria> in what situation would you want both
<DigitalKiwi> it's on by default (and i think has been for a while?) but it used to get along with networkmanager and now it doesn't
<DigitalKiwi> *shrug*
<DigitalKiwi> i have a bunch of gists from earlier with errors i was getting related to it and a ton of other things ;_;
neildaemond has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/JeuVK
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #72205 → firecracker: update, aarch64 support → https://git.io/JeuVk
ts4 has quit [Ping timeout: 276 seconds]
kvda has quit [Client Quit]
ts4 has joined #nixos
vonfry has joined #nixos
abathur has joined #nixos
jgt1 has quit [Ping timeout: 276 seconds]
jgt1 has joined #nixos
<aria> yeah that fixed it lol
ts4 has quit [Ping timeout: 276 seconds]
jb55 has quit [Quit: jb55]
ts4 has joined #nixos
Neo-- has joined #nixos
mexisme has quit [Ping timeout: 268 seconds]
wewerrr has quit [Ping timeout: 268 seconds]
wewerrr has joined #nixos
<DigitalKiwi> \o/
ts4 has quit [Ping timeout: 245 seconds]
jgt1 has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #72208 → Vscode extensions → https://git.io/JeuV1
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeuVM
<{^_^}> [nixpkgs] @Ekleog merged pull request #71464 → gir-rs: init at 2019-10-16 → https://git.io/JeBAB
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/JeuVD
ts4 has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
ts4 has quit [Ping timeout: 264 seconds]
ts4 has joined #nixos
toppler has joined #nixos
ts4 has quit [Ping timeout: 264 seconds]
ts4 has joined #nixos
<{^_^}> [nixpkgs] @artemist opened pull request #72209 → melonDS: init at 0.8.3 → https://git.io/JeuV5
kvda has joined #nixos
kvda has quit [Client Quit]
kvda has joined #nixos
ts4 has quit [Ping timeout: 264 seconds]
ts4 has joined #nixos
ts4 has quit [Ping timeout: 252 seconds]
Neo-- has quit [Ping timeout: 245 seconds]
ts4 has joined #nixos
CMCDragonkai has joined #nixos
<CMCDragonkai> A question: is there a way to run `nix-build` but only run the tests, not actually produce the `$out`?
<CMCDragonkai> Could be useful for CI/CD systems
snicket has joined #nixos
penguwin has quit [Quit: NO CARRIER]
jluttine has quit [Ping timeout: 246 seconds]
ts4 has quit [Ping timeout: 252 seconds]
ts4 has joined #nixos
<pikajude> so, just checkPhase but not installPhase?
<pikajude> you could override the derivation and make installPhase be "true" or something
<pikajude> not sure how much that would help, i think installPhase rarely takes a significant amount of time compared to build and test
ts4 has quit [Ping timeout: 276 seconds]
ts4 has joined #nixos
<{^_^}> [nixpkgs] @urkud opened pull request #72210 → emacs-cmake-mode: do not run `configure` → https://git.io/JeuwU
inkbottle has quit [Ping timeout: 246 seconds]
jonringer has joined #nixos
ts4 has quit [Ping timeout: 250 seconds]
silver has quit [Read error: Connection reset by peer]
inkbottle has joined #nixos
ts4 has joined #nixos
laudecay has joined #nixos
jluttine has joined #nixos
captn3m0- has quit [Ping timeout: 265 seconds]
ts4 has quit [Ping timeout: 250 seconds]
orivej has joined #nixos
ts4 has joined #nixos
jluttine has quit [Ping timeout: 268 seconds]
toppler has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @c0bw3b to nixos-19.03 « perlPackages.Po4a: fix build »: https://git.io/JeuBl
ts4 has quit [Ping timeout: 246 seconds]
ts4 has joined #nixos
eraserhd has quit [Quit: WeeChat 2.6]
eraserhd has joined #nixos
jluttine has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/b6cfdceb7f9 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
ts4 has quit [Ping timeout: 276 seconds]
toppler has joined #nixos
ts1 has joined #nixos
snicket has quit [Read error: Connection reset by peer]
jluttine has quit [Ping timeout: 240 seconds]
captn3m0 has joined #nixos
<laudecay> is nixos usable as like a desktop env
<laudecay> i assume steam is not gonna be an option but like. a torrent client. email. webserver. irc. something i3-adjacent
ts1 has quit [Ping timeout: 264 seconds]
ts1 has joined #nixos
<DigitalKiwi> steam is available
<DigitalKiwi> as is everythng else you mentioned
<DigitalKiwi> there's a wiki page on steam too
<laudecay> are you /serious/
<laudecay> i heard that like.... messy multiple-project fuckton-of-languages development is nice on there
<DigitalKiwi> and there's one about znc for irc bouncer and there's one for nginx and probably apache and there are a few things for mail servers and nixcloud...
<DigitalKiwi> i have kde and xmonad and claws-mail there are i3 users here
ts1 has quit [Ping timeout: 276 seconds]
<DigitalKiwi> you can search for packages here https://nixos.org/nixos/packages.html?channel=nixos-19.09
ts1 has joined #nixos
<DigitalKiwi> nixcloud i think has a mail server as part of it and there's also this https://gitlab.com/simple-nixos-mailserver/nixos-mailserver
mexisme has joined #nixos
<DigitalKiwi> if you can think of it there's a good chance it's available and if it's not welll...you can help make it available :)
captn3m0 has quit [Ping timeout: 240 seconds]
jluttine has joined #nixos
ts1 has quit [Ping timeout: 250 seconds]
<notgne2> laudecay: in my experience it has more packages than most other repos
ts1 has joined #nixos
<notgne2> for desktop usage at least
<DigitalKiwi> well
<laudecay> eek
<DigitalKiwi> having every single haskell package pads the numbers a bit
<laudecay> oh shit is very nice
<laudecay> lmao
<laudecay> ofc yall are type nerds
<notgne2> I'm not talking about raw package counts, I mean in my personal experience of wanting to install something
<laudecay> me too it's ok i'm writing wireguard's haskell impl
<notgne2> was surprised to find things like minecraft on the repo
<laudecay> wow...
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #72206 → nats: update versions, rename gnatsd, add libnats → https://git.io/JeuVL
<{^_^}> [nixpkgs] @thoughtpolice pushed 3 commits to master: https://git.io/Jeuw0
<notgne2> the only real place I see nix-things lacking greatly, is actually in the totally seperate project named home-manager, which I use instead of dotfiles
<DigitalKiwi> i've added a few znc plugins and bitwarden-desktop and ocrmypdf and submitted multiple PRs for other projects. people here are very responsive and helpful when it comes to helping you help
<laudecay> yeah small projects tend 2 b like that
<laudecay> arch community, haskell community
<laudecay> ig this is like an extreme of that
<DigitalKiwi> i mean there are almost 800 maintainers on the nixos list...
drakonis2 has joined #nixos
<notgne2> I also had to add a few service definitions myself, but then had to delete a lot of my own definitions when I updated to 19.09 cos NixOS added them in
<DigitalKiwi> hehe, on more than one occasion i've started to update or add something and then i go and check open PRs and someone already did it
ts1 has quit [Ping timeout: 250 seconds]
drakonis_ has quit [Ping timeout: 264 seconds]
<drakonis> upstreaming is magic here.
vonfry has quit [Quit: WeeChat 2.6]
ts1 has joined #nixos
<drakonis> we need more people to help go through the issues and PRs
<laudecay> yeah im just
<drakonis> s/need/still need
<laudecay> aaaaa i have so much shit to learn right now
<notgne2> I have a lot of home-manager modules I should make PRs for
<DigitalKiwi> i'm willing and able i'm just not sure a. that i'm qualifed and b. what i can do
<DigitalKiwi> drakonis: ^
<drakonis> we all have to start somewhere
drakonis1 has quit [Ping timeout: 245 seconds]
<drakonis> there's a lot of issues and PRs you can go through and help fix/merge
<DigitalKiwi> i'm usually the one that needs help fixing my PRs :(
<notgne2> I got caught up on learning nix stuff when the place I work needed me to put NixOS inside docker with support for existing service definitions
<notgne2> That was a fun learning experience
marusich has quit [Remote host closed the connection]
<notgne2> And since then I've just done stuff like make every application be auto-base16 and work through deprecating my many old old dotfiles
<notgne2> (I now have 1 file left to replace)
<laudecay> god i have to learn to reverse binaries and get my OSCP and contribute to wireguard and do work work stuff and read marx and practice cello and implement libc and aaaAAAAAAA
<laudecay> ill be back. soon. when there is less on my plate.
<drakonis> it is always nice to admit it
ts1 has quit [Ping timeout: 245 seconds]
<drakonis> i'm definitely in the "i'm certain i'm inadequate and unqualified"
<drakonis> boat
<DigitalKiwi> oh so i have a question: i can't stand plesk/cpanel/etc. and there are things like whmcs and other $random codecanyon etc. php scripts that i sometimes have to deal with... is there any way i can improve my life when i have to use those things that won't run on anything but rpm or deb distros?
<laudecay> oh i dont know if im adequate or qualified but i could def put time towards learning
<drakonis> have you run a container?
marusich has joined #nixos
<drakonis> it is definitely a decent way to get around these distro specific packages
ts1 has joined #nixos
<DigitalKiwi> i've not had a lot or good experience with containers
<drakonis> you have a environment similar to that of the target distro
<drakonis> i run debian on a container for specific software
<DigitalKiwi> mostly i deal with digital ocean vps with centos or nixos
<drakonis> java requires a specific change due to debian people being weird
<drakonis> rpm family likes selinx it seems?
<drakonis> selinux
<DigitalKiwi> yea
<drakonis> not always perfect but fixable
<DigitalKiwi> well at least centos
<DigitalKiwi> a lot of things make you disable it anyway :|
selfsymmetric-mu has joined #nixos
<DigitalKiwi> of course it's php apps that do
xd1le has joined #nixos
<DigitalKiwi> what do you use for container? and does it work with nixops?
ts1 has quit [Ping timeout: 250 seconds]
ts1 has joined #nixos
* DigitalKiwi is reminded that the only things that work with the latest nixops (when i last checked) right now seems to be aws and hetzner
<{^_^}> [nixpkgs] @artemist opened pull request #72211 → pythonPackages.html2text: Downgrade for old Python versions → https://git.io/Jeuw6
<drakonis> i run other distributions on the container, rather than nixos
<drakonis> for doing tasks that target other distributions
fusion809 has joined #nixos
leo__ has quit [Quit: leaving]
ts1 has quit [Ping timeout: 276 seconds]
<DigitalKiwi> err i mean like do you use docker or k8s or virtualbox or iirc nixos has some sort of container?
ts1 has joined #nixos
FreshcollegeGirl has joined #nixos
<DigitalKiwi> oh nixos containers are only nixos inside nixos
marcusr has joined #nixos
ts1 has quit [Ping timeout: 246 seconds]
toppler has quit [Ping timeout: 246 seconds]
ts1 has joined #nixos
snicket has joined #nixos
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
wewerrr has quit [Ping timeout: 276 seconds]
wewerrr has joined #nixos
ts1 has quit [Ping timeout: 245 seconds]
ts1 has joined #nixos
toppler has joined #nixos
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 264 seconds]
abathur has quit [Ping timeout: 268 seconds]
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cptchaos83 has joined #nixos
ts1 has quit [Ping timeout: 246 seconds]
ts1 has joined #nixos
<DigitalKiwi> drakonis: do you have recommendations or guides about what/how to use for containers?
laudecay has quit [Ping timeout: 252 seconds]
wewerrr has quit [Ping timeout: 265 seconds]
wewerrr has joined #nixos
ts1 has quit [Ping timeout: 246 seconds]
ts1 has joined #nixos
<xd1le> hmm I'm not really sure why the CI failed on #72209
<{^_^}> https://github.com/NixOS/nixpkgs/pull/72209 (by artemist, 1 hour ago, open): melonDS: init at 0.8.3
<xd1le> it failed after a change I suggested, to use ${pname} in src attribute
LoneThistle has joined #nixos
ts1 has quit [Ping timeout: 246 seconds]
<xd1le> oh it needs rec
ts1 has joined #nixos
<lopsided98> xd1le: also, there is no need to use string interpolation, it can just be "repo = pname;"
snicket has quit [Ping timeout: 265 seconds]
<disasm> this is an interesting warning because it still manages to work (and my derivation requires ssh'ing into a separate host and getting something back in IFD): warning: ignoring the user-specified setting 'allow-unsafe-native-code-during-evaluation', because it is a restricted setting and you are not a trusted user
ts1 has quit [Ping timeout: 245 seconds]
<xd1le> lopsided98: indeed, ty!
laalf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
ts1 has joined #nixos
laalf has joined #nixos
<CMCDragonkai> pikajude: yea something like that, but more "switchable" on the command line
wucke13 has quit [Quit: ZNC 1.7.4 - https://znc.in]
mumuluxi has quit [Quit: ZNC 1.7.4 - https://znc.in]
andi- has quit [Remote host closed the connection]
qubasa has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
greizgh has quit [Quit: greizgh]
mumuluxi has joined #nixos
wewerrr has quit [Ping timeout: 240 seconds]
greizgh has joined #nixos
wucke13 has joined #nixos
laudecay has joined #nixos
wewerrr has joined #nixos
qubasa has joined #nixos
<DigitalKiwi> i think there's a way to run each stage manually maybe you could write a script that does the ones you want?
ts1 has quit [Ping timeout: 276 seconds]
<CMCDragonkai> `nix-build --check-only`
ts1 has joined #nixos
andi- has joined #nixos
ts1 has quit [Ping timeout: 245 seconds]
ts1 has joined #nixos
maralorn has quit [Quit: WeeChat 2.6]
maralorn has joined #nixos
<DigitalKiwi> i think you could make that work easily with something like this (there are probably other ways too i don't know how they compare to it) https://gist.github.com/Kiwi/ad860df1e68b6fb72195fd24bbf6ee66
<DigitalKiwi> replace --upgrade with --check-only and nixos-rebuild with nix-build and nix-channel --update with whatever the manual comands are
ts1 has quit [Ping timeout: 264 seconds]
ts1 has joined #nixos
domogled has joined #nixos
jlmeeker has joined #nixos
monotux has quit [Quit: WeeChat 2.6]
freeman42x has quit [Ping timeout: 245 seconds]
monotux has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
ts1 has quit [Ping timeout: 250 seconds]
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
ts1 has joined #nixos
domogled has quit [Quit: domogled]
ts1 has quit [Ping timeout: 264 seconds]
mexisme has quit [Ping timeout: 240 seconds]
ts1 has joined #nixos
jlmeeker has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
ts1 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #72211 → pythonPackages.html2text: Downgrade for old Python versions → https://git.io/Jeuw6
<{^_^}> [nixpkgs] @jonringer pushed commit from @artemist to master « pythonPackages.html2text: freeze at 2018.1.9 »: https://git.io/Jeurv
ts1 has joined #nixos
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
ts1 has quit [Ping timeout: 264 seconds]
ts1 has joined #nixos
ts1 has quit [Ping timeout: 246 seconds]
ts1 has joined #nixos
wewerrr has quit [Ping timeout: 268 seconds]
ts1 has quit [Ping timeout: 246 seconds]
<wedens[m]> how do I solve linker errors when doing musl builds (haskell) "(.text+0x10a): undefined reference to `SSL_CTX_new'"? I have static openssl listed in `--ghc-option=-optl=-L`
wewerrr has joined #nixos
ts1 has joined #nixos
<wedens[m]> it's probably related to postgresql-libpq dependencies
ts1 has quit [Ping timeout: 276 seconds]
ts1 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
ts1 has quit [Ping timeout: 246 seconds]
domogled has joined #nixos
ts1 has joined #nixos
<{^_^}> [nixpkgs] @lightbulbjim opened pull request #72212 → openrct2: 0.2.3 -> 0.2.4 → https://git.io/JeurO
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixpkgs-19.09-darwin: https://git.io/JeuVC
Rusty1 has quit [Quit: Konversation terminated!]
ts1 has quit [Ping timeout: 264 seconds]
ts1 has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/63cdd9bd317 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<drakonis> DigitalKiwi: lxc/lxd, systemd-nspawn, docker/podman
ts1 has quit [Ping timeout: 264 seconds]
drakonis has quit [Quit: WeeChat 2.6]
ts1 has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
snicket has joined #nixos
ts1 has quit [Ping timeout: 276 seconds]
ts1 has joined #nixos
captn3m0 has joined #nixos
mexisme has joined #nixos
ts1 has quit [Ping timeout: 245 seconds]
toppler has joined #nixos
mexisme has quit [Ping timeout: 240 seconds]
ts1 has joined #nixos
Ariakenom has joined #nixos
ts1 has quit [Ping timeout: 245 seconds]
ts1 has joined #nixos
Guest84 has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 22 commits to nixos-unstable-small: https://git.io/JeurP
ddellacosta has quit [Ping timeout: 245 seconds]
snicket has quit [Read error: Connection reset by peer]
ts1 has quit [Ping timeout: 245 seconds]
ts1 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8fc1bd6ec35 (from 65 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ts1 has quit [Ping timeout: 276 seconds]
ts1 has joined #nixos
ts1 has quit [Ping timeout: 250 seconds]
domogled has quit [Quit: domogled]
ts1 has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @jonringer opened pull request #72213 → python3Packages.html2text: fix build → https://git.io/Jeur9
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
growpotkin has joined #nixos
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
kvda has joined #nixos
felixfoertsch has joined #nixos
ts1 has quit [Ping timeout: 250 seconds]
ts1 has joined #nixos
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
lord| has joined #nixos
ts1 has quit [Ping timeout: 250 seconds]
ts1 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #72213 → python3Packages.html2text: fix build → https://git.io/Jeur9
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.html2text: fix build »: https://git.io/Jeuof
lord| has quit [Ping timeout: 240 seconds]
lord| has joined #nixos
ts1 has quit [Ping timeout: 250 seconds]
ts1 has joined #nixos
ts1 has quit [Ping timeout: 264 seconds]
toppler has quit [Ping timeout: 276 seconds]
Ariakenom has quit [Quit: Leaving]
ts1 has joined #nixos
worldofpeace_ has joined #nixos
ts1 has quit [Ping timeout: 246 seconds]
ts1 has joined #nixos
wewerrr has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #72204 → pythonPackages.isort: Add explicit setuptools dep and bin test → https://git.io/JeuaS
<{^_^}> [nixpkgs] @jonringer pushed commit from @Shados to master « pythonPackages.isort: Add explicit setuptools dep and bin test »: https://git.io/JeuoL
rotaerk has quit [Ping timeout: 240 seconds]
ts1 has quit [Ping timeout: 252 seconds]
ts1 has joined #nixos
<{^_^}> [nixpkgs] @tekeri opened pull request #72214 → perl5.28.2-Crypt-ECB: init at 2.21 → https://git.io/Jeuoq
captn3m0 has quit [Ping timeout: 240 seconds]
ts1 has quit [Ping timeout: 246 seconds]
ts1 has joined #nixos
mexisme has joined #nixos
ts1 has quit [Ping timeout: 276 seconds]
ts2 has joined #nixos
wewerrr has joined #nixos
ts2 has quit [Ping timeout: 252 seconds]
ts2 has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #72215 → python3Packages.minio: fix dependencies → https://git.io/JeuoG
snicket has joined #nixos
captn3m0 has joined #nixos
Ariakenom has joined #nixos
ts2 has quit [Ping timeout: 264 seconds]
laudecay has quit [Ping timeout: 268 seconds]
ts2 has joined #nixos
wewerrr has quit [Ping timeout: 276 seconds]
wewerrr has joined #nixos
laudecay has joined #nixos
ts2 has quit [Ping timeout: 276 seconds]
ts2 has joined #nixos
captn3m0 has quit [Ping timeout: 240 seconds]
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
ts2 has quit [Ping timeout: 264 seconds]
ts2 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #72181 → mariadb-connector-c: fix crypt_libs → https://git.io/Jeu4A
<{^_^}> [nixpkgs] @jonringer pushed commit from @Izorkin to staging « mariadb-connector-c: fix crypt_libs »: https://git.io/Jeuo0
<{^_^}> [nixpkgs] @vbgl opened pull request #72216 → ocamlPackages.checkseum: 0.0.3 → 0.1.1 → https://git.io/JeuoE
ts2 has quit [Ping timeout: 276 seconds]
ts2 has joined #nixos
palo has quit [Ping timeout: 240 seconds]
ts2 has quit [Ping timeout: 246 seconds]
toppler has quit [Ping timeout: 265 seconds]
ts2 has joined #nixos
Acou_Bass has quit [Quit: ZNC 1.7.4 - https://znc.in]
Acou_Bass has joined #nixos
jgt1 has joined #nixos
ts2 has quit [Ping timeout: 246 seconds]
ts2 has joined #nixos
rauno has joined #nixos
toppler has joined #nixos
ts2 has quit [Ping timeout: 276 seconds]
ts2 has joined #nixos
worldofpeace_ has quit [Ping timeout: 240 seconds]
ts2 has quit [Ping timeout: 246 seconds]
ts2 has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #71631 → ocamlPackages.ctypes: 0.13.1 → 0.15.1; ocamlPackages.integers: 0.2.2 → 0.3.0 → https://git.io/JeRoI
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.ctypes: 0.13.1 → 0.15.1 »: https://git.io/JeuoD
ts2 has quit [Ping timeout: 252 seconds]
FreshcollegeGirl has quit [Ping timeout: 240 seconds]
FreshcollegeGirl has joined #nixos
dansho has joined #nixos
ts2 has joined #nixos
wewerrr has quit [Ping timeout: 265 seconds]
wewerrr has joined #nixos
ts2 has quit [Ping timeout: 276 seconds]
ts2 has joined #nixos
noudle has joined #nixos
<colemickens> I'm trying to package gnome-twtich.
<colemickens> It fails to build because there's a custom python script run as the meson post_install step.
ts2 has quit [Ping timeout: 276 seconds]
ts2 has joined #nixos
<colemickens> adding python to (native)buildinputs doesn't seem to be sufficient
ts2 has quit [Ping timeout: 276 seconds]
ts2 has joined #nixos
<{^_^}> [nixpkgs] @colemickens opened pull request #72217 → gnome-twitch: init a unstable-2019-05-20 → https://git.io/Jeuoj
jgt1 has quit [Ping timeout: 246 seconds]
ts2 has quit [Ping timeout: 245 seconds]
wewerrr has quit [Ping timeout: 276 seconds]
wewerrr has joined #nixos
ts2 has joined #nixos
endformationage has quit [Ping timeout: 240 seconds]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
mexisme has quit [Ping timeout: 276 seconds]
drakonis2 has quit [Ping timeout: 240 seconds]
drakonis2 has joined #nixos
drakonis has joined #nixos
ts2 has quit [Ping timeout: 250 seconds]
ts2 has joined #nixos
aw has joined #nixos
spacefrogg has joined #nixos
drakonis2 has quit [Ping timeout: 245 seconds]
aw has quit [Client Quit]
spacefrogg has quit [Client Quit]
ts3 has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
ts2 has quit [Ping timeout: 250 seconds]
bvdw has joined #nixos
toppler has quit [Ping timeout: 245 seconds]
aw has joined #nixos
spacefrogg has joined #nixos
aw has quit [Client Quit]
spacefrogg has quit [Client Quit]
aw has joined #nixos
ts3 has quit [Ping timeout: 250 seconds]
spacefrogg has joined #nixos
laudecay has quit [Ping timeout: 240 seconds]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
hmpffff has joined #nixos
aw has quit [Client Quit]
spacefrogg has quit [Client Quit]
ts3 has joined #nixos
toppler has joined #nixos
laudecay has joined #nixos
aw has joined #nixos
spacefrogg has joined #nixos
<{^_^}> [nixpkgs] @jonasnick opened pull request #72219 → clightning: 0.7.2.1 -> 0.7.3 → https://git.io/JeuKc
rotaerk has joined #nixos
spacefrogg has quit [Client Quit]
aw has quit [Client Quit]
gkmngrgn has joined #nixos
wewerrr has quit [Ping timeout: 246 seconds]
wewerrr has joined #nixos
aw has joined #nixos
spacefrogg has joined #nixos
Jackneill has joined #nixos
sjourdois has quit [Ping timeout: 246 seconds]
<kraem> anyone having troubles building python2.7-fonttools-4.0.2 ? I'm getting "ERROR: Package 'fonttools' requires a different Python: 2.7.17 not in '>=3.6'" while rebuilding
laudecay has quit [Ping timeout: 240 seconds]
<CMCDragonkai> Has something been super improved in booting?
<CMCDragonkai> I just checked the size of my initrds in /boot
<CMCDragonkai> they are now only 12 MiB
mstruebing has joined #nixos
<CMCDragonkai> They used be way larger at 500 MiB
<gchristensen> nice
<CMCDragonkai> And they don't require gunzip
<CMCDragonkai> They are just normal CPIO archive stream
<CMCDragonkai> that can be inspected with `cpio -it <./initrd`
<CMCDragonkai> i only see 1 file in it
<CMCDragonkai> `kernel/x86/microcode/AuthenticAMD.bin`
<CMCDragonkai> that's it
<adamt> If they were ever 500MiB for all by default, my system wouldn't have worked for the last x years. :-)
<CMCDragonkai> no other files in the initrd
<CMCDragonkai> well my initrd before had to have zfs in it
<CMCDragonkai> in order to mount the zfs filesystem for stage e2
<CMCDragonkai> where did all the stuff in the initrd go?
dansho has quit [Ping timeout: 246 seconds]
<CMCDragonkai> and i did check every single initrd i have in /boot/EFI/nixos
<mstruebing> I've installed nix on my arch setup and in my home directory is a broken symlink from `/home/maex/.nix-profile -> /nix/var/nix/profiles/per-user/maex/profile` how do I repair that? How to create that file? I've used the multi user installation with daemon
dansho has joined #nixos
<CMCDragonkai> they are all just 12 MiB, containing only that single file
<mstruebing> the service and socket is running
<CMCDragonkai> for comparison the netboot initrd is 687 MiB
<CMCDragonkai> generated by `nix-build -A netboot.x86_64-linux nixos/release.nix`
<CMCDragonkai> im super confused, where did all the stuff inside initrd before disappear to
<gchristensen> do you have a separate /boot partition?
<CMCDragonkai> nope
<CMCDragonkai> i mean yea, `/boot` is mounted
<CMCDragonkai> only 1 disk
wfranzini has joined #nixos
<CMCDragonkai> i know something has changed significantly, cause i remember i used to have this issue https://github.com/NixOS/nixpkgs/issues/23926 and that's why my boot partition ESP was partitioned to 1GiB to avoid those problems, but now i checked total usage of my boot partition is now under 50 MiB
<{^_^}> #23926 (by joepie91, 2 years ago, open): When /boot is full, system rebuilds fail
<CMCDragonkai> i know something has changed significantly, cause i remember i used to have this issue https://github.com/NixOS/nixpkgs/issues/23926 and that's why my boot partition ESP was partitioned to 1GiB to avoid those problems, but now i checked total usage of my boot partition is now under 50 MiB
<{^_^}> #23926 (by joepie91, 2 years ago, open): When /boot is full, system rebuilds fail
<CMCDragonkai> nowhere near the 1 GiB limit i had to set before
wfranzini has quit [Client Quit]
lsix has joined #nixos
lsix has quit [Client Quit]
<CMCDragonkai> what are you initrd sizes?
__monty__ has joined #nixos
lsix has joined #nixos
jgt1 has joined #nixos
<DigitalKiwi> 15MB
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> 16M
sigmundv has joined #nixos
Chiliparrot has joined #nixos
aaa_ has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #71984 → neomutt: 20180716 -> 2019-10-25 → https://git.io/JeEft
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JeuK5
toppler has quit [Ping timeout: 264 seconds]
<adamt> CMCDragonkai: Mine's 16MB, and my /boot is 500M, which is why I know I haven't had huge initrd's before
eskytthe has joined #nixos
FRidh has joined #nixos
ts3 has quit [Ping timeout: 264 seconds]
gkmngrgn has quit [Quit: WeeChat 2.3]
laudecay has joined #nixos
ts3 has joined #nixos
toppler has joined #nixos
<DigitalKiwi> why are mine 15 and yours 16
buckley310 has quit [Read error: Connection reset by peer]
buckley310 has joined #nixos
vidbina has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #72221 → kmymoney: fix python2 build → https://git.io/JeuKj
ts3 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #72222 → ghostscript: 9.27 -> 9.50 → https://git.io/Jeu6e
<{^_^}> [nixpkgs] @FRidh opened pull request #72223 → python35: 3.5.7 -> 3.5.8 → https://git.io/Jeu6v
<DigitalKiwi> gchristensen: ^
jgt1 has quit [Ping timeout: 250 seconds]
laudecay has quit [Ping timeout: 240 seconds]
jgt1 has joined #nixos
<Guest84> $sudo du -sh /boot 102M/boot```
<{^_^}> [nixpkgs] @FRidh pushed 115 commits to staging-next: https://git.io/Jeu6I
<Guest84> Here's mine. I had it full a few days back.
<Guest84> (So increased to 100mb)
<{^_^}> [nixpkgs] @FRidh pushed 165 commits to staging: https://git.io/Jeu6q
wewerrr has quit [Read error: Connection reset by peer]
ts3 has joined #nixos
Guest84 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh opened pull request #72224 → Staging next → https://git.io/Jeu6m
<{^_^}> [nixpkgs] @jonringer opened pull request #72225 → pythonPackages.worldengine: disable python2 tests → https://git.io/Jeu6O
logzet has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #72226 → python3Packages.snuggs: 1.4.3 -> 1.4.7 → https://git.io/Jeu6s
palo1 has joined #nixos
palo1 is now known as palo
wewerrr has joined #nixos
<{^_^}> [nixpkgs] @saschagrunert opened pull request #72227 → conmon: 2.0.0 -> 2.0.2 → https://git.io/Jeu6C
worldofpeace_ has joined #nixos
mexisme has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to master « python3.pkgs.dogpile_cache: fix build »: https://git.io/Jeu6a
<{^_^}> [nixpkgs] @saschagrunert opened pull request #72228 → buildah: 1.11.3 -> 1.11.4 → https://git.io/Jeu6P
<sphalerite> dminuoso: sorry, wasn't looking anymore when you asked… is it cleared up now, or do you still want an explanation of how the runCommand hack works?
<{^_^}> [nixpkgs] @jonringer opened pull request #72229 → pythonPackages.chardet: fix tests → https://git.io/Jeu6y
<DigitalKiwi> 15 hours later
<sphalerite> What's the right way to get /dev/i2c-* nodes for the i2c devices on my laptop? I figure udev should create them if I tell it to, but how do I do that?
jgt1 has quit [Read error: Connection reset by peer]
<DigitalKiwi> sphalerite: maybe services.i2pd.proto.i2cp.enable ?
<sphalerite> no, that looks pretty much completely unrelated :/
mexisme has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @sikmir opened pull request #72230 → gpxsee: 7.15 -> 7.16 → https://git.io/Jeu6x
ng0 has joined #nixos
<DigitalKiwi> :(
thc202 has joined #nixos
__Sander__ has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #71958 → google-cloud-sdk: 255.0.0 -> 268.0.0 → https://git.io/Je07O
<{^_^}> [nixpkgs] @zimbatm pushed commit from @pradyuman to master « google-cloud-sdk: 255.0.0 -> 268.0.0 (#71958) »: https://git.io/Jeuiq
<{^_^}> [nixpkgs] @jonringer merged pull request #72221 → kmymoney: fix build → https://git.io/JeuKj
toppler has quit [Ping timeout: 240 seconds]
laudecay has joined #nixos
vidbina has quit [Ping timeout: 268 seconds]
nornagon4 has joined #nixos
positronicbrain has joined #nixos
nornagon has quit [Ping timeout: 268 seconds]
fendor has joined #nixos
<positronicbrain> Is anyone familiar with Android studio and gradle on Nixos? I am trying to run a react-native app but I am having troubles
jgt1 has joined #nixos
toppler has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #72223 → python35: 3.5.7 -> 3.5.8 → https://git.io/Jeu6v
<{^_^}> [nixpkgs] @FRidh pushed to master « python35: 3.5.7 -> 3.5.8 »: https://git.io/Jeui2
<{^_^}> #72220 (by PositronicBrain, 1 hour ago, open): Building a react-native Android project fails (gradle)
ts3 has quit [Quit: WeeChat 2.6]
tilpner_ has joined #nixos
tilpner has quit [Ping timeout: 265 seconds]
lukash_|away is now known as lukash_
tilpner_ is now known as tilpner
<{^_^}> [nixpkgs] @FRidh opened pull request #72232 → python3Packages.nototools: make compatible with python3, unblock channel → https://git.io/Jeui1
<{^_^}> [nixpkgs] @jonringer merged pull request #72203 → youtube-dl: 2019.10.22 -> 2019.10.29 → https://git.io/Jeual
<raboof> if I want to use 'basically nixos-unstable', but cherry-pick say 2 packages from other branches that have not been merged yet (but that I hope get merged at some point) - is there a typical setup to achieve that?
<gchristensen> what kind of patches?
<raboof> for example https://github.com/NixOS/nixpkgs/pull/70610 and some other update that I want to test but isn't ready for primetime yet
<{^_^}> #70610 (by raboof, 3 weeks ago, open): Prepare for Notion 4
<FRidh> raboof: as you wrote yourself, just cherry-pick
<DigitalKiwi> I just clone a nixpkgs and checkout the commit that's cached (as per manual) and then cherry-pick and nixos-rebuild with -I nixpkgs=~/nixpkgs
<DigitalKiwi> or possibly nix-review pr
eppa has joined #nixos
<raboof> ok, so I create a third branch that contains all changes I like to test
jgt1 has quit [Ping timeout: 252 seconds]
<sshow> I think I've found a documentation error in nixpkgs manual @ 2.6.1: it states that to run custom envs from ~/.config/nixpkgs/config.nix you run `nix-env -iA nixpkgs.myPackages`, but for me it is `nix-env -iA nixos.myPackages`. Is this an error? In which case, I'd be happy to make a PR
<gchristensen> yeah, start with the branch nixos-unstable and cherry-pick on to it
<DigitalKiwi> it's possible to change the nixpkgs in your config if you want to make it more permanent
<raboof> with that approach, when I want to tweak one of the branches, I have to tweak both the o
fendor has quit [Ping timeout: 276 seconds]
<raboof> 'original' branch and my branch with the cherry-picks - that seems a bit unweildy
<DigitalKiwi> sometimes i forget if i need to rebuild with my git version or not :<
<{^_^}> [nixpkgs] @FRidh pushed to release-19.09 « python35: 3.5.7 -> 3.5.8 »: https://git.io/JeuiH
<raboof> I guess I could write some scripts to re-do the merging/cherry-picking when any of the branches change
<{^_^}> [nixpkgs] @FRidh pushed to release-19.03 « python35: 3.5.7 -> 3.5.8 »: https://git.io/Jeuid
<DigitalKiwi> well yeah it can be tedious that's why you only do it temporarily if you can :)
<eppa> hey all I’m running 19.09 on my laptop here and am wondering how to go about installing Firefox 70? The firefox and firefox-bin derivations on stable all appear to be 69.02
<raboof> DigitalKiwi: sure, that's the goal ofc ;)
<DigitalKiwi> depending on what it is you can add it as a channel
* DigitalKiwi has also done that
JAMES_KHAN has joined #nixos
<DigitalKiwi> i wasn't able to get that to work if it's a module but for a program it was fine...i think
<gchristensen> http://man7.org/linux/man-pages/man1/git-cherry.1.html has some example workflows
<colemickens> eppa it seems like the nixos effort to get firefox 70 into 19.09 was abandoned https://github.com/NixOS/nixpkgs/pull/72126
<{^_^}> #72126 (by andir, 1 day ago, open): [19.09] firefox: mark as insecure and remove myself as maintainer
<gchristensen> colemickens: I don't think that is quite the goal of that PR
JAMES_KHAN has quit [Ping timeout: 260 seconds]
<eppa> oh!
worldofpeace_ has quit [Ping timeout: 268 seconds]
<colemickens> gchristensen: my understanding is that in lieu of completing #71714, firefox will be marked broken in stable and users will be recommended to use firefox-esr or firefox-bin on stable channels ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/71714 (by andir, 6 days ago, open): [19.09] firefox 70 (staging)
<colemickens> but I don't want to spread inaccurate info and I'm sort of reading between lines I guess, since 71714 is still open?
<colemickens> also, I just saw your reply... I think I understand your point.
<FRidh> just posted about this on Discourse as well
<eppa> Well, fair enough? It sounds like the binary version will still be installable, which is fine by me as I need the cursor theme fix that went in a little while ago so I can stop squinting at the mouse pointer on my HiDPI screen
<gchristensen> my understanding is we could build it with the bundled dependencies just fine
<DigitalKiwi> you can put the channel in your config too if you don't want to nix-env -iA it
<DigitalKiwi> note: for all i know this is a really bad idea but it might be fine too idk
<Ariakenom> is it possible to share a nixops state?
<DigitalKiwi> the only problem i had was that particular one also had a module and that wasn't possible to use
Ariakenom is now known as Ariakenom
eppa has quit [Read error: Connection timed out]
eppa has joined #nixos
<aanderse> is the biggest problem that we don't want to update sqlite in master? (re firefox)
<FRidh> aanderse: yes
<FRidh> in this specific case
ThatDocsLady has joined #nixos
<FRidh> but thinking about the future, these situations may happen again
<raboof> DigitalKiwi: interesting, so I'd register my branches as a channels and then get the packages from those branches/channels like https://github.com/NixOS/nixpkgs/issues/41212#issuecomment-392921123 ?
<gchristensen> and what about using the bundled sqlite?
<aanderse> ** we don't want to update sqlite in STABLE
<DigitalKiwi> oh hey if that's what i think it is thank you for finding it!
<FRidh> gchristensen: that's an option, or nix-building a newer sqlite specifically for firefox
<aanderse> we don't need you get all riled up about precedent in this case (IMO) because a) Firefox is one of the most important desktop packages we provide so exceptions are ok, b) in the case of security exceptions are ok
<FRidh> then there's also I think a nss minor update, but I guess that would be fine
<DigitalKiwi> raboof: doing that i think is only necessary if it has something you're supposed to enable or w/e because it's a module . if a regular program that gist should be enough
<gchristensen> right
is_null has joined #nixos
<gchristensen> firefox isn't going to be irresponsible about a sqlite cve
<FRidh> it's not the cve
<FRidh> that one is already dealt with in a separate PR if I am correct
<{^_^}> [nixpkgs] @jonringer opened pull request #72234 → communi: fix build → https://git.io/JeuP1
<{^_^}> [nixpkgs] @1000101 opened pull request #72233 → pdfsam-basic: 4.0.4 -> 4.0.5 → https://git.io/JeuPM
<aanderse> just include the required copy of sqlite into the firefox package (instead of bumping in all-packages.nix) and we're good?
<gchristensen> I know, just saying that in the context of their bundled dependencies are probably fine
<raboof> DigitalKiwi: aah the `channel.packagename` syntax should work in `configuration.nix`?
<FRidh> aanderse: right
<aanderse> even easier, great
<FRidh> aanderse: right
<aanderse> even easier (re: what gchristensen said about bundled versions)
<colemickens> raboof, DigitalKiwi, if you want it in configuration.nix you can just do custompkgs = import "<url or path to nixpkgs>" and then do custompkgs.mypackage in place of where you would normally do mypackage.
<DigitalKiwi> raboof: yeah i do something like this https://gist.github.com/Kiwi/99755b6898000329a60e259427bb62ea and you can put the branch from the gist earlier here the same
<aanderse> exceptionally important packages with serious security concerns should never be used as examples of precedent in regular cases. IMO
<FRidh> aanderse: these kind of issues often don't get much attention until someone decides something and people don't like it
<DigitalKiwi> # nixpkgs-do-agent = import (builtins.fetchTarball "https://github.com/yvt/nixpkgs/archive/init-do-agent-2.tar.gz") {};
<DigitalKiwi> that's what i had...so that might be right
<FRidh> aanderse: the security issue was here with sqlite, for which we now have a patch in 19.09 so we did not have to update it. The newer firefox however seems to require a newer version. This is therefore just a regular update, however, of an important package.
<aanderse> FRidh: ah, ok. i see.
cosimone has joined #nixos
<DigitalKiwi> anyone a link to the sqlite cve/issue/w.e.
<DigitalKiwi> raboof: does that help?
eppa has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @kmcopper4 opened pull request #72236 → [r19.09] [Security] qemu: 4.0.0 -> 4.0.1 → https://git.io/JeuXk
<DigitalKiwi> and what's ESR?
toppler has quit [Ping timeout: 250 seconds]
j4m3s__ has joined #nixos
multun has joined #nixos
<Ariakenom> my virtualbox looks broken. it may be because i changed stateVersion when I shouldnt have? I changed it months ago, should I change it back?
<DigitalKiwi> found the cve i think
<{^_^}> [nixpkgs] @marsam opened pull request #72237 → fluent-bit: 1.0.6 -> 1.3.2 → https://git.io/JeuXY
<DigitalKiwi> oh. Get the Firefox Extended Support Release or Rapid Release browser for comprehensive data security and data protection.
<raboof> DigitalKiwi: yes, this is very helpful to understand things better. just noticed notion is a bit more difficult though, since that's not simply installing a package but enabled by setting `services.xserver.windowManager.notion.enable = true`
laudecay has quit [Ping timeout: 276 seconds]
jgt1 has joined #nixos
<DigitalKiwi> yeah if it's a module there's more to it than what i had :< i think that link you sent earlier might have the method
toppler has joined #nixos
sigmundv has quit [Ping timeout: 265 seconds]
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #72238 → pazi: 0.3.0 -> 0.4.0 → https://git.io/JeuXC
<gjabell> hey all, looking to add some new vim plugins to nixpkgs; anyone know the best way to handle naming collisions?
<DigitalKiwi> example?
<gjabell> wanting to add https://github.com/mattn/calendar-vim, but there is already itchyny/calendar.vim
<gjabell> both end up being named "calendar-vim", which I'm guessing won't work :P
Zer0xp has joined #nixos
<DigitalKiwi> hm
<DigitalKiwi> * nixpkgs.vimPlugins.stylish-haskell (vimplugin-vim-stylish-haskell)
<DigitalKiwi> * nixpkgs.vimPlugins.stylishHaskell (vimplugin-vim-stylish-haskell)
<DigitalKiwi> oh wait that's the same one but alias isn't it
ubert has joined #nixos
<DigitalKiwi> might work still...
<DigitalKiwi> just drop the -
<gjabell> hmm
<DigitalKiwi> my 2 cents
<gjabell> so do I do that in the overrides.nix file then?
<gjabell> bc manually editing the generated.nix won't work since it's autogen
positronicbrain has quit [Remote host closed the connection]
foxmean has joined #nixos
<gjabell> ah no, guess it's in alias.nix (duh)
<DigitalKiwi> i don't think that's right
<gjabell> thinking that still won't work though, since there end up being two packages w/ the same name in generated, so it won't know which to alias
sigmundv has joined #nixos
<DigitalKiwi> i think overrides is right
* DigitalKiwi keeps loooking
<foxmean> hello, I have some question about info file. Is there any methode declaratively to install info file for reading with info (or in info-mode in Emacs)? I'd like to read the sicp with info-mode in Emacs. The file was download from this site: https://www.neilvandyke.org/sicp-texi/ .
<DigitalKiwi> it's been a while since i did a vim-plugin
alexherbo2 has joined #nixos
<DigitalKiwi> gjabell: did you see the section about it in the manual?
<gjabell> DigitalKiwi: I think the problem is still that there will be two plugins with the same name in generated.nix; I could add it only to overrides.nix but then it won't get autoupdated by the script which sort of defeats the purpose
<gjabell> DigitalKiwi: the `Adding new plugins to nixpkgs` section?
<raboof> DigitalKiwi: hmm, should I be able to load `file:///home/aengelen/nixpkgs-diffoscope` with `builtins.fetchurl`? I'm getting `unexpected $end, at /nix/store/7k2glpffikj062rwcxnvmqs3vv4vynk3-nixpkgs-diffoscope:1:1`
<DigitalKiwi> # do not auto-update this one, as the name clashes with vim-snippets
<DigitalKiwi> vim-docbk-snippets = buildVimPluginFrom2Nix {
<gjabell> ah there's a name-clash example in overrides.nix; guess it's alright to not auto-update it then
<gjabell> ^ thanks
sigmundv has quit [Ping timeout: 240 seconds]
boolman has quit [Ping timeout: 264 seconds]
<DigitalKiwi> np
<foxmean> I've installed it with rewrite dir menu in the past when I am in Debian. But now, the dir file seem to be read-only with the files in info directory are all symlinks.
wewerrr has quit [Ping timeout: 240 seconds]
<DigitalKiwi> raboof: i'm not great at nix but i'm pretty sure you don't want to use fetchurl like that?... you can just use the file path
jgt1 has quit [Ping timeout: 250 seconds]
<DigitalKiwi> (and not fetchurl)
barrucadu is now known as BOOrucadu
<raboof> DigitalKiwi: aaah doh. that indeed appears to work. thanks a lot!
<{^_^}> [nixpkgs] @marsam pushed 5 commits to master: https://git.io/JeuXo
<{^_^}> [nixpkgs] @marsam merged pull request #71482 → vscode-extensions: update 2 → https://git.io/JeRvS
wewerrr has joined #nixos
<DigitalKiwi> gjabell: the one you're adding, and, well, it seems like most vim-plugins i've looked at...hasn't been updated in over a year, so it's not the worst thing in the world if it's not auto updated :P
FreshcollegeGirl has quit []
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
FreshcollegeGirl has joined #nixos
<adisbladis> jonge: Re #71684 and linters
<{^_^}> https://github.com/NixOS/nixpkgs/pull/71684 (by tfc, 6 days ago, open): nixos: add python testing support
<gjabell> yeah good point haha
<adisbladis> I'd love it if we could use an auto-formatter
<adisbladis> Also great work!
<adisbladis> I love it
Zer0xp has quit [Quit: Bye!]
work_ has joined #nixos
<DigitalKiwi> but why python
<adisbladis> DigitalKiwi: Because it's easy for a lot of people to hack on tests when it's python?
<adisbladis> Also maps really well to the old perl code
<adisbladis> Let's not bikeshed this
<DigitalKiwi> "easy"
<DigitalKiwi> python is horrible
<sshow> I have a working python package built, that supplies binaries to bin/. Works great with `nix-build mypypackage/default.nix`, but I don't understand how I can include it into environment.systemPackages.
<adisbladis> sshow: I imagine you have a default.nix? Could you pastebin it?
<gchristensen> DigitalKiwi: be kind. a lot of people like python, and it is okay to like python
<DigitalKiwi> see my previous blow up while packaging ocrmypdf to understand how horrible it is ;_;
<{^_^}> [nixpkgs] @raboof opened pull request #72239 → diffoscope: add dependency on python xattr package → https://git.io/JeuX1
* adisbladis has a complicated relationship with python
<adisbladis> But imho, it's 100% the correct choice for this use case.
<adisbladis> Pragmatically speaking
<DigitalKiwi> i mean yeah it's everyone's perrogative to like horrible things. but that doesn't make them good
<gchristensen> DigitalKiwi: I asked you to be nice
<adisbladis> DigitalKiwi: I'm not a fan of this attitude :/
sigmundv has joined #nixos
<DigitalKiwi> pragmaticism has been the cause of so many failures
<adisbladis> DigitalKiwi: If you have actual technical concern try to be constructive
<adisbladis> Not just "this is awful"
<gchristensen> adisbladis++
<{^_^}> adisbladis's karma got increased to 19
<DigitalKiwi> yeah, python is technically horrible, i don't know how this is controversial, but i'll drop it
<gchristensen> good choice
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JeuXD
<{^_^}> [nixpkgs] @lheckemann opened pull request #72240 → wdisplays: init at 2019-10-26-unstable → https://git.io/JeuXy
<{^_^}> [nixpkgs] @Mic92 merged pull request #72231 → qgis: 3.8.2 -> 3.10.0 → https://git.io/JeuXS
foxmean` has joined #nixos
<aanderse> as someone who has to maintain an uncountable number of perl files... i can't possibly understand how anyone would ever not want to approve that PR 😉 lol
wewerrr has quit [Ping timeout: 264 seconds]
<aanderse> to clarify... out of those uncountable number of perl files i wrote zero of them
<sshow> adisbladis: https://pastebin.com/zMfCBDXF
<adisbladis> aanderse: Also did you see the work done by flokli and me on top of that?
<DigitalKiwi> as someone who spent 7 months packaging ocrmypdf because of how horrid python is...the opposite
<aanderse> adisbladis: no, this is the first i have heard of this PR. please link :D
<adisbladis> Using pystemd to natively talk to the dbus system socket inside the vm
wewerrr has joined #nixos
<adisbladis> It's not working yet though :)
<aanderse> adisbladis: so what sort of fun things will you do once you can talk to dbus inside the vm? sounds like high potential
foxmean has quit [Ping timeout: 268 seconds]
<adisbladis> For one we can query things and get structured data :)
<aanderse> well this is exciting
<sshow> adisbladis: Right now, I'm trying to add it to /etc/nixos/configuration.nix by `systemPackages [ import('/home/user/mypackage/default.nix') ]` but I'm doing something wrong
<flokli> aanderse: there's also bugs with not being able to wait for oneshot services with remain after exit=true. I assume this gets better by subscribing to events directly
<aanderse> ah, yeah ok, makes sense
* aanderse still dreams of having a simple web testing framework integrated into nixos tests
<Mic92> adisbladis: mypy would be nice.
<adisbladis> aanderse: Hm? What would that look like?
<gchristensen> adisbladis: thank you for mentioning the technical points part. critique of specifics isn't a problem, of course
<adisbladis> Mic92: yeah, I intend to add that later
<{^_^}> [nixpkgs] @Profpatsch merged pull request #72228 → buildah: 1.11.3 -> 1.11.4 → https://git.io/Jeu6P
<adisbladis> Mic92: But for now I just wanna get the PR through :)
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @saschagrunert to master « buildah: 1.11.3 -> 1.11.4 »: https://git.io/JeuX5
<Mic92> adisbladis: you should also not wait to long to get a first WIP PR out, unless you already have done though.
<aanderse> adisbladis: we have a number of web services (nextcloud, redmine, matomo, etc...) which basically only test that the web site can be hit at an extremely basic level. it would be nice if it was easy to test in a little bit more detail, like "ensure this happens when you click that button"
<aanderse> typical web testing framework stuff
<adisbladis> gchristensen: It's something I've always admired about our community, that we can discuss things on technical merits alone
<aanderse> not that we'd really want/need to do that in depth of testing, but definitely more than what we currently do would fill me with more confidence when some of the tests pass
toppler has quit [Ping timeout: 265 seconds]
<gchristensen> yeah!
<adisbladis> sshow: Gimme a minute, I'll refactor your expression a bit and I'll explain what and why :)
<sshow> adisbladis: so highly appreciated. take your time.
<{^_^}> [nixos-channel-scripts] @grahamc pushed to grahamc-patch-1 « Namespace channel pushes in nixpkgs »: https://git.io/JeuXb
<{^_^}> [nixos-channel-scripts] @grahamc opened pull request #27 → Namespace channel pushes in nixpkgs → https://git.io/JeuXA
<adisbladis> sshow: http://ix.io/207K/nix
<adisbladis> Just a minor refactor, mostly comments explaining how things work :)
wewerrr has quit [Ping timeout: 245 seconds]
<adisbladis> r
<bahamas> I'm configuring my nginx service in NixOS configuration for my Django site. how can I refer to my service inside services.nginx config? I want to create a location that points to the dir that contains static files inside my package
toppler has joined #nixos
<earendil[m]> How do I use a haskell package if it is currently marked as broken? I need to use z3
<niksnut> aanderse: as to why not to approve the PR: because python is not really a better language than perl (in some respects it worse). Also rewrites don't really provide value to users but cause a huge amount of work.
<earendil[m]> the job status at https://hydra.nixos.org/job/nixpkgs/trunk/haskellPackages.z3.x86_64-linux does not seem to indicate a reasonable reason for failure
<bahamas> earendil[m]: you can use a different version that builds
<earendil[m]> What is the best way to do that?
fendor has joined #nixos
foxmean` has quit [Remote host closed the connection]
<Twey> Given a derivation, is there any way I can get the set of all licenses of its transitive dependencies?
<{^_^}> [nixos-channel-scripts] @edolstra merged pull request #27 → Namespace channel pushes in nixpkgs → https://git.io/JeuXA
<{^_^}> [nixos-channel-scripts] @edolstra pushed 2 commits to master: https://git.io/Jeu1J
<Twey> Is there a function in nixpkgs to get the complete set of transitive dependencies for a derivation?
<bahamas> earendil[m]: best I don't know, but have a look here for how to override a dependency https://github.com/Gabriel439/haskell-nix/blob/master/project1/README.md
feep has quit [Ping timeout: 245 seconds]
feep has joined #nixos
<bahamas> Twey: there was something in nix-store, but I don't know if there's an actual function in nix itself
<{^_^}> [nixos-channel-scripts] @edolstra pushed to master « Revert "Namespace channel pushes in nixpkgs" »: https://git.io/Jeu1U
<{^_^}> [nixos-channel-scripts] @edolstra pushed to revert-27-grahamc-patch-1 « Revert "Namespace channel pushes in nixpkgs" »: https://git.io/Jeu1k
<{^_^}> [nixos-channel-scripts] @grahamc pushed 0 commits to grahamc-patch-1: https://git.io/Jeu1T
<Twey> I know I can get all transitive dependencies using nix-store --requisites, and I know how I can get the licence of a derivation from within Nix, but I don't know how to combine those things
<gchristensen> uh oh
cosimone has quit [Quit: Terminated!]
is_null has quit [Ping timeout: 240 seconds]
<bahamas> so, does anyone know how I can refer to a service's config from another service's config? in configuration.nix, I want to use in services.nginx the path from another service
<adamt> bahamas: config.services.foo
<bahamas> adamt: that works. thank you
<adamt> bahamas: Have fun :-)
wewerrr has joined #nixos
<Twey> bahamas: Looks like derivations don't store `meta`
<bahamas> bumped into another issue. how do I reference my service's package? I defined my service the way service.nix is defined here https://vaibhavsagar.com/blog/2019/08/22/industrial-strength-deployments/
<bahamas> Twey: but you said that you know how to get the license of a derivation from within Nix
<Twey> bahamas: I guess the derivation object stores it in Nix, but it's not written out to the `.drv` file?
<Twey> > hello.meta.license
<{^_^}> { fullName = "GNU General Public License v3.0 or later"; shortName = "gpl3Plus"; spdxId = "GPL-3.0-or-later"; url = <CODE>; }
<Twey> But `grep license $(nix-instantiate '<nixpkgs>' -A hello)` yields nothing
<adisbladis> Twey: Because meta is not a part of the instantiated derivation
andymandias has quit [Quit: ZNC 1.7.4 - https://znc.in]
<bahamas> Twey: you might need to parse the nix files yourself unless nix repl can also be called programmatically
wewerrr has quit [Ping timeout: 265 seconds]
<aaa_> Hi, does anybody know how to solve this error when rebuilding the system with 19.09 channel (updated from 19.03): http://dpaste.com/1XRMMXQ
wewerrr has joined #nixos
andymandias has joined #nixos
<Twey> bahamas: The Nix files don't contain the information I need — I guess I have to do it from nixpkgs. Which is okay, I'm just hoping there's a function in nixpkgs to get all the dependencies of a package for me
drakonis_ has joined #nixos
<Twey> Maybe I want to make a derivation with exportReferencesGraph…
snicket has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @gjabell opened pull request #72241 → nixos/vimPlugins: add plugins + update → https://git.io/Jeu1c
hmpffff has quit [Quit: nchrrrr…]
<Twey> Oh, but then I just get the derivations again, from which I can't get licences
<Twey> Hmmm…
<bahamas> Twey: what do you mean that license isn't in the nix file. isn't it in the package.nix of each dependency?
<adisbladis> bahamas: It's not in the drv file
<bahamas> adisbladis: I'm referring to the nix source file
<adisbladis> I know, but I think it's just a slight misunderstanding
<adisbladis> Licenses _are_ in the nix files, but not the drv's
rople has quit [Ping timeout: 265 seconds]
drakonis has quit [Ping timeout: 240 seconds]
<Twey> Right. The licence appears in the *source* of the derivation, but is stripped out during instantiation of that expression into a derivation
<bahamas> yes, that's what Twey said as well. so the only solution I can see is to parse the nix files themselves
<bahamas> or find a way to do programmatically what nix repl does
<aria> my partner updated from 19.03 to 19.09 and now her modded minecraft crashes due to some texture errors
<aria> we think it might be because of the java patch version bump, but i was wondering if anyone knows any better leads to hunt down
<aria> because right now shes busy overriding jdk for the package with the one from 19.03
<infinisil> aria: Well for vanilla there was the recent https://github.com/NixOS/nixpkgs/pull/72050
<{^_^}> #72050 (by jonringer, 2 days ago, merged): minecraft: 2.1.5965 -> 2.1.7658
<aria> nah it was multimc
<aria> and the minecraft version is 1.12.2
cuarte has joined #nixos
<aria> which is 2 versions old (~a year or two)
<Twey> bahamas: Well, it's not that simple… if I can evaluate the source file(s) of each dependency I could get the licence, but also there may be more than one derivation per source file. What I really need is the attribute path within nixpkgs
<Twey> But there's definitely no way to get that from a derivation, which is the only thing I can get transitively (by making a derivation with exportReferencesGraph or similar)
lunik1213 has quit [Quit: :x]
<Twey> (or by using nix-store --requisites)
<bahamas> Twey: why don't you write a Nix function that takes nixpkgs and looks for what you want? then you run that function in nix repl
<Twey> (of course, I can't even get the source file)
drewr has quit [Ping timeout: 250 seconds]
<Twey> bahamas: I guess there's no guarantee that the expression is even exposed? It might be something like: let dep = stdenv.mkDerivation { …; meta.license = …; }; in stdenv.mkDerivation { …; buildPhase = "useDep ${dep};"; }
<Twey> I guess I was kind of expecting this would be as simple as opening `nix repl` and writing `builtins.map (pkg: pkg.license) (lib.getRequisites my-package)`
lunik1213 has joined #nixos
<{^_^}> [nixpkgs] @urkud opened pull request #72243 → emacs-*-rtags: use upstream package names → https://git.io/Jeu14
<tilpner> Twey: You can probably use genericClosure to build a getRequisites
<tilpner> Or search for usage of genericClosure and steal one if it exists
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @FRidh to nixpkgs-19.03-darwin « python35: 3.5.7 -> 3.5.8 »: https://git.io/Jeuid
<bahamas> how does the imports attribute in configuration.nix work? in there I import a file that defines my service. can I access information from that file in **configuration.nix**?
<Twey> This is actually quite interesting behaviour, because:
<Twey> > hello == import hello.drvPath
<aanderse> niksnut: it isn't always about what is better, though. sometimes it is about what is more accessible.
<tilpner> bahamas: Yes, you can use options defined in the imported module from your configuration.nix
<{^_^}> error: syntax error, unexpected '=', at (string):113:10
silver has joined #nixos
<Twey> u wot
<tilpner> ^ infinisil
<Twey> Anyway, in nix repl, hello == import hello.drvPath ⇒ true
<tetdim> hhh
<aanderse> niksnut: that being said... switch to python would be great, but i have to maintain enough perl that personally i don't care too much ;-)
<infinisil> Ah yeah, slight problem, it parses "<identifier> =.*" as an assignment
<Twey> But hello.meta evaluates, but (import hello.drvPath).meta doesn't
<infinisil> > (hello == import hello.drvPath)
<Twey> > (hello == import hello.drvPath)
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/575d2d711aa (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<Twey> I think we overloaded it
<{^_^}> cannot import '/nix/store/lzq1bv4y9zjr75rj7b4lixkf4l3ac0lr-hello-2.10.drv', since path '/nix/store/lzq1bv4y9zjr75rj7b4lixkf4l3ac0lr-hello-2.10.drv' is not valid, at (string):269:11
<{^_^}> cannot import '/nix/store/lzq1bv4y9zjr75rj7b4lixkf4l3ac0lr-hello-2.10.drv', since path '/nix/store/lzq1bv4y9zjr75rj7b4lixkf4l3ac0lr-hello-2.10.drv' is not valid, at (string):269:11
<infinisil> Ah, read-only mode :)
<Twey> Fair
<{^_^}> [nixpkgs] @peterhoeg opened pull request #72244 → documentation: docbook to org [WIP] → https://git.io/Jeu1E
<Twey> Not important, point is that `x: import x.drvPath` is not the identity, even though == thinks it is
<bahamas> tilpner: I'm actually trying to reference the package I use in a service I defined (I want to point nginx to the a dir in my package that contains static files)
<tilpner> bahamas: Sounds possible
<bahamas> tilpner: in my services.nginx set I'm referencing config.services.myservice, but the latter doesn't contain a reference to the package that myservice uses. it only contains `enable` and `port`
<{^_^}> [nixpkgs] @talyz opened pull request #72245 → php: 7.1.32 -> 7.1.33, 7.2.22 -> 7.2.24, 7.3.9 -> 7.3.11 → https://git.io/Jeu12
<{^_^}> [nixpkgs] @FRidh opened pull request #72246 → WIP shadow: replace gnome-doc-utils with itstool → https://git.io/Jeu1a
<tilpner> bahamas: Many services have a .package option
sigmundv has quit [Ping timeout: 245 seconds]
toppler has quit [Ping timeout: 265 seconds]
<tilpner> bahamas: If you add one, you can reference it elsewhere
<bahamas> tilpner: I defined my service the way it's defined in the service.nix file here https://vaibhavsagar.com/blog/2019/08/22/industrial-strength-deployments/
<aaa_> is it possible to run "nixos-rebuild switch", but tell it to not build a specific package, the VirtualBox ?
<bahamas> that is, I simply did cfg = config.services.myservice
<tilpner> bahamas: Then define it differently ._.
<tilpner> bahamas: Here: options.services.blank-me-up.package = lib.mkOption { type = types.package; default = blank-me-up; };
<tilpner> bahamas: You can't (easily) access values in a let-binding if you don't expose them
<jonge[m]> adisbladis i pushed a commit that fixes some `flake8` suggestions, `pylint` reports much more. looks like a good thing
wewerrr has quit [Ping timeout: 252 seconds]
<adisbladis> jonge[m]: <3
<adisbladis> jonge[m]++
<{^_^}> jonge[m]'s karma got increased to 1
<v0|d> is there a way to track dependencies for a derivation? i want to know more about why a pkg is actually a dependency, like tracing back.
<tilpner> v0|d: nix why-depends for the runtime closure
<adisbladis> v0|d: nix why depends
wewerrr has joined #nixos
<bahamas> tilpner: thank you. I was confused about what the imports attribute does as well
<tilpner> v0|d: Search in nix-store --query --tree foo.drv for the build-time closure
<adisbladis> v0|d: Also nix-store has a --graph option
<adisbladis> nix-store --query --graph PATH | dot -Tx11
<adisbladis> I often find that more helpful
<{^_^}> [nixpkgs] @FRidh pushed commit from @wamserma to python-unstable « python3Packages.sphinx: 1.8.3 -> 2.2.0 »: https://git.io/JeuMT
<Ariakenom> im having some authorization issues and noticed that https://nixos.org/nixops/manual does not list AWS_SESSION_TOKEN under environment variables
toppler has joined #nixos
snicket has joined #nixos
sigmundv has joined #nixos
<v0|d> adisbladis: thnx.
symphorien has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 pushed to master « virt-top: 2017-11-18-unstable -> 1.0.9 »: https://git.io/JeuMK
symphorien has joined #nixos
symphorien has quit [Client Quit]
symphorien has joined #nixos
halfbit has joined #nixos
cuarte has left #nixos [#nixos]
<{^_^}> [nixpkgs] @FRidh closed pull request #72222 → ghostscript: 9.27 -> 9.50 → https://git.io/Jeu6e
Thra11 has quit [Ping timeout: 268 seconds]
symphorien has quit [Quit: WeeChat 2.6]
symphorien has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/JeuM7
<{^_^}> [nixpkgs] @FRidh merged pull request #72023 → ghostscript: 9.27 -> 9.50 → https://git.io/JeuM5
symphorien has quit [Client Quit]
symphorien has joined #nixos
<v0|d> does nixos support any alternatives to system 500?
<{^_^}> [nixpkgs] @FRidh pushed commit from @wamserma to python-unstable « python3Packages.sphinx: 1.8.3 -> 2.2.0 »: https://git.io/JeuMA
<v0|d> this little fellow has many multitudes of dependencies.
dansho has quit [Quit: Leaving]
wewerrr has quit [Ping timeout: 264 seconds]
is_null has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « virtmanager{,-qt}: rename to `virt-manager{,-qt}` »: https://git.io/JeuDf
<niksnut> v0|d: no
<v0|d> OK, so I need to diet this systemd to get smalled SD images.
<v0|d> is this correct?
<{^_^}> v0|d: Please expand your question to include more information, this will help us help you :)
vidbina has joined #nixos
<v0|d> sure, i was trying to fit rpi image into 2gb SD. its 2.4 now.
<adisbladis> v0|d: {^_^} is a bot :)
<v0|d> AI gilfoyle.
<v0|d> :p
kreisys has joined #nixos
<tilpner> v0|d: I don't know if this is a mistake, but if you look the output size graph, the image has recently shrunk a lot
<v0|d> wow interesting 500 megs, which config is that, any ideas?
<tilpner> Oh, that's just .bz2 compression
<v0|d> heh, that explains processing time increase.
LeshaInc has quit [Quit: Да всё...]
<tilpner> Still 2G
iMatejC has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @FRidh merged pull request #63174 → libxml2 and libxslt: build against python3 by default → https://git.io/fjafL
sigmundv has quit [Ping timeout: 240 seconds]
<tilpner> v0|d: You can attempt building your own image without import profiles/base.nix
iMatejC has joined #nixos
<tilpner> I don't expect that to help a lot, and your best success/time option is probably buying a new SD card
<v0|d> tilpner: did that, systemPackages = mkForce []
<tilpner> You can also ask in #nixos-aarch64 about ARM devices even if your device is not 64bit
<v0|d> still system 500 adds fantastic deps to the tree.
iMatejC has quit [Client Quit]
<tilpner> v0|d: system 500?
<v0|d> systemD
<tilpner> You can investigate building an image without systemd, similar to not-os
<tilpner> It will be small, but not NixOS anymore
<{^_^}> [nixpkgs] @FRidh merged pull request #72232 → python3Packages.nototools: make compatible with python3, unblock channel → https://git.io/Jeui1
<{^_^}> [nixpkgs] @FRidh pushed 4 commits to master: https://git.io/JeuDZ
Thra11 has joined #nixos
<v0|d> tilpner: thnx, nice repo by clever.
iMatejC has joined #nixos
bahamas has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @lsix opened pull request #72249 → Fix QGIS in release-19.09 → https://git.io/JeuD8
toppler has quit [Ping timeout: 265 seconds]
wewerrr has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #71687 → pango: 1.43.0, backport CVE-2019-1010238 fix → https://git.io/JeRQq
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JeuD4
<v0|d> tilpner: let me I'll check the musl one first, maybe it is smaller.
snicket has quit [Ping timeout: 246 seconds]
sigmundv has joined #nixos
vidbina has quit [Ping timeout: 268 seconds]
<xd1le> does grahamcofborg building a PR to nixpkgs have to be enabled manually for each PR?
<adisbladis> xd1le: It depends on who makes the PR
selfsymmetric-mu has quit [Remote host closed the connection]
<xd1le> oh ok I see
<xd1le> ty
wewerrr has quit [Ping timeout: 240 seconds]
<superbaloo> v0|d: from my experience, the sd builder includes all built versions of a package
toppler has joined #nixos
<superbaloo> like if you were to rebuild the same dep twice with two different config, the sd builder would include both
<superbaloo> while one would not be effectively be used
<superbaloo> at least that's what it looked like.
wewerrr has joined #nixos
<superbaloo> I haven't got much time to debug that yet
<{^_^}> [nixpkgs] @FRidh pushed to master « certbot: don't use distutils.StrictVersion »: https://git.io/JeuDo
Neo-- has joined #nixos
wewerrr has quit [Read error: Connection reset by peer]
wewerrr has joined #nixos
ddellacosta has joined #nixos
Ariakenom has quit [Quit: WeeChat 2.6]
<{^_^}> [nix] @edolstra pushed 6 commits to master: https://git.io/JeuDP
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @ehmry pushed to master « Revert "rclone: 1.49.5 -> 1.50.0" »: https://git.io/JeuD1
johnny101 has quit [Quit: Konversation terminated!]
<v0|d> superbaloo: umm, why is that anyways.
<{^_^}> [nixpkgs] @NeQuissimus pushed 7 commits to master: https://git.io/JeuDH
wormwood has quit [Ping timeout: 240 seconds]
<v0|d> superbaloo: I've checked for iptables, there is only one for aarch64.
wormwood has joined #nixos
<v0|d> superbaloo:
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to release-19.09: https://git.io/JeuDA
<v0|d> in case of sd-image, adding stuff is very easy, removing stuff is almost impossible.
<v0|d> I mean for system dependencies.
<v0|d> For instance when I set services.firewall.enable = false; I expect iptables to be omitted somehow, yet its a buildInput for systemD, so no config will remove it.
drakonis has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch pushed to master « skawarePackages.skalibs: empty default path »: https://git.io/Jeuye
<{^_^}> [nixpkgs] @Profpatsch merged pull request #71388 → skawarePackages.skalibs: empty default path → https://git.io/JeBaJ
<v0|d> I can roll my own systemD derivation but I need a sound way to decide which modules to remove.
drakonis_ has quit [Ping timeout: 252 seconds]
work_ has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 5 commits to nixos-unstable-small: https://git.io/JeuyT
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/00084002220 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Twey> tilpner: Why does `genericClosure` exist? :-\
<Twey> It seems like it's definable in Nix code. The hard part is getting ‘the set of all inputs’ (since they may be hidden in string contexts)
<Kim> Is tehre a way to reference `$out` from within a script created with `writeScript`?
<Twey> Kim: Which `$out`?
<Kim> Exactly :P
feep_ has joined #nixos
feep has quit [Disconnected by services]
<Twey> Kim: Do you mean you want `writeScript` to contain its own store path? Or do you mean you want to reference `$out` of some derivation that will *use* the script?
<Kim> Specifically the derivation's $out
<Twey> Kim: Which derivation's $out?
cosimone has joined #nixos
<Twey> The writeScript derivation or some derivation using it?
<Kim> The one I'm including it in. Though, I'm starting to recognize my problem
bvdw has quit [Read error: Connection reset by peer]
<Twey> Kim: Then $out is defined in the environment
<Twey> Kim: Just reference the environment variable $out from the script
<{^_^}> [nixpkgs] @Scriptkiddi closed pull request #71997 → matomo: Refactor to use phpFpm settings instead of extraConfig → https://git.io/JeEIX
bvdw has joined #nixos
<Kim> Yeah. I'll have to reference the resulting derivation from the script
<Twey> Kim: That's the easy case :)
<DigitalKiwi> aanderse: ^^ lol
<DigitalKiwi> matomo is hot hot hot!
<DigitalKiwi> that's what the...third PR for that? someone should finish the first one....
<{^_^}> [nixpkgs] @fpletz merged pull request #72168 → firmwareLinuxNonfree: 2019-09-23 -> 2019-10-22 → https://git.io/JeuWg
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to staging: https://git.io/JeuyG
<DigitalKiwi> (it me, i'm someone)
<aanderse> DigitalKiwi: lol yeah.... very soon
<{^_^}> [nixpkgs] @Izorkin opened pull request #72251 → pango: update sha256 hash → https://git.io/Jeuyn
stzsch has quit [Ping timeout: 246 seconds]
stzsch has joined #nixos
<eraserhd> Would someone on a Mac be willing to merge #69304 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/69304 (by eraserhd, 5 weeks ago, open): osxsnarf: init at 0.1.0
<{^_^}> [nixpkgs] @WilliButz opened pull request #72252 → ydotool: init at 0.1.8 → https://git.io/Jeuya
toppler has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @d-goldin opened pull request #72253 → pango 1.4.3: Fixing wrong sha from #71687 → https://git.io/JeuyM
waleee-cl has joined #nixos
rauno has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @FRidh to nixpkgs-19.09-darwin « python35: 3.5.7 -> 3.5.8 »: https://git.io/JeuiH
<{^_^}> [nixpkgs] @Kloenk opened pull request #72254 → onefetch: init at 1.7.0 → https://git.io/JeuyQ
captn3m0 has joined #nixos
<ddima> I made a sha booboo (we forgot to run ofborg) and it's in master now. Maybe someone has a second to look at and merge the fixup; https://github.com/NixOS/nixpkgs/pull/72253
<{^_^}> #72253 (by d-goldin, 4 minutes ago, open): pango 1.4.3: Fixing wrong sha from #71687
<gchristensen> dang
litschio has quit [Quit: WeeChat 2.6]
toppler has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/44fb9ec8719 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
b1000101 has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #72065 → Fancontrol: add test etc from #70933 → https://git.io/JeE5W
<{^_^}> [nixpkgs] @markuskowa pushed commit from @Evils-Devils to master « Fancontrol: add test etc from #70933 (#72065) »: https://git.io/Jeuyd
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-19.09: https://git.io/JeuyF
<{^_^}> [nixpkgs] @lsix merged pull request #72238 → pazi: 0.3.0 -> 0.4.0 → https://git.io/JeuXC
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/Jeuyx
bahamas has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #72251 → pango: update sha256 hash → https://git.io/Jeuyn
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/JeuSf
snicket has joined #nixos
<{^_^}> [nixpkgs] @globin closed pull request #72253 → pango 1.43.0: Fixing wrong sha from #71687 → https://git.io/JeuyM
<disasm> is there an easy way to get a patch into a haskell package coming from nixpkgs? Trying to get https://patch-diff.githubusercontent.com/raw/brendanhay/amazonka/pull/547.patch into amazonka-s3
<{^_^}> [nixpkgs] @FRidh merged pull request #72136 → libedit: 20190324 -> 20191025 → https://git.io/JeuLS
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to master « libedit: 20190324 -> 20191025 »: https://git.io/JeuSO
xd1le has quit [Quit: leaving]
endformationage has joined #nixos
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @FRidh to nixos-19.03-small « python35: 3.5.7 -> 3.5.8 »: https://git.io/Jeuid
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/JeuS4
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/575d2d711aa (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to release-19.09: https://git.io/JeuS2
<{^_^}> [nixpkgs] @vbgl merged pull request #72171 → ocamlPackages.ocamlearlybird: init at 0.1.5; ocamlPackages.angstrom: 0.10.0 -> 0.12.1 → https://git.io/JeuWA
leo_ has joined #nixos
<{^_^}> [nixpkgs] @max-wittig opened pull request #72255 → gitlab-runner: 12.4.0 -> 12.4.1 → https://git.io/JeuSd
<{^_^}> [nixpkgs] @magnetophon opened pull request #72256 → bslizr: init at 1.2.0 → https://git.io/JeuSF
<infinisil> disasm: A haskell overlay like `hself: hsuper: { amazonka-s3 = pkgs.haskell.lib.appendPatch hsuper.amazonka-s3 (pkgs.fetchpatch { ... }); }` should do it
psyanticy has joined #nixos
worldofpeace_ has joined #nixos
worldofpeace_ has quit [Client Quit]
fendor has quit [Ping timeout: 265 seconds]
toppler has quit [Ping timeout: 240 seconds]
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
is_null has quit [Ping timeout: 240 seconds]
<ddima> Under which circumstances can nix-prefetch-url not be relied upon? It's probably the 2-3nd time I got biten by using it in a simple case of getting a hash for a simple diff over http which then conveniently was ofc present in my store under that "wrong" hash. I might of course just switch to lib.fakeSha256 always or so, but I'd like to understand first.
seese has joined #nixos
<leo_> what do you guys prefer for non regex split, pkgs.lib.strings.splitString or builtins.split?
<gchristensen> I always use tofu
<gchristensen> ddima: the problem is fetchpatch does some patch normalization stuff
<leo_> .-.
cosimone has quit [Ping timeout: 250 seconds]
<ddima> gchristensen: Oh, right. explains why I only saw this in some circumstances but not in others. thanks!
<sshow> adisbladis: thanks a lot for the help with the paste I posted. I will try it out tonight :)
<{^_^}> [nixpkgs] @romildo merged pull request #72174 → softmaker-office: 970 -> 972 → https://git.io/Jeu8L
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/Jeu9Z
toppler has joined #nixos
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @ezemtsov opened pull request #72257 → dotnet.sdk: 2.2.6 -> 3.0.100 → https://git.io/Jeu90
jlmeeker has joined #nixos
fendor has joined #nixos
<Ariakenom> im getting VERR_VERSION_MISMATCH using virtualbox :(
lordcirth has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
<lordcirth> samueldr, any news on your Pinebook Pro? Has it shipped? October is running out :P
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
<samueldr> it should have been shipped like during "today's" day in China
<Ariakenom> but the nixops deploy workds ... ?
<lordcirth> samueldr, you got an email saying so?
<lordcirth> I got my accessories already, but no laptop ship email
<samueldr> lukasz said they shipped today, the final end of the first batch... AFAIUI it's DHL that sends the notification e-mail, that one I haven't received
<lordcirth> lukasz works there? How can I know what batch I am in?
fresheyeball has joined #nixos
<fresheyeball> I am running NixOS on a Dell XPS
cosimone has joined #nixos
<fresheyeball> and the graphics are quite glitchy with `xserver.videoDrivers = [
<fresheyeball> "nvidia" ];`
<fresheyeball> though it is an nvidia chip
<fresheyeball> what can I do?
halfbit has quit [Ping timeout: 240 seconds]
<infinisil> fresheyeball: Try a different driver is an option, nouveau seems to be liked, thought personally I haven't had much success with it and am using the nvidia driver instead because of this
<infinisil> s/Try/trying
<fresheyeball> infinisil: I see linuxPackages.nvidia_x11
<fresheyeball> is there a kernel module I need to install?
<infinisil> Nah
<infinisil> videoDruvers does it all for you
jb55 has joined #nixos
<fresheyeball> infinisil: ok
<samueldr> lordcirth: probably best to ask them on the pinebook channel on their irc server, couldn't say for sure, but for the first batch it was early, and with coupons, and those already have received some form of communication; I additionally validated again with them later on
<fresheyeball> oh no I am wrong
<fresheyeball> its intel graphics
<fresheyeball> infinisil: is there an alternative to "intel" as the graphics driver?
<lordcirth> samueldr, oh ok, I will join their server
<infinisil> fresheyeball: I think the intel-specific driver is buggy, try removing the nvididaDrivers assignment, then it will use the default list
<infinisil> intel got removed from the defaults
<fresheyeball> infinisil: I am trying with [ "nvidia" "nouveau" "intel" ]
<fresheyeball> the default list is [ "radeon" "cirrus" "vesa" "vmware" "modesetting" ]
<fresheyeball> I know its not radeon or vmware
<adisbladis> fresheyeball: modesetting
<fresheyeball> but I have never heard of the other 3
<adisbladis> Is the alternative "supported" one for intel
<lordcirth> cirrus is for VM's emulating old hardware, I believe.
<fresheyeball> ok trying with that
<fresheyeball> ok so it installed
<fresheyeball> I guess I need to log out and log back in?
<fresheyeball> or do I need to reboot?
<disasm> infinisil: I'm trying this and it's telling me undefined variable hsuper: https://gist.github.com/disassembler/8effe75b0e20e6a6086c9885528e9755
<adamt> fresheyeball: Might just need to restart X, but probably safer to just reboot
fresheyeball has quit [Quit: WeeChat 2.4]
wewerrr has quit [Ping timeout: 245 seconds]
<infinisil> disasm: You're missing a : after the hsuper argument :)
logzet has quit [Ping timeout: 264 seconds]
<disasm> oh my, thanks!
hmpffff has joined #nixos
<disasm> ah, so lib is not in haskellPackages :( infinisil Do you know how to get this overrideCabal to respect the overlays?
lordcirth has left #nixos ["Leaving"]
<infinisil> disasm: does it not work when you take the haskell lib from pkgs.haskell.lib?
ng0 has quit [Quit: Alexa, when is the end of world?]
<disasm> well the haskellPackages attribute isn't being passed anywhere
<leo_> infinisil: later you've gotta see the frankestein you helped create
fresheyeball has joined #nixos
<fresheyeball> so I rebooted and the graphics are noticibly better
<leo_> I'm using tmpfiles.d for the key management, directory creation and even backup acls. xd
<fresheyeball> adisbladis++
<{^_^}> adisbladis's karma got increased to 20
<adisbladis> \o/
<fresheyeball> but now my laptop wont connect to the network
<adisbladis> Internet points!
<fresheyeball> I swear that all I changed in the config was the driver
halfbit has joined #nixos
toppler has quit [Ping timeout: 276 seconds]
<fresheyeball> yall remember how to restart the network manager?
<fresheyeball> I just use wireless.enabled = true
<fresheyeball> maybe another reboot
<fresheyeball> well that did it
<fresheyeball> weird
<fresheyeball> but hey! no more annoying graphics glitches and all I changed was code
<fresheyeball> Love nix!
<infinisil> leo_: Oh boy!
MmeQuignon has joined #nixos
<b1000101> fresheyeball: systemctl restart NetworkManager.service
<{^_^}> [nixpkgs] @zokrezyl opened pull request #72258 → umoci: 0.4.4 → https://git.io/JeuHK
<infinisil> disasm: I guess it would be nice if nixpkgs would reexport haskell.lib though haskellPackages.lib
b1000101 has quit [Remote host closed the connection]
b1000101 has joined #nixos
dreverri has joined #nixos
toppler has joined #nixos
seese has quit [Quit: WeeChat 2.6]
<fresheyeball> so one challenge I have
<fresheyeball> is knowing the systemctl services names
feep_ is now known as feep
<fresheyeball> is there a way to get a list of them?
Okinan has joined #nixos
snicket has quit [Read error: Connection reset by peer]
<adamt> fresheyeball: systemctl list-units maybe?
<{^_^}> [nixpkgs] @jonringer closed pull request #72229 → pythonPackages.chardet: fix tests → https://git.io/Jeu6y
<fresheyeball> adamt: woah!
erasmas has joined #nixos
<adamt> fresheyeball: There's probably a proper way to limit it to only services, but I don't know about it. :P
eskytthe has quit [Quit: Leaving.]
<adamt> Maybe `systemctl list-units "*.service"` if you want to get rid of everything else
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 52 commits to staging-next: https://git.io/JeuQL
<{^_^}> [nixpkgs] @FRidh pushed 53 commits to staging: https://git.io/JeuQq
drakonis has quit [Ping timeout: 246 seconds]
bahamas has quit [Ping timeout: 240 seconds]
judson_ has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 5.4-rc4 -> 5.4-rc5 »: https://git.io/JeuQm
jlmeeker has quit [Ping timeout: 268 seconds]
judson has quit [Ping timeout: 264 seconds]
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
drakonis_ has quit [Ping timeout: 265 seconds]
is_null has joined #nixos
<{^_^}> [nixpkgs] @ezemtsov closed pull request #72257 → dotnet.sdk: 2.2.6 -> 3.0.100 → https://git.io/Jeu90
Ariakenom has quit [Quit: WeeChat 2.6]
<Twey> What does `__ignoreNulls` do?
<Twey> I see it in some derivations, but I don't see any documentation about it
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to python-unstable: https://git.io/JeuQ9
<gchristensen> it seems to mean, attributes which are null should not be set in the resulting .drv
<adisbladis> :O
<adisbladis> I've missed this one
<adisbladis> I've wanted that as the default behaviour for *build*Inputs for a while
<adisbladis> (also sort them)
<adisbladis> But sorting would change the behaviour quite a bit
<adisbladis> At least null in buildInputs should be discarded
cyris212 has quit [Quit: ZNC 1.7.4 - https://znc.in]
feep has quit [Remote host closed the connection]
cyris212 has joined #nixos
vidbina has joined #nixos
<adamt> Does nix have some black magic function that takes two packages and outputs a new one with all the files from the packages merged/overlayed/linked together (while preserving the directory structure)?
<Twey> gchristensen: Oh, neat!
toppler has quit [Ping timeout: 252 seconds]
__Sander__ has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @sikmir opened pull request #72259 → gpscorrelate: unstable-2019-09-03 -> 2.0 → https://git.io/Jeu7I
nornagon4 is now known as nornagon
<adamt> Twey: Neat, I'll try it out. Thanks
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
zeta_0 has joined #nixos
is_null has quit [Ping timeout: 246 seconds]
justanotheruser has quit [Ping timeout: 240 seconds]
<DigitalKiwi> fresheyeball: if your network still has problems you might need to disable dhcpcd it seems to be coming up a lot :|
<{^_^}> [nixpkgs] @danbst opened pull request #72260 → lib: delay/remove 4 deprecation warnings → https://git.io/Jeu7n
<DigitalKiwi> and if not, disregard
melling has joined #nixos
segfault[m] has joined #nixos
toppler has joined #nixos
<{^_^}> [nixpkgs] @jonringer closed pull request #72234 → communi: fix build → https://git.io/JeuP1
<disasm> infinisil: got it, the compiler attribute is the haskellPackages
<Twey> adisbladis: I think nulls in `buildInputs` are always ignored? O.O
<zeta_0> hello guys, when calculating the dpi of my laptop i got 2 results: 277.40621 and 277.0909 , should i round the dpi up to 288 or down to 277 ? i am going to change this option in configuration.nix: `services.xserver.dpi`
<{^_^}> [nixpkgs] @Profpatsch merged pull request #63628 → openalSolf, mpv: fix, enable HRTF support → https://git.io/fjwO7
<{^_^}> [nixpkgs] @Profpatsch pushed 2 commits to staging: https://git.io/Jeu78
<adisbladis> Twey: Yeah, but they affect the hash
<adisbladis> I'd like null and omiting an input to have the same meaning
is_null has joined #nixos
<Twey> Oooh.
<Twey> It's true. They're equivalent for derivation behaviour, but the length of the `buildInputs` list will be different.
<Twey> Hum, wait, no
<DigitalKiwi> does changing the order of buildinputs change the hash?
<adisbladis> DigitalKiwi: Yeah
<adisbladis> And order of PATH and other env vars
<DigitalKiwi> oh
<DigitalKiwi> that explains a lot actually
<{^_^}> [nixpkgs] @prusnak opened pull request #72261 → cherrytree: fix build [#72218] → https://git.io/Jeu70
<adamt> zeta_0: It's not like either option is going to brick you pc, so you could just try one (also it probably doesn't make any noticeable difference)
<adisbladis> Twey: Hm :S
<adisbladis> Le weird
<Twey> Only inputs to `derivation` are used to calculate the hash, not inputs to `mkDerivation`, so nulls have already been stripped out by the time the hash is calculated
<Twey> Ordering changes it because it changes the order of the `buildInputs` environment variable (among other things, probably
<Twey> )
<Twey> Unfortunately you probably need to be able to order PATH and friends, so dependency order is going to be important
<Twey> You probably don't want to have nixpkgs reorder your inputs
<adisbladis> Twey: http://ix.io/208K
<adisbladis> These (imho) should eval to the same hash.
<DigitalKiwi> is this a good time to say that null is bad and this is one of the reasons
<DigitalKiwi> it's ok if you like null tho you're not bad
ubert has quit [Quit: Leaving]
<Twey> adisbladis: Oof
<adisbladis> Twey: It's not a huge issue or anything, it's just a tiny papercut
<DigitalKiwi> i have come with technical merits this time :D
jlmeeker has joined #nixos
<Twey> adisbladis: It's just a very annoying papercut, because the only difference between those two derivations is this: https://hastebin.com/quvubimofe.txt
<Twey> Seems like an easy patch though
fendor has quit [Ping timeout: 268 seconds]
<adisbladis> Probably :)
<adisbladis> Because it's just a minor annoyance I havent bothered
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
<gchristensen> the real solution is to patch bash to support null bytes
shibboleth has joined #nixos
ng0 has joined #nixos
is_null has quit [Read error: Connection reset by peer]
freeman42x has joined #nixos
cosimone has quit [Quit: Terminated!]
Ariakenom has joined #nixos
jgt1 has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 265 seconds]
snicket has joined #nixos
wildtrees has joined #nixos
jgt1 is now known as jgt
jonringer has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
gkmngrgn has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #72252 → ydotool: init at 0.1.8 → https://git.io/Jeuya
<{^_^}> [nixpkgs] @globin pushed 4 commits to master: https://git.io/Jeu5G
<m1cr0man> Hey folks if nixos-rebuild freezes at "updating grub2 menu" what's the right thing to do about it? It's been like this for I think 7 hours. Normally I just ctrl+c it.
b1000101 has quit [Quit: Leaving]
ThatDocsLady has quit [Ping timeout: 276 seconds]
<m1cr0man> Ah nvm I had a broken nfs mount freezing file ops
Thra11 has quit [Ping timeout: 268 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
snicket has quit [Read error: Connection reset by peer]
johnny101 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #72262 → sudo: 1.8.28 -> 1.8.29 → https://git.io/Jeu5Q
dreverri has quit [Remote host closed the connection]
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #72240 → wdisplays: init at 2019-10-26-unstable → https://git.io/JeuXy
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jeu5F
ng0 has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #72263 → matrix-synapse: 1.4.1 -> 1.5.0 → https://git.io/Jeu5p
snicket has joined #nixos
<{^_^}> [nixops] @AmineChikhaoui pushed 4 commits to master: https://git.io/JeudJ
<{^_^}> [nixops] @AmineChikhaoui merged pull request #1197 → log more commands → https://git.io/JeudU
bahamas has joined #nixos
doyougnu has joined #nixos
hmpffff has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<infinisil> klntsky: Hey regarding #54000, I made some improvements and cleanups to the module and rebased it to fix conflicts
<{^_^}> https://github.com/NixOS/nixpkgs/pull/54000 (by klntsky, 40 weeks ago, open): create_ap: init at 0.4.6
<infinisil> Is it alright if I push this to your branch so we can merge the PR?
Izorkin has quit [Read error: Connection reset by peer]
<{^_^}> [nix] @edolstra pushed 2 commits to recursive-nix: https://git.io/Jeudn
Izorkin has joined #nixos
<infinisil> pie_ as well ^^
chloekek has joined #nixos
<infinisil> (well not your PR but you're probably interested in having it merged)
<{^_^}> [nixpkgs] @FRidh pushed to staging « libxml2Python: keep using python2 »: https://git.io/JeudW
hmpffff has quit [Quit: nchrrrr…]
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to python-unstable: https://git.io/Jeudl
cosimone has joined #nixos
<infinisil> If klntsky doesn't reply I'll just do it
toppler has joined #nixos
<AmandaC> How can I check why my nixos system contains a package?
<AmandaC> It's almost certinely a transitive dependency, but I'm not sure what nix paths or whatever to do to check the reason
Thra11 has quit [Ping timeout: 240 seconds]
gkmngrgn has quit [Ping timeout: 240 seconds]
<b42> AmandaC: nix-store --query --referrers-closure /nix/store/... maybe?
<infinisil> AmandaC: Or with nix why-depends /run/current-system /nix/store/...
<{^_^}> [nixops] @AmineChikhaoui pushed to master « nixops copy-closure: fix call of logged_exec »: https://git.io/JeudE
<infinisil> If you know the store path
lsix has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @thefloweringash opened pull request #72264 → sensu-go: 5.11.0 -> 5.14.1 → https://git.io/Jeudg
doyougnu has quit [Ping timeout: 245 seconds]
Synthetica has joined #nixos
fendor has joined #nixos
Thra11 has joined #nixos
globin has quit [Changing host]
globin has joined #nixos
shapr has joined #nixos
domogled has joined #nixos
fendor has quit [Ping timeout: 240 seconds]
<infinisil> Aw man, github doesn't seem to verify commit signatures against gpg subkeys
MoreTea has left #nixos ["WeeChat 1.9"]
thomashoneyman has joined #nixos
thomashoneyman has quit [Client Quit]
vidbina has quit [Ping timeout: 245 seconds]
thomashoneyman has joined #nixos
<qyliss> infinisil: it does
<qyliss> but you need to make sure the public key you upload contains the subkey
<infinisil> Oh hm, gotta find out how to do that then
<AmandaC> Hrm. It seems it's rngd that's causing my yubikey to ultimately get locked out of gpg
lsix has joined #nixos
<AmandaC> is rngd something that I'll really need for a laptop machine? If so, can I at least tell it to stop trying to get entropy from my yubikey?
justanotheruser has joined #nixos
<infinisil> qyliss: Well the gpg key list on github shows the ids of all subkeys, and I can't find any gpg option to export subkeys specially
<qyliss> Oh, then it should work
<qyliss> Works for me
jgeerds_ has joined #nixos
<infinisil> Aw damn :/
<infinisil> Oh hold on
<infinisil> I was looking at this commit, which has me only as a co-author! https://github.com/Infinisil/nixpkgs/commit/53a238770d9cb5cc7f7863ff93ec07366015ce0b
leo_ has quit [Disconnected by services]
<infinisil> I guess I shouldn't sign commits in that case
<infinisil> Wait, no it doesn't work, even with me as the committer: https://github.com/Infinisil/system/commit/a4a8c5d0a7747f4715c276ff9fb760ceb3369384
<infinisil> Says unverified, but I can see that key id in my github settings :/
<qyliss> Signatures refer to the committer
<qyliss> So you should always sign them, even if you didn't author them
<infinisil> Oh, I see why, my email is wrong
<infinisil> Hmm yeah
<tilpner> infinisil: Did you manage to export the subkey?
<infinisil> Yeah damn, I've been committing with my old email!
<infinisil> tilpner: It's included in the standard `gpg --export -a`
<tilpner> Okay :)
thomashoneyman has quit [Ping timeout: 240 seconds]
<infinisil> A bit offtopic for this channel admittedly
chrisaw has quit [Quit: Connection closed for inactivity]
bahamas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @veprbl opened pull request #72265 → pythonPackages.setuptoolsBuildHook: fix debug message → https://git.io/JeuFl
toppler has quit [Ping timeout: 264 seconds]
shibboleth has quit [Quit: shibboleth]
Jackneill has quit [Remote host closed the connection]
thomashoneyman has joined #nixos
toppler has joined #nixos
drakonis has joined #nixos
fusion809 has quit [Remote host closed the connection]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<aaa_> does anybody know why I get this error:
<aaa_> > /nix/store/q354712mnkw3ky8b5crj7ir7dyv29ylj-binutils-2.31.1/bin/ld: objects/if_perl.o: undefined reference to symbol 'pthread_getspecific@@GLIBC_2.2.5'
<{^_^}> error: syntax error, unexpected ':', expecting ')', at (string):269:67
<aaa_> > /nix/store/q354712mnkw3ky8b5crj7ir7dyv29ylj-binutils-2.31.1/bin/ld: /nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib/libpthread.so.0: error adding symbols: DSO missing from command line
<{^_^}> error: syntax error, unexpected ':', expecting ')', at (string):269:67
<{^_^}> #53001 (by FRidh, 43 weeks ago, closed): Linking errors on `staging-next`, missing flags
<drakonis> dont actually paste it like that
<drakonis> because the bot is running the commands
wildtrees_ has joined #nixos
ris has joined #nixos
<aaa_> drakonis, here: http://dpaste.com/0V3DCX1
wildtrees has quit [Ping timeout: 240 seconds]
<aaa_> Any ideas what to override in my config.nix to get this compiled
<aaa_> This occures when running: nixos-rebuild switch
cosimone has quit [Quit: Terminated!]
<{^_^}> [nixpkgs] @globin pushed to master « gnupg: fix pinentry on sway »: https://git.io/JeuFj
argc_ has joined #nixos
camsbury has joined #nixos
<camsbury> hey guys
<camsbury> trying to nix copy the build Inputs for a `shell.nix` to a binary cache
sjourdois has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #72245 → [19.03] php: 7.1.32 -> 7.1.33, 7.2.22 -> 7.2.24, 7.3.9 -> 7.3.11 → https://git.io/Jeu12
<{^_^}> [nixpkgs] @globin pushed 5 commits to release-19.03: https://git.io/JeubU
lsix has quit [Ping timeout: 252 seconds]
lukash_ is now known as lukash_|away
<raboof> gchristensen: I saw https://r13y.com/, cool. do/should we have issues for fixing the remaining unreproducibilities? I just proposed a fix to the opensc unreproducibility upstream (https://github.com/OpenSC/OpenSC/pull/1839)
<{^_^}> OpenSC/OpenSC#1839 (by raboof, 7 minutes ago, open): Generate consistent docbook id's
bvdw has quit [Read error: Connection reset by peer]
<drakonis> aaa_, are you trying to build dtrace or virtualbox?
bvdw has joined #nixos
<camsbury> I know about `nix copy ... --all`
<camsbury> but I just want to grab the derivations from an expression
<camsbury> or attribute
<{^_^}> [nixpkgs] @AmineChikhaoui opened pull request #72266 → introduce NixOPS plugin structure → https://git.io/Jeubq
<camsbury> oh I just do `nix copy ... -f shell.nix buildInputs`
johnnywho has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<johnnywho> Cups seems to detect network printer with avahi.nssmdns enabled, but then it throws an error that the printer url can' t be located, although I can perfectly ping the .local address
<johnnywho> Previous known good configuration in another distro had mdns_minimal [NOTFOUND=return] dns...
<johnnywho> Is there a chance having the line mdns_minimal [NOTFOUND=return] dns mdns... makes mdns_minimal and mdns somehow interfere with each other?
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<chloekek> I set systemd.coredump.enable to false but core dumps still appear in my home directory. How can I completely disable the writing of core dumps?
<argc_> Can someone point me to some documentation/tutorials/examples on how to extend the "lib" namespace with some custom attributes? I can't seem to do what I want using overlays.
<chloekek> I have a program that segfaults when I exit it and disabling core dumps should be an easier solution than fixing the segfault.
<argc_> i.e. i tried doing something like (self: super: { lib = super.lib.recursiveUpdate (super.lib or {}) { mythingy = "foo"; }; }) but `lib.mythingy` cannot be found in other modules, so I suspect I can't use overlays.
<{^_^}> [nixpkgs] @magnetophon opened pull request #72267 → bshapr & bsequencer: init at v0.4 → https://git.io/JeubC
toppler has joined #nixos
<Raito_Bezarius> Can I create a NixOS module out of nixpkgs in my local folders?
<Raito_Bezarius> What kind of folder structure should I do for this?
<Raito_Bezarius> Can I just do <mypkg>/{default,module}.nix ?
<tilpner> Raito_Bezarius: Yes, you can
<Raito_Bezarius> where default.nix contains a derivation and module.nix options attrs
Izorkin has joined #nixos
o1lo01ol1o has joined #nixos
<Raito_Bezarius> tilpner: Awesome, in this case, how can I use them in my projet? Is it enough to just do callPackage on them?
<tilpner> Raito_Bezarius: Folder structure is up to opinion, but profiles/... and devices/... has been working for me
<Raito_Bezarius> tilpner: It's just for a specific package/software that I'm going to reuse in a nixops deployment
<tilpner> Raito_Bezarius: If that is supposed to be a NIX_PATH element, you want <mypkg/default.nix>. Ignore of that was not path syntax
<Raito_Bezarius> Alright
cosimone has joined #nixos
<tilpner> Raito_Bezarius: To use a module, import it. { ... }: { imports = [ ./modules.nix ]; }
<Raito_Bezarius> Perfect
<Raito_Bezarius> I get the gist of it now
<Raito_Bezarius> Thanks
<chloekek> I'll just make a cronjob to delete the core dumps instead.
johnnywho has quit [Quit: Leaving]
Izorkin has quit [Client Quit]
cosimone has quit [Client Quit]
Izorkin has joined #nixos
<tilpner> chloekek: Perhaps you can use security.pam.loginLimits to limit the core file size to 0
<tilpner> (Similar to ulimit -c)
litschi has joined #nixos
<chloekek> tilpner: Thanks, I'll put those on my reading list.
<o1lo01ol1o> Raito_Bezarius: I just came across your nixops-aws issues on security groups and RDS, do you have any clarity on what it will take to get that working?
psyanticy has quit [Quit: Connection closed for inactivity]
gkmngrgn has joined #nixos
argc_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mrVanDalo opened pull request #72268 → nixos/syncthing: simple versioning → https://git.io/JeubQ
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #72037 → openrw: 2017-09-17 -> 2019-10-26 → https://git.io/JeubA
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to master: https://git.io/Jeubx
<{^_^}> [nixpkgs] @worldofpeace opened pull request #72269 → gtk3: only build docs on linux → https://git.io/JeuNv
jbmusso has joined #nixos
<globin> ALERT: The nominations for the RFCSC are open: https://discourse.nixos.org/t/rfc-steering-committee-rotation-2019-20/4589
zeta_0 has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
lsix has joined #nixos
<zeta_0> hello guys, in configuration.nix i set the option: `services.xserver.dpi = 278` and it works, things are rendering much better now, i can actually see the letters now, the only other question i have is do i need to set the other option: `fonts.fontconfig.dpi` to something as well ? i want to make sure that the dpi font in emacs renders correctly ?
jbmusso has left #nixos [#nixos]
<shyim> I have set some env vars using environment.variables. But there are not available in my php-fpm. Anyone an idea?
<symphorien> shyim: I guess you need services.phpfpm.pools.<name>.phpEnv
<shyim> but i want it globally
<shyim> i have an systemd oneshot which should do database migrations
<symphorien> systemd.services.name.environment.FOO = "bar";
<{^_^}> [nixpkgs] @flokli closed pull request #72044 → systemd.network.dhcpNetworks: init nixos option → https://git.io/JeEDf
ckauhaus has joined #nixos
fendor has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
hmpffff has joined #nixos
camsbury has quit [Remote host closed the connection]
emptyfl4sk has joined #nixos
<emptyfl4sk> I'm having a bit of trouble with importing shared nix config. "cannot coerce a function to a string" when referencing the imported `bundlerEnv`: https://gist.github.com/emptyflask/99f310df9fadd8419571599ce25eed88
<tilpner> emptyfl4sk: Try rubyenv = pkgs.callPackage ./nix/rubyenv.nix {};
fendor has quit [Read error: Connection reset by peer]
reallymemorable has joined #nixos
<emptyfl4sk> ah, thanks! I figured it was something simple, but it's been driving me nuts
<shyim> symphorien, its still missing. Generated systemd config looks good. all envs are present. But still var_dump($_SERVER); is empty...
<symphorien> ah I don't really know the internals of php
toppler has joined #nixos
<symphorien> you can check the environment of your php process with htop
<reallymemorable> how can i open a .app file on nixos? i downloaded what should be an executable but nixos perceives it as a folder that i can click into
<symphorien> if htop tells you that the environment is correctly set then it's a php problem
ckauhaus is now known as ckauhaus[afk]
<tilpner> reallymemorable: Where did you get that file? Isn't .app for macOS?
<adisbladis> etu: Ping! (someone needs php help)
<reallymemorable> i was downloading the arduino desktop ide
<adisbladis> reallymemorable: That's already in nixpkgs
<reallymemorable> let me double check i grabbed the right one
<reallymemorable> how do i start it?
<reallymemorable> oh i need to add it to my config file
<niso> reallymemorable: you are aware that the arduino ide is in the repos right?
cosimone has joined #nixos
<DigitalKiwi> macos .app are actually folders too
chloekek has quit [Ping timeout: 264 seconds]
logzet has joined #nixos
<DigitalKiwi> and in macos you can right click or w/e and do 'show package contents' or something to that effect
<DigitalKiwi> unless they've really changed something in catalina to keep the illusion...
noudle has quit []
<{^_^}> [nixpkgs] @jonringer merged pull request #72219 → clightning: 0.7.2.1 -> 0.7.3 → https://git.io/JeuKc
<{^_^}> [nixpkgs] @jonringer pushed commit from @jonasnick to master « clightning: 0.7.2.1 -> 0.7.3 »: https://git.io/JeuN9
jgt1 has joined #nixos
jgt has quit [Ping timeout: 264 seconds]
buckley310 has quit [Quit: The Lounge - https://thelounge.chat]
domogled has quit [Ping timeout: 240 seconds]
buckley310 has joined #nixos
<Raito_Bezarius> How would I go to create a function which pluralize the first character for a string?
buckley310 has quit [Client Quit]
<tilpner> What does that mean?
<Raito_Bezarius> sorry, uppercase*
<Raito_Bezarius> (it's basically titlecase in fact)
<shyim> symphorien, it was the sudo call. Forgot to add -E. Thanks :)
<Raito_Bezarius> titlecase "abcd" = "Abcd"
<Raito_Bezarius> I guess I could do substring & toUpper
<Raito_Bezarius> But is there anything more efficient?
<symphorien> shyim:you run sudo in a systemd service ? you can already specify User=
<Raito_Bezarius> I guess: pkgs.lib.strings.toUpper (builtins.substring 0 1 s) + (builtins.substring 1 ((builtins.stringLength s) - 1) s
<Raito_Bezarius> something like this could work
<Raito_Bezarius> The question is: is there better?
buckley310 has joined #nixos
<{^_^}> [nixpkgs] @erikarvstedt closed pull request #47664 → initrd.network: support predictable interface names → https://git.io/fxk47
bhipple has joined #nixos
thomashoneyman has quit [Quit: Lost terminal]
domogled has joined #nixos
thomashoneyman has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
Thra11 has quit [Ping timeout: 276 seconds]
fendor has joined #nixos
zeta_0 has joined #nixos
<{^_^}> [nixpkgs] @mmahut opened pull request #72271 → jormungandr: 0.7.0-rc1 -> 0.7.0-rc2 → https://git.io/JeuAW
<zeta_0> hello guys, when i try to install `postgresql` in configuration.nix i keep getting this error: https://hastebin.com/cajeduwova.rb
<zeta_0> why is this and how do i fix it ?
Chiliparrot has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
Thra11 has joined #nixos
justanotheruser has quit [Read error: Connection reset by peer]
dreverri has joined #nixos
justanotheruser has joined #nixos
dreverri has quit [Remote host closed the connection]
toppler has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
<{^_^}> [nixpkgs] @veprbl pushed commit from @prusnak to master « cherrytree: fix build (#72261) »: https://git.io/JeuAM
<{^_^}> [nixpkgs] @veprbl merged pull request #72261 → cherrytree: fix build → https://git.io/Jeu70
Okinan has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #72272 → Twitter color emoji/fix → https://git.io/JeuAH
Okinan has joined #nixos
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
fendor_ has joined #nixos
Thra11 has quit [Ping timeout: 268 seconds]
drakonis has quit [Ping timeout: 240 seconds]
Ariakenom has quit [Quit: Leaving]
jgt1 has quit [Ping timeout: 276 seconds]
fendor_ has quit [Ping timeout: 250 seconds]
emptyfl4sk has quit [Quit: WeeChat 2.6]
snicket has quit [Ping timeout: 250 seconds]
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #72273 → prometheus-dnsmasq-exporter: 0.1.0 -> 0.2.0 → https://git.io/JeuxY
drakonis has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 31 commits to nixos-19.09-small: https://git.io/Jeuxs
FreshcollegeGirl has quit [Ping timeout: 276 seconds]
FreshcollegeGirl has joined #nixos
<Raito_Bezarius> is there a reason why NixOS fails to use /dev/nvme* and try to find /dev/xvda when using an AWS with a NVMe ?
<Raito_Bezarius> an AWS EC2*
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/549132c726d (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
growpotkin has joined #nixos
acarrico has quit [Ping timeout: 276 seconds]
FreshcollegeGirl has quit [Ping timeout: 265 seconds]
drakonis has quit [Ping timeout: 240 seconds]
FreshcollegeGirl has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<gchristensen> can I kindly request nixos somehow evict a cached dns record?
thomashoneyman has quit [Quit: Lost terminal]
<qyliss> Does restarting nscd work?
<gchristensen> doesn't seem to, I get getaddrinfo 0f812ed8.packethost.net: Name or service not known almost immediately
<qyliss> hmm :(
thomashoneyman has joined #nixos
bvdw has quit [Quit: bvdw]
bvdw has joined #nixos
<qyliss> Definitely cached by your machine and not somewhere else up the chain?
<cransom> is your upstream caching the nx record?
<gchristensen> hmm not sure actually
lsix has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @globin pushed 4 commits to structured-attrs: https://git.io/Jeux2
<bhipple> Would someone mind taking a look at https://github.com/NixOS/nixpkgs/pull/72021? Dropbox on master is currently broken, since it's too old for Dropbox's servers
<{^_^}> #72021 (by graham33, 3 days ago, open): dropbox: 81.4.195 -> 83.4.152
<bhipple> On that note, https://github.com/NixOS/nixpkgs/pull/72087 makes it easier to see what version of dropbox you're running (it's currently quite hard)
<{^_^}> #72087 (by bhipple, 2 days ago, open): dropbox: add version to package name
thomasho1eyman has joined #nixos
domogled has quit [Ping timeout: 240 seconds]
<Raito_Bezarius> is there a way to force override something in nix?
v0|d has quit [Remote host closed the connection]
<infinisil> gchristensen: Pretty sure it's cached by whatever name server you're using
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 52 commits to nixos-unstable-small: https://git.io/Jeuxa
thomashoneyman has quit [Ping timeout: 268 seconds]
<infinisil> Although
FreshcollegeGirl has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
FreshcollegeGirl has joined #nixos
<kraem> wouldn't it be possible to do an iterative dns request?
__monty__ has quit [Quit: leaving]
<infinisil> It's possible to do that with `dig +trace <domain>`
<infinisil> Which shouldn't use any cached records yeah
cosimone has quit [Quit: Quit.]
jgeerds_ has quit [Ping timeout: 268 seconds]
<gchristensen> nice
<gchristensen> that does work, unfortunately my upstream isn't smart enough to see the different reply and update
<gchristensen> oh I guess it didn't go through them
thomasho1eyman has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9d3687ff159 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<infinisil> Oh neat, there's the dig option `+ttlunitl` displaying ttls much more nicely
Jackneill has joined #nixos
domogled has joined #nixos
snicket has joined #nixos
<infinisil> And you can put "+ttlunits" in ~/.digrc to have it be used for all digs!
Neo-- has quit [Ping timeout: 264 seconds]
<infinisil> Neato
<{^_^}> [nixpkgs] @worldofpeace merged pull request #72269 → gtk3: only build docs on linux → https://git.io/JeuNv
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging-next: https://git.io/JeuxP
<kraem> i was just about to ask how long time it usually takes from that a build is completed on hydra for it to be pushed out, then came the notification.. guess ~30min is the answer ;)
snicket has quit [Read error: Connection reset by peer]
mexisme has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @tuxinaut opened pull request #72275 → vimPlugins: update → https://git.io/JeuxQ
ghost64 has quit [Read error: Connection reset by peer]
afics has joined #nixos
halfbit has quit [Ping timeout: 276 seconds]
jlmeeker has quit [Quit: Leaving]
ghost64 has joined #nixos
ghost64 is now known as Guest15573
sauyon has joined #nixos
<sauyon> is there a nice way to set a key if a value is true
<{^_^}> [nixpkgs] @mmahut merged pull request #72271 → jormungandr: 0.7.0-rc1 -> 0.7.0-rc2 → https://git.io/JeuAW
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JeupU
FreshcollegeGirl has quit [Ping timeout: 240 seconds]
<gchristensen> { ... } // (if thing-is-true then { foo = "bar"; } else {})
FreshcollegeGirl has joined #nixos
domogled has quit [Ping timeout: 265 seconds]
lucus16 has quit [Quit: lucus16]
<worldofpeace> isn't that optionalAttrs?
<gchristensen> probably :)
FreshcollegeGirl has quit [Ping timeout: 250 seconds]
FreshcollegeGirl has joined #nixos
Thra11 has quit [Ping timeout: 276 seconds]
acarrico has joined #nixos
<DigitalKiwi> bhipple: what happens if someone does `dropbox update`
Jackneill has quit [Remote host closed the connection]
erasmas has quit [Quit: leaving]
Guest15573 has quit [Read error: Connection reset by peer]
edwtjo has quit [Ping timeout: 268 seconds]
wewerrr has joined #nixos
<DigitalKiwi> (after `unset DISPLAY` as it won't work at all without it)
<{^_^}> [nixpkgs] @bhipple closed pull request #72087 → dropbox: add version to package name → https://git.io/JeEN6
<DigitalKiwi> and is `dropbox version` not accurate?
lordcirth__ has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
lordcirth__ has joined #nixos
<DigitalKiwi> and it also shows in the settings
toppler has quit [Ping timeout: 264 seconds]
<DigitalKiwi> s/settings/preferences/
Thra11 has joined #nixos
fendor has quit [Read error: Connection reset by peer]
<bhipple> DigitalKiwi: If you run `dropbox update` on the old version, it starts the chroot on the outdated version, downloads the new version, and starts successfully using the old version to bootstrap.
<bhipple> DigitalKiwi: However, future starts of `dropbox` still do not work, because it always starts with the old version; so effectively all cmdline options except `dropbox update` are invalid
<bhipple> DigitalKiwi: at least, as far as I can tell from playing with it. This makes sense since it's running in a tmp chrootEnv that gets thrown away on shutdown I presume
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<DigitalKiwi> hmm
thomashoneyman has joined #nixos
<DigitalKiwi> Dropbox daemon version: 83.4.152
<DigitalKiwi> dropbox is one of the only things i haven't had many problems with lately lol... :|
nixtacular has joined #nixos
thomashoneyman has quit [Remote host closed the connection]
<bhipple> I use SyncThing personally, but was helping a new contributor to NixOS with dropbox not working. He got it working with the updated package, though; it's possible you might not need the update if you just start it with `dropbox update` all the time
<aaa_> does anybody know why I get the following error: /nix/store/q354712mnkw3ky8b5crj7ir7dyv29ylj-binutils-2.31.1/bin/ld: /nix/store/pnd2kl27sag76h23wa5kl95a76n3k9i3-glibc-2.27/lib/libpthread.so.0: error adding symbols: DSO missing from command line
<DigitalKiwi> i have only used that like once a long time ago
<nixtacular> how do you write an overlay that overrides a package's version? i've naively tried using the attribute `version`, but i get a `called with unexpected argument 'version'` error
thomashoneyman has joined #nixos
<philipp[m]> Comment on sbd seing my $PATH in a nix shell:
<philipp[m]> >Is that welsh linux?
toppler has joined #nixos
<infinisil> nixtacular: Well just changing the version won't do anything, you need to override the source of it with the new version
<gchristensen> lol philipp[m]
<infinisil> nixtacular: .overrideAttrs (old: { version = "10"; src = pkgs.fetch* { ... }; })
<infinisil> This should work for most packages ^
<philipp[m]> gchristensen: Can we codename nixos 20.03. welsh linux, please?
<nixtacular> infinisil: i was hoping that the version would filter down to the tarball or github url. i see a lot of derivations that interpolate `version` into the src URL's
mexisme has quit [Ping timeout: 246 seconds]
<infinisil> nixtacular: Unfortunately it doesn't, and even if it did, you'd still need to put a new sha256 in
<nixtacular> infinisil: yeah that was gonna be my next step, but i figured i'd get the version working first ;-)
<nixtacular> thanks for your help!
<infinisil> :)
endformationage has quit [Quit: WeeChat 2.6]
<DigitalKiwi> bhipple: this is how i use it though >.> https://myfriendshate.me/files/dropbox.nix but it works great heh
edwtjo has joined #nixos
edwtjo has joined #nixos
<DigitalKiwi> idk if that's still necessary :/
endformationage has joined #nixos
<nixtacular> infinisil: do you have any insight into the best way to do overlays for stuff like Ruby gems, NPM packages, etc.? for example, i'm trying to create an overlay to update the Ruby gem `bundler` version to 2.0.2, but the Nix expression for `bundler` makes use of a function called `buildRubyGem`
<nixtacular> should i simply use `buildRubyGem` and override the entire expression in my overlay?
<{^_^}> [nixpkgs] @ajs124 opened pull request #72276 → python3.pkgs.cherrypy: 18.1.2 -> 18.3.0 and fix tests → https://git.io/Jeup6
<infinisil> nixtacular: The same .overrideAttrs should work
<infinisil> Oh
<infinisil> Maybe not, lemme take a closer look
<nixtacular> infinisil: thank you. bundler expression is in `pkgs/development/ruby-modules/bundler/default.nix`
<Raito_Bezarius> how to properly escape '' in a multiline string?
<Raito_Bezarius> \'\' ?
<infinisil> > lib.functionArgs bundler.override
<{^_^}> { buildRubyGem = false; ruby = false; }
<nixtacular> Raito_Bezarius: ''' (three ' marks)
<Raito_Bezarius> nixtacular: wow thakns
<Raito_Bezarius> thanks *
<infinisil> ,escape'' For more escaping goodness
<{^_^}> For more escaping goodness: '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
ddellacosta has quit [Quit: WeeChat 2.2]
<infinisil> nixtacular: Hm, that's not good, how it's currently set up you can't override buildRubyGem arguments easily
<infinisil> If at all
<nixtacular> infinisil and {^_^}: not sure how to use those...?
<nixtacular> infinisil: not sure how to use that...?
<nixtacular> oh sorry you were replying to someone else maybe
<infinisil> nixtacular: {^_^} is a bot fyi :)
<nixtacular> haaaa ok lol
bhipple has quit [Remote host closed the connection]
hmpffff has quit [Quit: nchrrrr…]
<infinisil> nixtacular: Okay I guess you can't override buildRubyGem arguments directly, but you can still use bundler.overrideAttrs
<infinisil> Then you can override src to `fetchurl { url = "https://rubygems.org/gems/bundler-${version}.gem"; sha256 = ...; }`
<nixtacular> infinisil: how do i do that? i'm currently using `self: super: { bundler = super.bundler.override { ... }; }`
<nixtacular> or you mean just add `src` attribute to my `{ ... }`?
ddellacosta has joined #nixos
<infinisil> Nah
<nixtacular> (btw are `override` and `overrideAttrs` the same...?)
<infinisil> self: super: { bundler = super.bundler.overrideAttrs (old: { src = super.fetchurl { ... }; }); }
<infinisil> nixtacular: Nope they're different: .override is for overriding arguments of some function (buildRubyGem and ruby in the bundler/default.nix expression)
<infinisil> Whereas .overrideAttrs overrides attributes in the call to mkDerivation
<nixtacular> infinisil: aha. so this will override the attributes of whatever expression is generated by `buildRubyGem`?
<nixtacular> got it
<nixtacular> hmm i definitely saw `override` use somewhere
<nixtacular> the wiki page: https://nixos.wiki/wiki/Overlays
<infinisil> Yeah .override does have its uses. Technically it could be used here too, but that would be a bit hacky
kvda has joined #nixos
<nixtacular> is `overrideAttrs` considered best practice then for overlays?
<infinisil> nixtacular: When you see a package expression like `{ foo, bar, baz }: <something>` you can use `.override { foo = ...; }` on it
drakonis_ has joined #nixos
<infinisil> nixtacular: Yeah overrideAttrs is pretty standard for changing mkDerivation attributes
<infinisil> There's no alternative really
<infinisil> (usually at least)
<nixtacular> sigh. the Nix documentation drives me insane.
<nixtacular> i have been writing a Nix book, actually. slowly.
<infinisil> Hehe
<infinisil> Nice
thomashoneyman has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @globin pushed 2 commits to structured-attrs: https://git.io/JeupH
<infinisil> Unfortunately to understand how overrides work in all their glory (or not) you currently need to dig into the source
<infinisil> And there's a bunch of problems with them
<nixtacular> infinisil: what kind of problems? is there a current better practice for achieving the same thing? i'm trying to collect all these things for my book ;-)
ghost64 has joined #nixos
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « glibc: NIX_CFLAGS_COMPILE -> always string »: https://git.io/Jeupd
ghost64 is now known as Guest51535
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to bash-no-undef-vars: https://git.io/JeupF
<infinisil> Well the problem we just encountered for example, that you can't override buildRubyGem arguments. This is because even though `buildRubyGems` is defined in terms of `lib.makeOverridable` which adds a `.override` that could override the arguments, this `.override` is overridden because the bundler expression itself is called with `callPackage` which calls *another* `makeOverridable`. This means the
<infinisil> old `.override` got replaced with one that overrides the arguments { buildRubyGem, ruby }
mexisme has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
<infinisil> You can think of this as a stack of functions (the one in bundler/default.nix -> buildRubyGem -> mkDerivation) where only the top-most one that calls `makeOverridable` can have the final `.override` that overrides its own argumennts
<infinisil> nixtacular: Or actually rather (callPackage -> buildRubyGem -> mkDerivation), and both callPackage and buildRubyGem use `makeOverridable`
<infinisil> I'd like to fix this problem in nixpkgs eventually, I'll have to think about how to do it well though
<nixtacular> infinisil: that all makes sense. thanks for the explanation.
<Raito_Bezarius> if I use // does it deep merge two attrsets?
wewerrr has quit [Quit: Lost terminal]
<infinisil> Raito_Bezarius: Try it out, start `nix repl` and explore
<nixtacular> infinisil: i think a related problem is that there isn't a standardized convenience function to do what `buildRubyGem` and its equivalents across all the different language-centric expressions do
<nixtacular> for example, vim packages has its own thing
<nixtacular> node packages has its own thing, etc.
<Raito_Bezarius> infinisil: the difficult stuff with REPL is I never know how to force eval the attrsets
<Raito_Bezarius> I just get lazy eval
<Raito_Bezarius> ,eval
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 5 commits to nixos-19.03-small: https://git.io/JeubU
<infinisil> nixtacular: Indeed, that's a big problem
<infinisil> And there's a whole bunch more problems with package set overriding
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « treewide: NIX_CFLAGS_COMPILE -> string »: https://git.io/Jeuph
<infinisil> Raito_Bezarius: Use `:p <some evaluation>`, this will make it strict
<Raito_Bezarius> And this confirms that // do not deep merge :)
<Raito_Bezarius> recursiveUpdate does it though it seems like
<nixtacular> infinisil: would there be any appetite for someone to come along and standardize the `buildRubyGem`-like functions? i admit that i may not know what i'm asking for here...haha. i'd be curious about taking a stab but also wouldn't want to step on anyone's toes, it would be a potentially disruptive change if it were actually implemented.
teressa has joined #nixos
drakonis has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/705cd7f814b (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
mexisme has quit [Ping timeout: 265 seconds]
gkmngrgn has quit [Quit: WeeChat 2.3]
gkmngrgn has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #72278 → keepalived: 1.4.2 -> 1.4.5, patch CVE-2018-19115 → https://git.io/Jeuhv
gkmngrgn has quit [Client Quit]
<infinisil> nixtacular: This would probably need an RFC (see https://github.com/NixOS/rfcs) and be well thought out. Would be awesome to have somebody work on this, but I can tell you that's no easy task, as nixpkgs is so big and there's so many different use cases.
gkmngrgn has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
<nixtacular> infinisil: nice :-) . ok i'll think about it. still relatively new and doing some modest PR's to get acquainted with everything.
<{^_^}> [nixpkgs] @Ericson2314 pushed to bash-no-undef-vars « gettext, libiconv: `dontAddExtraLibs` can be legitimately undefined »: https://git.io/JeuhJ