sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || 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
sigmundv has quit [Ping timeout: 244 seconds]
qubasa has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
qubasa_ has quit [Ping timeout: 248 seconds]
stepcut has joined #nixos
lovesegfault has quit [Ping timeout: 246 seconds]
wildtrees has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64956 → syncplay: 1.6.3 -> 1.6.4 → https://git.io/fj1m0
zaeph has quit [Ping timeout: 264 seconds]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/a5b5fb918eb (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
zaeph has joined #nixos
Guanin has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj1mV
rsoeldner has joined #nixos
drakonis1 has joined #nixos
drakonis_ has quit [Ping timeout: 264 seconds]
stepcut_ has joined #nixos
stepcut has quit [Ping timeout: 245 seconds]
rsoeldner has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64957 → stacks: 2.4 -> 2.41 → https://git.io/fj1mi
Diagon has joined #nixos
Chiliparrot has joined #nixos
<infinisil> Well they're gone now, but `nix path-info -S` gives the runtime closure, not the buildtime one
<infinisil> ,tell pamplemousse For the record, `nix path-info -S` gives the runtime closure, not the build-time one
<{^_^}> infinisil: I'll pass that on to pamplemousse
fionnan__ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64958 → strace: 5.1 -> 5.2 → https://git.io/fj1m1
fionnan has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64959 → tgt: 1.0.78 -> 1.0.79 → https://git.io/fj1mQ
stepcut_ has quit [Remote host closed the connection]
stepcut has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64960 → uftp: 4.9.11 -> 4.10 → https://git.io/fj1mN
jluttine has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64961 → termtosvg: 0.8.0 -> 0.9.0 → https://git.io/fj1mp
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fj1mh
<{^_^}> [nixpkgs] @aanderse merged pull request #55532 → mumsi: Init at unstable-2018-12-12 → https://git.io/fhHjY
day|flip has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #64870 → pius: 2.2.7 -> 3.0.0 → https://git.io/fjXNn
<{^_^}> [nixpkgs] @ryantm pushed 7 commits to master: https://git.io/fj1Yf
<kandinski> I'm stuck on 18.09 because I depend on synergy/barrier for workflows, and they didn't work with 19.04 because of Wayland. It's an ignorant question, but is there a simple way to run 19.04+ without wayland (xorg?)?
<day|flip> gnome?
rsoeldner has joined #nixos
stepcut has quit [Remote host closed the connection]
<day|flip> kandinski: if this is gnome. on gdm. click on your name. you see * right below. click on that. can pick gnome xorg
<day|flip> then sign in as normal
<day|flip> or login
<{^_^}> [nixpkgs] @aanderse merged pull request #64907 → cypress: init at 3.4.0 → https://git.io/fj1e5
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fj1YL
stepcut has joined #nixos
<{^_^}> [nixpkgs] @aanderse closed pull request #58423 → cypress: init at 3.2.0 → https://git.io/fjU1J
justanotheruser has joined #nixos
rsoeldner has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @kalbasit opened pull request #64962 → [WIP] Add/Update python packages → https://git.io/fj1Yq
<kandinski> day|flip: thanks, yes it's gnome. Good to know.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64963 → gitAndTools.subgit: 3.3.6 -> 3.3.7 → https://git.io/fj1YO
MrCCoffee has joined #nixos
<day|flip> did that work for you?
kim0 has quit [Quit: Connection closed for inactivity]
justan0theruser has joined #nixos
justanotheruser has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64964 → tesseract4: 4.0.0 -> 4.1.0 → https://git.io/fj1Yn
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64936 → git-crypt: include man pages in output → https://git.io/fj1kj
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fj1Yc
<teto> I am modifying the nixos test infrastructure a bit to reuse parts of it in nixos=shell but I get "Module `:anon-937' has an unsupported attribute `pkgs'. This is caused by assignments to the top-level attributes `config' or `options'." : How can I name my module to get sthg else than "anon-937". I am not sure how to debug this. I don't think I have an option or config item named "pkgs"
<clever> teto: _file = ./myself.nix;
<clever> teto: that is a special internal option that can be set on any nixos module, imports sets it for you, which is why you normally get useful errors
<clever> but imports = [ { foo } ]; doesnt know where the attrset came from
kerffufel[m] has joined #nixos
<{^_^}> #64965 (by grahamc, 7 seconds ago, open): NetworkManager with L2TP and IPSec VPN is tricky to configure under sway, and sometimes doesn't work
zaeph has quit [Ping timeout: 252 seconds]
<kerffufel[m]> I just learned about NixOs today
<ldlework> kerffufel[m]: welcome to the future
<kerffufel[m]> I know right, its finally the holy grail ive been looking for
<teto> gchristensen: I've been wanting to write a nixos test for that but as there was no tests for networkmanager, I had to spend some time tweaking the testing infra (which motivated me to write https://nixos.wiki/wiki/NixOS_Testing_library).
<gchristensen> oh cool!
stepcut has quit [Remote host closed the connection]
<teto> gchristensen: weird that /etc/ipsec.secrets is not created. I thought I had fixed this. Maybe I've done something silly like adding strongswan as a module and that creates the file
<gchristensen> somehow it would get created sometimes, sometimesit wouldn't
<gchristensen> anyway. bed :)
<gchristensen> time to turn in to a pumpkin.
___laika has joined #nixos
rsoeldner has joined #nixos
janneke has quit [Ping timeout: 250 seconds]
kerffufel[m] has left #nixos ["User left"]
orivej has quit [Ping timeout: 246 seconds]
janneke has joined #nixos
ddellacosta has quit [Ping timeout: 268 seconds]
MrCCoffee has quit [Quit: Lost terminal]
rsoeldner has quit [Ping timeout: 268 seconds]
<teto> clever I've tried adding _file to some of the modules to no avail (adding _file="toto"; for instance). Any tip to debug this ? -vvvvv is not helpful and I confess I am a bit lost.
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> teto: can you link a branch on github with your changes?
<clever> teto: including the _file additions
zaeph has joined #nixos
wucke13 has quit [Quit: ZNC 1.7.3 - https://znc.in]
mumuluxi has quit [Quit: ZNC 1.7.3 - https://znc.in]
hamishmack has joined #nixos
qubasa has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
qubasa has joined #nixos
layus has quit [Quit: ZNC 1.7.3 - https://znc.in]
wucke13 has joined #nixos
das_j has quit [Quit: "Bye!";]
mumuluxi has joined #nixos
orivej has joined #nixos
das_j has joined #nixos
layus has joined #nixos
andi- has quit [Remote host closed the connection]
<teto> clever I've messed with a lot of things and the error is caused by running nix code from 3 different codebases so not sure I wanna make you lose your time with that. Basically I get this error https://paste.ubuntu.com/p/Sxjjnb3BzZ/ when callning my fork of nixos-shell https://github.com/teto/nixos-shell/tree/vde (look at driver.nix) on a standard VM config https://github.com/teto/netlink_pm/blob/v5/vm.nix
<teto> (should be no problem with it).
<teto> maybe I should try running hnix. I miss types, it's hard to get how some functions interact.
jb55 has quit [Ping timeout: 260 seconds]
jb55 has joined #nixos
<teto> just trying to understand the error: does it mean I have a "pkgs" entry in a "config" or "options" attrset ?
<clever> teto: i think you have a pkgs =, in a nixos module
<clever> teto: check over all of your files to see where you do pkgs =
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
andi- has joined #nixos
aw has joined #nixos
spacefrogg has joined #nixos
<teto> clever: I've added a builtins.trace m before lib/modules.nix throws the error. At last it gave me a starting point :)
<clever> teto: one problem, is that the --show-trace, is the call-stack of how a thunk got forced
<clever> not the chain of imports that created the thunk
orivej has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #64925 → python37Packages.yapf: 0.27.0 -> 0.28.0 → https://git.io/fj1Tt
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fj1Yy
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64966 → gnome3.totem: 3.32.0 -> 3.32.1 → https://git.io/fj1YS
<{^_^}> [nixpkgs] @ryantm merged pull request #64908 → qsynth: 0.5.6 -> 0.5.7 → https://git.io/fj1ep
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fj1Y9
<{^_^}> [nixpkgs] @ryantm merged pull request #64860 → pagemon: 0.01.14 -> 0.01.15 → https://git.io/fjXbe
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fj1YH
<{^_^}> [nixpkgs] @ryantm merged pull request #64862 → picard-tools: 2.20.2 -> 2.20.3 → https://git.io/fjXbY
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fj1YQ
<{^_^}> [nixpkgs] @ryantm merged pull request #64857 → ocserv: 0.12.3 -> 0.12.4 → https://git.io/fjXFP
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fj1Y7
<{^_^}> [nixpkgs] @ryantm merged pull request #64856 → parlatype: 1.6-beta -> 1.6.1 → https://git.io/fjXFr
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fj1Y5
fusion809 has joined #nixos
Diagon has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @ryantm closed pull request #60562 → harfbuzz: 2.3.1 -> 2.4.0 → https://git.io/fjZ30
monotux has quit [Quit: WeeChat 2.4]
monotux has joined #nixos
jluttine has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #64924 → python37Packages.s3fs: 0.2.1 -> 0.2.2 → https://git.io/fj1Up
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fj1YF
<{^_^}> [nixpkgs] @ryantm merged pull request #64938 → sc-controller: 0.4.6.1 -> 0.4.7 → https://git.io/fj1Ic
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fj1YA
rsoeldner has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #64864 → pkgconf: 1.6.1 -> 1.6.3 → https://git.io/fjXbB
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fj1Yp
<{^_^}> [nixpkgs] @ryantm merged pull request #64858 → openttd: 1.9.1 -> 1.9.2 → https://git.io/fjXFX
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fj1Yj
<{^_^}> [nixpkgs] @kalbasit merged pull request #64903 → bazel: drop absolute Python path → https://git.io/fjXj5
<{^_^}> [nixpkgs] @kalbasit pushed 2 commits to master: https://git.io/fj1Oe
<{^_^}> [nixpkgs] @ryantm merged pull request #64827 → libcdaudio: 0.99.12 -> 0.99.12p2 → https://git.io/fjX9D
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fj1Ov
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64967 → vips: 8.8.0 -> 8.8.1 → https://git.io/fj1Of
<{^_^}> [nixpkgs] @ryantm merged pull request #64851 → multipath-tools: 0.8.1 -> 0.8.2 → https://git.io/fjXdH
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fj1OJ
<{^_^}> [nixpkgs] @ryantm merged pull request #64854 → osl: 1.10.5 -> 1.10.6 → https://git.io/fjXF3
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fj1OT
<kiloreux> I am trying to resolve glibLocales problem but none of what I tried is working out so far.
<kiloreux> I import my packages from a pinned version of nixpkgs.
<kiloreux> Tried installing gliblocales
jb55 has quit [Ping timeout: 260 seconds]
<kiloreux> And pointing LOCAL_ARCHIVE to that nix directory of local-archive
<kiloreux> Yet I still get that error
rsoeldner has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64968 → x265: 3.0 -> 3.1.1 → https://git.io/fj1OL
jasongrossman has joined #nixos
dftxbs3e has quit [Ping timeout: 250 seconds]
Okinan has quit [Quit: Konversation terminated!]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
orivej has joined #nixos
dftxbs3e has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64969 → wcslib: 6.2 -> 6.3 → https://git.io/fj1On
<teto> gosh I suffered but I fixed it. thanks clever
<clever> teto: what was it?
<{^_^}> [nixpkgs] @marsam merged pull request #64855 → wtf: 0.11.0 -> 0.17.0 → https://git.io/fjXFE
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj1OB
<teto> I am not sure exaclty, I think I was importing stuff incorrectly between import <nixpkgs/nixos/lib/build-vms.nix> and <nixos/default.nix>. This fixed it https://paste.ubuntu.com/p/4TngtBycr2/
<teto> I wonder if there is an up to date rationale about nix as a programming language. I think nixos is awesome and on the same level as git in terms of disruption but I have yet to be convinced by nix as a language.
<teto> everytime I need to change sthg slightly more involving than modifying a package, it turns into a mudfight, between the "with" calls that mess up the scope, the callPackage that autoamtically imports stuff, no tooling (no viable LSP backend), it's not fun
<clever> teto: i try to avoid with for that reason
rsoeldner has joined #nixos
linarcx has quit [Quit: WeeChat 2.5]
rsoeldner has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64971 → wpgtk: 6.0.7 -> 6.0.8 → https://git.io/fj1Oa
domogled has joined #nixos
wfranzini has quit [Remote host closed the connection]
domogled has quit [Client Quit]
domogled has joined #nixos
domogled1 has joined #nixos
detran has joined #nixos
domogled has quit [Ping timeout: 272 seconds]
domogled1 is now known as domogled
mniip has quit [Quit: This page is intentionally left blank.]
rsoeldner has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #64958 → strace: 5.1 -> 5.2 → https://git.io/fj1m1
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fj1OK
abathur has quit [Ping timeout: 245 seconds]
jasongrossman has quit [Ping timeout: 272 seconds]
rsoeldner has quit [Remote host closed the connection]
Rusty1 has quit [Quit: Konversation terminated!]
rsoeldner has joined #nixos
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #nixos
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
mexisme_ has quit [Ping timeout: 245 seconds]
knupfer has joined #nixos
rsoeldner has quit [Read error: Connection reset by peer]
rsoeldner has joined #nixos
endformationage has quit [Quit: WeeChat 2.5]
<kiloreux> I have gone through all possible fixes for glibLocales on the github issues. But none fo them seem to work for me :/
palo1 has joined #nixos
<kiloreux> Are there any fixes from the community? Or could someone help me with this?
<clever> kiloreux: what is the error your getting?
knupfer has quit [Ping timeout: 250 seconds]
<kiloreux> Wheneve I try running anytool I just get that LC_ALL error again.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64972 → webkitgtk: 2.24.2 -> 2.24.3 → https://git.io/fj1OH
<kiloreux> clever, For the record I am install gliblocales from a pinned nixpkgs version. `(builtins.fetchTarball https://github.com/NixOS/nixpkgs/archive/276d8c97bb1a3de52a4eabf696cfdf708d334e85.tar.gz)`
<clever> kiloreux: how did you install it? nix-env? systemPackages?
<kiloreux> nix-env
<{^_^}> [nixpkgs] @marsam opened pull request #64973 → gitAndTools.git-absorb: 0.4.0 -> 0.5.0 → https://git.io/fj1OQ
<kiloreux> On Ubuntu btw
<clever> kiloreux: if installing it with nix-env, you would point LOCALE_ARCHIVE to somewhere under ~/.nix-profile i think
abbiya has joined #nixos
palo has quit [Ping timeout: 272 seconds]
palo1 is now known as palo
<clever> export LOCALE_ARCHIVE=/nix/store/1pnj3bmp7cfk4c6fbrmzli9w3kcdlgmw-glibc-locales-2.27/lib/locale/locale-archive
<kiloreux> Yeah, doing that exactly. ~/.nix-profile/lib/locale/locale-archive
<clever> kiloreux: and it should be a subdir like this
<clever> kiloreux: and what does `locale` print out?
<kiloreux> clever, prints this https://pastebin.com/bjBxUTGf
<kiloreux> But trying to run something like `aws`
<kiloreux> Gives me this
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
<kiloreux> clever, what do you think?
mexisme_ has joined #nixos
zupo has joined #nixos
thedavidmeister has joined #nixos
<thedavidmeister> hey how do i get nixos-rebuild to target a specific commit in the channel?
rauno has quit [Ping timeout: 250 seconds]
<etu> thedavidmeister: nixos-rebuild <command> -I nixos=https://github.com/NixOS/nixpkgs-channels/archive/eadc8510514.tar.gz
<etu> thedavidmeister: And replace the commit id as you want
<etu> What it does is that it overrides the channel named nixos and points it to wherever you want for that rebuild :)
<kiloreux> etu, why is it that when I do what you just suggested. It tried to rebuild everything (and runs out of my space in my disk)?
<kiloreux> Is it expected to have that behavior?
<kiloreux> (I know I am hijacking, but was just curious)
mexisme has joined #nixos
thedavidmeister has quit [Ping timeout: 245 seconds]
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
mexisme_ has quit [Ping timeout: 245 seconds]
<etu> kiloreux: Probably because it's many differences from what you had on your system before so it basically puts new store paths for everything in your config. And as you may now, nix doesn't replace things. It puts in new things. So if you're low on space you may need to garbage collect your store or have a bigger disk :)
thedavidmeister has joined #nixos
<kiloreux> etu, Thank you. I wander, why wouldn't it use the binary cache to pull what it already knows?
<etu> kiloreux: It should, but for some reason that commit may not be cached etc. I don't think they build the full archive for each commit. They do it for each channel update.
<kiloreux> I actually tried to use 19.03 channel as a tar.gz and it still tried to build everything. Puzzling
day|flip has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64974 → vnstat: 2.2 -> 2.3 → https://git.io/fj1Oj
<etu> kiloreux: If you have overlays overriding stuff you can get many rebuilds...
<clever> kiloreux: what is line 4 of ~/.nix-profile/bin/aws ?
<kiloreux> clever, `export LANG="en_US.UTF-8"`
<clever> kiloreux: what about `strace -o logfile aws` and then pastebin the whole logfile, after confirming it doesnt contain your access-key-secret from aws
mexisme has quit [Ping timeout: 245 seconds]
thedavidmeister has quit [Ping timeout: 245 seconds]
___laika has quit [Ping timeout: 272 seconds]
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #64975 → vttest: 20190105 -> 20190710 → https://git.io/fj13I
<clever> open("/home/vagrant/.nix-profile/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
<clever> kiloreux: yep, it is opening the locale archive
<kiloreux> I am not sure I fully understand what that mean :/
<clever> kiloreux: i cant see anything obviously wrong
hyper_ch2 has joined #nixos
<kiloreux> Ahh :(. Okay
mexisme has joined #nixos
mexisme has quit [Ping timeout: 264 seconds]
<kiloreux> clever, There's something weird. If I use <nixpkgs> that error goes. However if I use the pinned version it's still there. Even if I use the same commit from the current <nixpkgs> it stays.
<kiloreux> What could it be due to ?
<{^_^}> [nixpkgs] @marsam merged pull request #64963 → gitAndTools.subgit: 3.3.6 -> 3.3.7 → https://git.io/fj1YO
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj138
<clever> kiloreux: it sounds like the bash from aws, is linked against a glibc that cant understand the glibcLocales
bakakuna has joined #nixos
<clever> kiloreux: it may help if both aws and glibcLocales come from the same nixpkgs
<kiloreux> I am actually using pypi2nix to install aws.
<kiloreux> How can I install it from nixpkgs?
<clever> ,locate bin/aws
<{^_^}> Found in packages: aws, awscli
<clever> nix-env -f '<nixpkgs>' -iA aws
dansho has joined #nixos
<kiloreux> Thank you, will try it.
* clever heads off to bed
oida has quit [Remote host closed the connection]
oida has joined #nixos
<kiloreux> clever, Thank you very much. That was super helpful.
bakakuna has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #64967 → vips: 8.8.0 -> 8.8.1 → https://git.io/fj1Of
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj13w
<{^_^}> [nixpkgs] @marsam merged pull request #64954 → pythonPackages.filebytes: 0.9.20 -> 0.9.21 → https://git.io/fj1qi
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj13r
<{^_^}> [nixpkgs] @marsam merged pull request #64961 → termtosvg: 0.8.0 -> 0.9.0 → https://git.io/fj1mp
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj13o
Ariakenom has quit [Quit: Leaving]
___laika has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #64918 → python37Packages.typing-extensions: 3.7.2 -> 3.7.4 → https://git.io/fj1Uv
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj136
Guanin has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #64902 → python37Packages.fitbit: 0.3.0 -> 0.3.1 → https://git.io/fjXjB
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj131
___laika has quit [Ping timeout: 245 seconds]
rsoeldner has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #64878 → python37Packages.geopandas: 0.5.0 -> 0.5.1 → https://git.io/fjXAz
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj13M
rsoeldner has joined #nixos
Tucky has joined #nixos
bakakuna has joined #nixos
rsoeldner has quit [Ping timeout: 245 seconds]
rsoeldner has joined #nixos
bakakuna has quit [Ping timeout: 246 seconds]
LnL7 has joined #nixos
LnL7 has quit [Changing host]
<{^_^}> [nixpkgs] @marsam merged pull request #64875 → python37Packages.pex: 1.6.7 -> 1.6.8 → https://git.io/fjXNh
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj135
bakakuna has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @marsam closed pull request #64871 → python37Packages.filebytes: 0.9.20 -> 0.9.21 → https://git.io/fjXN0
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
Jackneill has joined #nixos
<abbiya> i am not able to get the ui apps like firefox shown in ubuntu after installing them nix
<{^_^}> [nixpkgs] @marsam merged pull request #64890 → python37Packages.flask-paginate: 0.5.2 -> 0.5.3 → https://git.io/fjXp0
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj13b
bakakuna has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #64889 → python37Packages.josepy: 1.1.0 -> 1.2.0 → https://git.io/fjXpt
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj13A
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj13p
<{^_^}> [nixpkgs] @marsam merged pull request #64881 → python37Packages.django_taggit: 0.23.0 -> 1.1.0 → https://git.io/fjXAP
bakakuna has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #64883 → python37Packages.micawber: 0.4.1 -> 0.5.0 → https://git.io/fjXAN
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj1se
<{^_^}> [nixpkgs] @marsam merged pull request #64885 → python37Packages.phonenumbers: 8.10.12 -> 8.10.14 → https://git.io/fjXx8
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj1sv
mexisme has joined #nixos
rsoeldner has quit [Read error: Connection reset by peer]
rsoeldner has joined #nixos
markus1189 has quit [Ping timeout: 244 seconds]
___laika has joined #nixos
markus1189 has joined #nixos
linarcx has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/973a2705351 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<linarcx> Hello. i want to develop qt applications on nixos. but in qt-creator i can't access "Help" and "Examples". Anybody here had same problem before?
rsoeldner has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #64806 → nixos/systemd: 242 supports Type = exec → https://git.io/fjXMY
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fj1sU
dwdr has joined #nixos
thc202 has joined #nixos
winem_ has joined #nixos
cfricke has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #64923 → python37Packages.pysaml2: 4.7.0 -> 4.8.0 → https://git.io/fj1UD
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj1s3
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj1ss
<{^_^}> [nixpkgs] @marsam merged pull request #64973 → gitAndTools.git-absorb: 0.4.0 -> 0.5.0 → https://git.io/fj1OQ
veske has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @rycee pushed commit from @jtojnar to master « pytrainer: 1.12.1 → 2.0.0 »: https://git.io/fj1sn
<{^_^}> [nixpkgs] @rycee closed pull request #53125 → pytrainer: 1.12.1 → 2.0.0 → https://git.io/fhtkl
<{^_^}> [nixpkgs] @doronbehar opened pull request #64976 → Make mpv mpris plugin install script not as $out → https://git.io/fj1sW
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @vyorkin opened pull request #64977 → telega-server: init at 2019-07-10 → https://git.io/fj1sl
<{^_^}> [nixpkgs] @FRidh merged pull request #64736 → perlPackages.{EmailSender,FileFindObjectRule}: fix tests → https://git.io/fjXzk
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fj1sB
<teto> writing a nixos test, I need to compare the output of a shell command that returns a number (as a string I guess) to a number. any idea ?
<inquisitiv3> simpson: I read the articles you linked yesterday, but I can't find the explaination for "isolation at compilation"? Or did I maybe missunderstand something_
<inquisitiv3> ?
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #64975 → vttest: 20190105 -> 20190710 → https://git.io/fj13I
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « vttest: 20190105 -> 20190710 »: https://git.io/fj1sz
bahamas has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #64974 → vnstat: 2.2 -> 2.3 → https://git.io/fj1Oj
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « vnstat: 2.2 -> 2.3 »: https://git.io/fj1sg
<{^_^}> [nixpkgs] @FRidh merged pull request #64972 → webkitgtk: 2.24.2 -> 2.24.3 → https://git.io/fj1OH
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « webkitgtk: 2.24.2 -> 2.24.3 »: https://git.io/fj1s2
<{^_^}> [nixpkgs] @FRidh merged pull request #64971 → wpgtk: 6.0.7 -> 6.0.8 → https://git.io/fj1Oa
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « wpgtk: 6.0.7 -> 6.0.8 »: https://git.io/fj1sa
<{^_^}> [nixpkgs] @FRidh merged pull request #64969 → wcslib: 6.2 -> 6.3 → https://git.io/fj1On
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « wcslib: 6.2 -> 6.3 »: https://git.io/fj1sw
<{^_^}> [nixpkgs] @FRidh merged pull request #64966 → gnome3.totem: 3.32.0 -> 3.32.1 → https://git.io/fj1YS
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « gnome3.totem: 3.32.0 -> 3.32.1 »: https://git.io/fj1sr
<{^_^}> [nixpkgs] @FRidh merged pull request #64964 → tesseract4: 4.0.0 -> 4.1.0 → https://git.io/fj1Yn
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « tesseract4: 4.0.0 -> 4.1.0 »: https://git.io/fj1so
<{^_^}> [nixpkgs] @FRidh merged pull request #64960 → uftp: 4.9.11 -> 4.10 → https://git.io/fj1mN
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « uftp: 4.9.11 -> 4.10 »: https://git.io/fj1sK
<{^_^}> [nixpkgs] @FRidh merged pull request #64959 → tgt: 1.0.78 -> 1.0.79 → https://git.io/fj1mQ
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « tgt: 1.0.78 -> 1.0.79 »: https://git.io/fj1s6
<{^_^}> [nixpkgs] @FRidh merged pull request #64957 → stacks: 2.4 -> 2.41 → https://git.io/fj1mi
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « stacks: 2.4 -> 2.41 »: https://git.io/fj1si
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « syncplay: 1.6.3 -> 1.6.4 »: https://git.io/fj1s1
<{^_^}> [nixpkgs] @FRidh merged pull request #64956 → syncplay: 1.6.3 -> 1.6.4 → https://git.io/fj1m0
<{^_^}> [nixpkgs] @FRidh merged pull request #64955 → rsyslog: 8.1905.0 -> 8.1907.0 → https://git.io/fj1mI
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « rsyslog: 8.1905.0 -> 8.1907.0 »: https://git.io/fj1sD
<{^_^}> [nixpkgs] @FRidh merged pull request #64953 → sauce-connect: 4.5.1 -> 4.5.3 → https://git.io/fj1qf
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « sauce-connect: 4.5.1 -> 4.5.3 »: https://git.io/fj1sS
<{^_^}> [nixpkgs] @FRidh merged pull request #64950 → python37Packages.ROPGadget: 5.4 -> 5.8 → https://git.io/fj1tJ
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.ROPGadget: 5.4 -> 5.8 »: https://git.io/fj1sQ
<{^_^}> [nixpkgs] @FRidh merged pull request #64949 → skypeforlinux: 8.47.0.59 -> 8.49.0.49 → https://git.io/fj1te
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « skypeforlinux: 8.47.0.59 -> 8.49.0.49 »: https://git.io/fj1s5
<{^_^}> [nixpkgs] @FRidh merged pull request #64946 → smemstat: 0.02.03 -> 0.02.04 → https://git.io/fj1Lr
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « smemstat: 0.02.03 -> 0.02.04 »: https://git.io/fj1sd
<{^_^}> [nixpkgs] @FRidh merged pull request #64944 → spoofer: 1.4.2 -> 1.4.5 → https://git.io/fj1LI
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « spoofer: 1.4.2 -> 1.4.5 »: https://git.io/fj1sF
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « shc: 4.0.2 -> 4.0.3 »: https://git.io/fj1sb
<{^_^}> [nixpkgs] @FRidh merged pull request #64943 → shc: 4.0.2 -> 4.0.3 → https://git.io/fj1Ij
<{^_^}> [nixpkgs] @FRidh merged pull request #64937 → rabbitmq-server: 3.7.15 -> 3.7.16 → https://git.io/fj1IU
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « rabbitmq-server: 3.7.15 -> 3.7.16 »: https://git.io/fj1sN
<{^_^}> [nixpkgs] @FRidh merged pull request #64934 → python37Packages.pyopencl: 2018.2.5 -> 2019.1 → https://git.io/fj1kV
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.pyopencl: 2018.2.5 -> 2019.1 »: https://git.io/fj1sA
<{^_^}> [nixpkgs] @lilyball opened pull request #64978 → magic-wormhole: include manpage → https://git.io/fj1sx
___laika has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #64928 → python37Packages.splinter: 0.10.0 -> 0.11.0 → https://git.io/fj1TX
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.splinter: 0.10.0 -> 0.11.0 »: https://git.io/fj1Ge
<{^_^}> [nixpkgs] @FRidh merged pull request #64915 → python37Packages.python-gitlab: 1.8.0 -> 1.9.0 → https://git.io/fj1JO
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.python-gitlab: 1.8.0 -> 1.9.0 »: https://git.io/fj1Gf
<{^_^}> [nixpkgs] @FRidh merged pull request #64906 → python37Packages.whichcraft: 0.5.2 -> 0.6.0 → https://git.io/fj1e7
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.whichcraft: 0.5.2 -> 0.6.0 »: https://git.io/fj1GJ
<{^_^}> [nixpkgs] @FRidh merged pull request #64896 → python37Packages.piexif: 1.1.2 -> 1.1.3 → https://git.io/fjXhH
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.piexif: 1.1.2 -> 1.1.3 »: https://git.io/fj1GU
<{^_^}> [nixpkgs] @abbradar merged pull request #64904 → buildBazelPackage: cleanup hacks and enforce them for all builds → https://git.io/fjXjp
<{^_^}> [nixpkgs] @abbradar pushed to master « buildBazelPackage: cleanup hacks and enforce them for all builds »: https://git.io/fj1GT
<{^_^}> [nixpkgs] @FRidh merged pull request #64887 → python37Packages.google-auth-oauthlib: 0.3.0 -> 0.4.0 → https://git.io/fjXx1
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.google-auth-oauthlib: 0.3.0 -> 0.4.0 »: https://git.io/fj1Gk
<{^_^}> #59580 (by LinArcX, 13 weeks ago, open): Cannot open qt cretor help
<{^_^}> [nixpkgs] @FRidh merged pull request #64880 → python37Packages.identify: 1.4.3 -> 1.4.5 → https://git.io/fjXAV
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.identify: 1.4.3 -> 1.4.5 »: https://git.io/fj1GI
<{^_^}> [nixpkgs] @FRidh merged pull request #64877 → dot2tex: 2.9.0 -> 2.11.3 → https://git.io/fjXAB
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « dot2tex: 2.9.0 -> 2.11.3 »: https://git.io/fj1GL
<{^_^}> [nixpkgs] @FRidh merged pull request #64872 → python37Packages.dbf: 0.98.0 -> 0.98.2 → https://git.io/fjXNK
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.dbf: 0.98.0 -> 0.98.2 »: https://git.io/fj1Gt
<teto> nevermind, seems like int("4\n") works ok
<{^_^}> [nixpkgs] @FRidh merged pull request #64868 → poco: 1.9.0 -> 1.9.2 → https://git.io/fjXNL
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « poco: 1.9.0 -> 1.9.2 »: https://git.io/fj1GO
<{^_^}> [nixpkgs] @FRidh merged pull request #64867 → pmd: 6.15.0 -> 6.16.0 → https://git.io/fjXbH
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « pmd: 6.15.0 -> 6.16.0 »: https://git.io/fj1G3
<{^_^}> [nixpkgs] @FRidh merged pull request #64863 → python37Packages.asgiref: 3.1.2 -> 3.1.4 → https://git.io/fjXb3
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.asgiref: 3.1.2 -> 3.1.4 »: https://git.io/fj1GG
<{^_^}> [nixpkgs] @FRidh merged pull request #64859 → openimageio2: 2.0.8 -> 2.0.9 → https://git.io/fjXFM
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « openimageio2: 2.0.8 -> 2.0.9 »: https://git.io/fj1Gn
<{^_^}> [nixpkgs] @FRidh merged pull request #64845 → libwebp: 1.0.2 -> 1.0.3 → https://git.io/fjX5Y
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « libwebp: 1.0.2 -> 1.0.3 »: https://git.io/fj1G8
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « lxcfs: 3.0.3 -> 3.0.4 »: https://git.io/fj1GR
<{^_^}> [nixpkgs] @FRidh merged pull request #64842 → lxcfs: 3.0.3 -> 3.0.4 → https://git.io/fjX7R
<{^_^}> [nixpkgs] @FRidh merged pull request #64834 → libdap: 3.20.3 -> 3.20.4 → https://git.io/fjXQY
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « libdap: 3.20.3 -> 3.20.4 »: https://git.io/fj1GE
<{^_^}> [nixpkgs] @FRidh merged pull request #64866 → postfix: 3.4.5 -> 3.4.6 → https://git.io/fjXbP
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « postfix: 3.4.5 -> 3.4.6 »: https://git.io/fj1GV
<{^_^}> [nixpkgs] @FRidh merged pull request #64820 → imagemagick7: 7.0.8-46 -> 7.0.8-53 → https://git.io/fjXSY
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « imagemagick7: 7.0.8-46 -> 7.0.8-53 »: https://git.io/fj1Gr
<{^_^}> [nixpkgs] @FRidh merged pull request #64819 → intel-media-driver: 19.1.0 -> 19.2 → https://git.io/fjXSI
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fj1Go
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #64818 → josm: 15155 -> 15238 → https://git.io/fjXyA
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « josm: 15155 -> 15238 »: https://git.io/fj1GK
m0rphism has joined #nixos
<bahamas> is there a way to manage services with nix in development? I'm thinking of stuff like postgres, redis, etc.
<sphalerite> infinisil: du measures space usage according to the filesystem. So it's probably affected by compression and stuff in your case. du --apparent-size is likely to get closer, but won't include filenames and such (which the nar serialisation does)
seanparsons has quit [Quit: ZNC 1.7.3 - https://znc.in]
<{^_^}> [nixpkgs] @edude03 opened pull request #64979 → kubernetes-helm: 2.11 -> 2.14.1 → https://git.io/fj1G1
seanparsons has joined #nixos
<sphalerite> infinisil: colemickens: nix-shell -p _does_ still bring in stdenv, including gcc and stuff
literon has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #64873 → pythonPackages.spacy: 2.1.4 -> 2.1.6 → https://git.io/fjXN6
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fj1GF
<literon> Good morning.
<sphalerite> bahamas: yes, it's called nixos :)
<sphalerite> bahamas: other than that, not that I know of. It certainly would be nice to have something like nix-shell that can also start up services
<literon> I would need some hints on allowing some impurity (accessing a cache dir) in nix-build. First, is my assumption correct, that build is chrooted to the worker dir?
<bahamas> sphalerite: I'm looking at this document https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/python.section.md and it says that it's not recommended to do nix-shell -p <packages>. do you know why?
<{^_^}> [nixpkgs] @FRidh merged pull request #64942 → pythonPackages.mwparserfromhell: init at 0.5.4 → https://git.io/fj1IF
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fj1Ze
<{^_^}> [nixpkgs] @FRidh merged pull request #64751 → Many packages from SciPy sprints important to numpy, scipy, numba, matplotlib → https://git.io/fjX2t
<{^_^}> [nixpkgs] @FRidh pushed 29 commits to master: https://git.io/fj1ZJ
<{^_^}> [nixpkgs] @FRidh merged pull request #64526 → isoweek: init at 1.3.3 → https://git.io/fj1Zk
<{^_^}> [nixpkgs] @FRidh pushed commit from @MrMebelMan to master « pythonPackages.isoweek: init at 1.3.3 »: https://git.io/fj1ZI
<{^_^}> [nixpkgs] @abbradar merged pull request #62955 → resolvconf service: init → https://git.io/fjgsl
<{^_^}> [nixpkgs] @abbradar pushed 2 commits to master: https://git.io/fj1ZL
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @abbradar merged pull request #64387 → nixos/openldap: fix assertion → https://git.io/fjiJj
<{^_^}> [nixpkgs] @abbradar pushed commit from @jameysharp to master « nixos/openldap: fix assertion »: https://git.io/fj1Zt
<{^_^}> [nixpkgs] @FRidh merged pull request #63892 → pythonPackages.robotframework: 3.0.4 -> 3.1.2 → https://git.io/fjo0j
<{^_^}> [nixpkgs] @FRidh pushed commit from Taito Horiuchi to master « pythonPackages.robotframework: 3.0.4 -> 3.1.2 »: https://git.io/fj1Zq
Shoubit has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #63847 → Pyls bumping → https://git.io/fjoeu
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fj1Zm
<dminuoso> bahamas: It doesn't say not to do ⌜nix-shell p <packages>⌝
<dminuoso> bahamas: It says that for python you should rather use buildEnv/withPackages.
<{^_^}> [nixpkgs] @FRidh merged pull request #64968 → x265: 3.0 -> 3.1.1 → https://git.io/fj1OL
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « x265: 3.0 -> 3.1.1 »: https://git.io/fj1ZO
<FRidh> bahamas: nix-shell -p and then pythonPackages assumes certain packages are propagated (such as Python itself) which is not always the case
<FRidh> anyway, when you just want to getn environment, use `nix run` instead
<{^_^}> [nixpkgs] @angus-g opened pull request #64981 → nco: 4.5.5 -> 4.8.1 → https://git.io/fj1ZG
<{^_^}> [nixpkgs] @FRidh pushed 317 commits to staging-next: https://git.io/fj1ZW
ardumont has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 594 commits to staging: https://git.io/fj1Zl
<{^_^}> [nixpkgs] @FRidh merged pull request #64909 → unzip: CVE-2019-13232 → https://git.io/fj1vT
shandogs has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed commit from @mmahut to staging « unzip: CVE-2019-13232 »: https://git.io/fj1Z8
<Ashy> uh oh 16gb free left, think my garbage collect settings must not be active
ardumont has quit [Client Quit]
ardumont has joined #nixos
ardumont has quit [Client Quit]
<Miyu-chan> There's no builtin reverse function? lol
ardumont has joined #nixos
<Miyu-chan> builtins.rev <TAB> doesn't give me anything.
<Taneb> Does there need to be?
<{^_^}> [nixpkgs] @FRidh merged pull request #64919 → libxslt: CVE-2019-13118 CVE-2019-13117 → https://git.io/fj1Uq
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/fj1Z2
<bahamas> dminuoso: ah, ok. I thought it was general advice to use withPackages. I see that the ghc package has a similar function.
<Taneb> Miyu-chan: if you need one there's lib.reverseList in nixpkgs
<Miyu-chan> I'd argue yes, considering that lists are arrays instead of linked lists.
<Taneb> Given there's a genList function you can still define reverse efficiently yourself
<Miyu-chan> Oh, I was thinking of using fold functions.
<Miyu-chan> Checking genList tho
<bahamas> dminuoso: do you use docker for deployment? I remember you said that you use cabal to build your project. but if you use Docker, you still need to create a nix file with your Haskell dependencies
<Miyu-chan> That's, uh, kinda weird, but that does work.
<Miyu-chan> Taneb: Thanks!
<Taneb> :)
<Miyu-chan> Also, lib.reverseList does use genList!
<Miyu-chan> And so does zipListWith. I guess it kinda makes sense, because the way linked lists work is that they have amazing cons semantics.
<{^_^}> [nixpkgs] @FRidh merged pull request #64900 → python2: backport fix for pyc race condition, part 2 → https://git.io/fjXj3
<{^_^}> [nixpkgs] @FRidh pushed commit from @abbradar to staging « python2: backport fix for pyc race condition, part 2 »: https://git.io/fj1ZK
<Miyu-chan> But arrays are probably have the worst cons semantics.
<Miyu-chan> And I just butchered English there.
<{^_^}> [nixpkgs] @FRidh merged pull request #64754 → go: 1.12.6 -> 1.12.7, 1.11.11 -> 1.11.12 → https://git.io/fjX2p
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to master: https://git.io/fj1Z6
<{^_^}> [nixpkgs] @FRidh merged pull request #64748 → perlPackages.buildPerlModule: allow pre/post hooks → https://git.io/fjX2f
<{^_^}> [nixpkgs] @FRidh pushed commit from @volth to staging « perlPackages.buildPerlModule: allow pre/post hooks »: https://git.io/fj1Zi
linarcx has quit [Quit: WeeChat 2.5]
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #64734 → zeromq: 4.3.1 -> 4.3.2, fixing CVE-2019-13132 → https://git.io/fjXES
<literon> Is there an option to nix-build to allow impurity? Such as accessing a given global directory, or accessing network.
<dminuoso> bahamas: Honestly, if you use nix the reasons for docker kind of disappear.
<{^_^}> [nixpkgs] @FRidh pushed commit from @risicle to staging « zeromq: 4.3.1 -> 4.3.2 »: https://git.io/fj1Z1
o1lo01ol1o has joined #nixos
<teto> literon: you may be able to work with --option sandbox false
<bahamas> dminuoso: I see. do you use nixops then?
<tilpner> literon: Network is allowed for fixed-output derivations
<tilpner> literon: extra-sandbox-paths in nix.conf can be used to include additional paths in the sandbox environment
<dminuoso> bahamas: No.
<dminuoso> bahamas: My nix is limited to nixos for my development machine, but I dont build my packages with nix (yet?).
<literon> tilpner: than you, let me have a look.
<bahamas> dminuoso: how do you deploy then?
<dminuoso> For development, I just use nix-shell to set up environments with cabal, ghc, native libraries - the actual build happens using ⌜cabal v2-*⌝
<bahamas> yes, I also use cabal to build stuff
<dminuoso> bahamas: gitlab-ci with a shell executor that just grabs build artifacts from gitlab.
veske has quit [Quit: This computer has gone to sleep]
<bahamas> I see
<dminuoso> It's basically just a few lines of bash.
<dminuoso> It's tons easier to debug if something goes wrong than if docker networking somehow doesnt work.
<dminuoso> You're left with just "randomly trying things", hoping you have a docker developer team inhouse you can ask...
xantoz has quit [Remote host closed the connection]
<eyJhb> Mic92: you don't seem like a fan of FlexGet :p
kiloreux has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh merged pull request #64647 → llvm_*,clang_*: allow src overrides → https://git.io/fjPSV
<{^_^}> [nixpkgs] @FRidh pushed commit from @veprbl to staging « llvm_*,clang_*: allow src overrides »: https://git.io/fj1Z9
<dminuoso> Because lets face it, rarely any docker user has any clue how things work and how to debug things if they dont work.
<Miyu-chan> OTOH, the command line for $TOOL might be more familiar. For example, I used stack for 6 months after using NixOS.
kiloreux has joined #nixos
<Miyu-chan> Nowadays, nix run '... ghcWithPackages ...' is what I use. (re: docker and nix)
<{^_^}> [nixpkgs] @FRidh merged pull request #64540 → strip setup hook: Strip using --strip-unneeded instead of --strip-debug. → https://git.io/fjPeD
<{^_^}> [nixpkgs] @FRidh pushed commit from @ambrop72 to staging « strip setup hook: Strip using --strip-unneeded instead of --strip-debug. »: https://git.io/fj1Z7
<bahamas> dminuoso: in production you also run nixos? I'm curious how you handle service management on the production box
<dminuoso> bahamas: No.
<{^_^}> [nixpkgs] @FRidh merged pull request #64554 → iputils: 20190515 -> 20190709 → https://git.io/fjPTi
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « iputils: 20190515 -> 20190709 »: https://git.io/fj1Z5
<dminuoso> bahamas: That's not because I dont have any confidence in nixops, but we are sort of relying on ansible for ops. So trying to push for nixops at the same time might not be the best of all moves.
veske has joined #nixos
<arianvp> Any agda users here that can tell me how to get an emacs with AGda-mode working?
<{^_^}> [nixpkgs] @FRidh merged pull request #64395 → git: fix bad patch and fix run-time dependency on gcc → https://git.io/fjiTN
<{^_^}> [nixpkgs] @FRidh pushed commit from @demin-dmitriy to staging « git: remove runtime dependency on gcc »: https://git.io/fj1Zb
<bahamas> dminuoso: I understand
<bahamas> in my particular case, I just one to create a setup for my projects, so I have the freedom to choose
<bahamas> s/one/want/
<{^_^}> [nixpkgs] @FRidh merged pull request #64391 → pythonPackages.jpylyzer: init at 1.18.0, use to enable openjpeg tests → https://git.io/fjiUh
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/fj1Zx
___laika has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
<dminuoso> That's how I deploy this particular service.
<{^_^}> [nixpkgs] @ivan closed pull request #52424 → easystroke: init at unstable-2016-07-05 → https://git.io/fpALl
<dminuoso> It's really easy if you dont have "painless scalability" to consider.
<dminuoso> I could trivially still build the project with nix, mind you.
<dminuoso> That's unrelated.
mexisme has joined #nixos
<bahamas> dminuoso: I'm learning towards providing all the dependencies, including the compiler and the build tool with nix, and then use the language's build tool for the actual build (cabal, cargo, etc). it's also because I've had situations where a project that built with cabal didn't build with nix
<bahamas> s/learning/leaning/
<{^_^}> [nixpkgs] @FRidh merged pull request #64063 → libev: 4.25 -> 4.27 → https://git.io/fjKE0
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « libev: 4.25 -> 4.27 »: https://git.io/fj1nm
hmpffff has joined #nixos
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « glib: 2.60.3 -> 2.60.4 »: https://git.io/fj1nY
<{^_^}> [nixpkgs] @FRidh merged pull request #64029 → glib: 2.60.3 -> 2.60.4 → https://git.io/fjKWp
cransom has quit [Quit: WeeChat 2.4]
<dminuoso> bahamas: "cabal didn't build with nix"?
bakakuna has quit [Ping timeout: 272 seconds]
<bahamas> dminuoso: the project didn't build with nix, but it built with cabal
<dminuoso> bahamas: With nix you are still using cabal.
<{^_^}> [nixpkgs] @abbradar pushed to master « primus: fix for libglvnd »: https://git.io/fj1nG
<{^_^}> [nixpkgs] @FRidh merged pull request #63874 → gtk3: 3.24.8 -> 3.24.10, meson! → https://git.io/fjoZ8
<{^_^}> [nixpkgs] @FRidh pushed 4 commits to staging: https://git.io/fj1nZ
<bahamas> dminuoso: actually, the nix builder calls Setup.hs directly.
seqizz has joined #nixos
aswanson has quit [Quit: WeeChat 2.4]
<dminuoso> bahamas: And that uses cabal the library.
<dminuoso> bahamas: nix just avoids cabal-install, that's all.
<dminuoso> bahamas: cabal-install is the tool that grabs, builds and installs libraries. In principle nix replaces cabal-install.
<bahamas> dminuoso: well this difference mattered in the case of this particular project
<bahamas> I can accept that it's probably a rare case. this project also uses FFI with Java
fendor has joined #nixos
shomodj has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #64369 → openjpeg: CVE-2019-12973 → https://git.io/fj6pj
<{^_^}> [nixpkgs] @FRidh pushed commit from @mmahut to staging « openjpeg: CVE-2019-12973 »: https://git.io/fj1n8
Soo_Slow has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #62804 → libevdev: 1.6.0 -> 1.7.0 → https://git.io/fjzcs
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « libevdev: 1.6.0 -> 1.7.0 »: https://git.io/fj1nE
<{^_^}> [nixpkgs] @FRidh closed pull request #62460 → libevdev: 1.6.0 -> 1.6.901 → https://git.io/fjE0L
hyper_ch2 has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 46 commits to staging-next: https://git.io/fj1na
<Mic92> eyJhb: well its locked dependencies caused a lot of troubles in the past.
<{^_^}> [nixpkgs] @FRidh opened pull request #64982 → Staging next → https://git.io/fj1nw
<eyJhb> Mic92: I am currently in xolox dependency hell
<eyJhb> Basically, I want rotate-backups to work, and every, single, dependency is his/her own package that hasn't been added to NixOS yet
<Mic92> eyJhb: I am pretty happy with borgbackup, good luck
Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
<Mic92> Looks pretty similar to rsnapshot on the first glance.
<eyJhb> Well, it is more for cleanup of previous backup files. My servers backup a couple of kb, so just having a tar.gz that is encrypted then uploaded to my server seems nice :p
Mrmaxmeier has joined #nixos
bahamas has quit [Ping timeout: 268 seconds]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.2)]
<eyJhb> Well, it would more be cleanup of rsnapshot files, all rotate-backups does, is just.. Delete them
shandogs has quit [Remote host closed the connection]
<eyJhb> Mic92: can I specify a version of a package? E.g. https://github.com/xolox/python-verboselogs/blob/master/requirements-tests.txt#L10 ?
bahamas has joined #nixos
Tucky has quit [Ping timeout: 245 seconds]
<Mic92> eyJhb: a different version of a package would be a new package attribute.
jasongrossman has joined #nixos
<Mic92> However for python this can be really messy since everything is accumulated in PYTHONPATH.
<Mic92> Hence we avoid this in generally for python.
<eyJhb> So that is basically, no fun I would assume?
___laika has quit [Ping timeout: 248 seconds]
<eyJhb> It is used for running the tests
fendor has quit [Ping timeout: 272 seconds]
<Mic92> eyJhb is the linter really required?
<jasongrossman> Anyone know please how I can force a USB port to use USB 1.1 (as opposed to its default, which is USB 2) under NixOS?
v88m has quit [Read error: Connection reset by peer]
<eyJhb> Mic92: like, for all I care the tests could be disabled... - And I would assume no
<Mic92> eyJhb: maybe you can skip this particular test code
v88m has joined #nixos
IRCsum has quit [Ping timeout: 276 seconds]
<Mic92> eyJhb: maybe the tests run just fine without pylint and this is just used in travis ci.
<Grauwolf> i'm kinda new to nix, but is there something like `guix pack`? https://www.gnu.org/software/guix/manual/en/html_node/Invoking-guix-pack.html
<Mic92> We also avoid linters in the tests we run, since linter updates can break packages.
<eyJhb> So just, doCheck = false; ?
ThatDocsLady has joined #nixos
<jasongrossman> Grauwolf: Yes. It's just not part of the built-in stuff ...
<Grauwolf> jasongrossman: thanks! will look into that
<jasongrossman> Grauwolf (and everyone): There's a proposal to build it in to the nix command, which I think would be good.
<jasongrossman> I haven't actually tried it, but it looks very versatile - e.g. it can make appimage bundles.
<Grauwolf> yes, i'm currently experimenting with different software-deployment strategies on non-nix/guix machines, and this seemed interesting to my use-case
<Ashy> nice, `nix-store --optimise` freed up 15gb
<Mic92> eyJhb: you can try to remove both astroid and python-lint from the requirements.txt. To me it seems that the tests should still work.
<jasongrossman> Grauwolf: Some other formats are also possible using Nix but I'm not sure they're fully documented. They're mentioned here: https://github.com/NixOS/nix/issues/2993
<{^_^}> nix#2993 (by matthewbauer, 6 hours ago, open): RFC: Integrating nix-bundle into Nix
<eyJhb> Mic92: what would be the `best way` to do that?
literon has quit [Ping timeout: 248 seconds]
<Mic92> eyJhb: a simple `sed` would do the job here.
<Mic92> there are tones of examples in nixpkgs for that, especially for python packages.
bakakuna has joined #nixos
<eyJhb> Will look at it once I have gathered all.. the... stupid.. dependencies... :(
<eyJhb> Look out for 10 PRs
<eyJhb> Is it allowed to do them all in one go?
Soo_Slow has quit [Remote host closed the connection]
Tucky has joined #nixos
bahamas has quit [Quit: leaving]
hyper_ch2 has joined #nixos
erik42 has joined #nixos
<erik42> Hi all, how can I disable sandbox when building with nixops from a non-nixos machine? (Debian based linux atm)
<erik42> I installed nix as a regular user and I see there are some options to be placed in nix.conf
___laika has joined #nixos
<erik42> I have a package that uses bundler during it's build phase and this fails to get access to rubygems.org
<erik42> From a machine running nixos, this is trivial with the option nix.useSandbox
shomodj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Read error: Connection reset by peer]
<eyJhb> Mic92: only 6 new packages, 7 including the one I wanted
<tilpner> erik42: You can edit nix.conf, which should be in /etc/nix
<Mic92> eyJhb: for trival packages, one pr is ok.
<tilpner> See `m̀ax nix.conf` for information on the format of that file
psyanticy has joined #nixos
<erik42> Hi tilpner, I did a user install on my linux box so there's no /etc/nix folder
<Mic92> erik42: do you have a nix-daemon running?
Soo_Slow has joined #nixos
<tilpner> erik42: I'm not familiar with how that works. Surely you had to give the installer root rights to create /nix/store?
<erik42> I'm not sure, I just followed the installation instructions
<Mic92> erik42: without nix-daemon the configuration goes to ~/.config/nix/nix.conf
<tilpner> Or are you referring to a proot-style installation?
<erik42> the folder /nix is owned by my user, not root
<Mic92> erik42: if there is no $NIX_REMOTE set, then you and nix still works, you don't have a nix-daemon.
<erik42> Hi Mic92, that ENV var is empty, so I guess I'm not running the nix-daemon then?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @zimbatm opened pull request #64983 → Update issue templates → https://git.io/fj1cJ
<{^_^}> [nixpkgs] @zimbatm pushed to new-issue-template « Update issue templates »: https://git.io/fj1cU
<{^_^}> [nixpkgs] @zimbatm pushed 0 commits to new-issue-template: https://git.io/fj1cT
<erik42> should I write the config as nix-use-sandbox = false then?
<Mic92> erik42: yes. In that case put the line in questions to your home directory.
<erik42> I keep getting unknown setting 'nix-use-sandbox' or 'use-sandbox'
<{^_^}> [nixpkgs] @zimbatm pushed to new-issue-template « Update issue templates »: https://git.io/fj1cI
<erik42> same for useSandbox = false
___laika has quit [Ping timeout: 272 seconds]
<erik42> ok, it's pbbly just sandbox = false ;-)
___laika has joined #nixos
oborot has joined #nixos
<erik42> Mic92 & tiplner, thanks for the help!
<erik42> sry, tilpner
dazzel has joined #nixos
inquisitiv3 has quit [Ping timeout: 245 seconds]
Blessjah has quit [Ping timeout: 258 seconds]
literon has joined #nixos
dazzel has quit [Client Quit]
Zer0xp has joined #nixos
Blessjah has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
seqizz has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
jackdk has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
oborot has quit [Ping timeout: 244 seconds]
<Ashy> heh, `nix-store --optimise` is much slower on my thinkpad sata ssd than the nvme in the desktop
oborot has joined #nixos
___laika has quit [Ping timeout: 244 seconds]
__monty__ has joined #nixos
___laika has joined #nixos
<sphalerite> Ashy: "slower" measured how?
<Ashy> started them both at the same time and the desktop finished a good 30 mins ago
<Ashy> 59gb nixstore on the desktop, 55gb on the thinkpad
<xorAxAx> Ashy, encryption involved somewhere?
<Ashy> yeap, both on encrypted zfs
<xorAxAx> ah, ok
<xorAxAx> same amount of ram?
<xorAxAx> zfs loves RAM when you write things to it
<Ashy> desktop has a 500gb samsung 960 evo, thinkpad has a 250gb samsung 860 sata ssd
<Ashy> oh 8gb on the thinkpad vs 16gb on the desktop
<sphalerite> oh wait, the sata is slower than the nvme
<sphalerite> yeah that's normal
tsrt^ has joined #nixos
<atlas_> am I supposed to have ~/.nix-defexpr/channels and ~/.nix-defexpr/channels_root? I get a name collision when I add the default channel to my per-user config and had to revert
<Ashy> yeah i was just giggling at actually noticing a difference for once
orivej has joined #nixos
<Ashy> most of the time i never really notice
vmandela has joined #nixos
oborot has quit [Ping timeout: 245 seconds]
<__monty__> 30mins is much bigger than the difference I'd expect between SATA and NVMe though.
<__monty__> Unless these machines were doing something other than booting?
<pie_> so uhh
<pie_> i need a snippet for makeWrapper that can let me set an environment variable only if its not set already
___laika has quit [Ping timeout: 248 seconds]
civodul has joined #nixos
Ariakenom has quit [Ping timeout: 244 seconds]
ardumont has quit [Ping timeout: 276 seconds]
rsoeldner has joined #nixos
ardumont has joined #nixos
ardumont has quit [Client Quit]
ardumont has joined #nixos
hexo is now known as dolanbatar
<Ashy> __monty__: 104mins total on the thinkpad
<WilliButz> just to check: yesterday i was unable to boot the various versions of the minimal iso on an odroid-h2, is there a known issue? i don't get to the bootloader instead I got stuck on a black screen with a single white underscore %)
Soo_Slow has quit [Remote host closed the connection]
<Ashy> i didnt time the desktop unfortunately
<Miyu-chan> My 16 GB device keeps OoMEing because of ZFS.
<Miyu-chan> :(
<Miyu-chan> Firefox takes like ~8 GB, and ZFS ~4 GB
<__monty__> Ashy: Just booting? Or nixos-rebuild switch?
<WilliButz> i didn't find anything that looks exactly like my issue on github and worked around it with an ubuntu live image and a kexec-bundle from nixos-generators. just wanted to check back if there is something that might need fixing
<Ashy> __monty__: `nix-store --optimise`
<__monty__> Oh, that's a different matter.
Makaveli7 has quit [Quit: WeeChat 2.5]
<Ashy> yeah im not shocked or anything, just thought it was interesting
<Ashy> it really is the future already, nvme is crazy fast
<__monty__> I think this is more about ram and cpu speed though.
<Ashy> ah true, the desktop is drastically higher powered than this thinkpad t450
<Ashy> ryzen 1600 vs i5-5300U
FRidh has quit [Quit: Konversation terminated!]
shomodj has joined #nixos
<tilpner> Miyu-chan: I've found kernel.sysctl."vm.overcommit_memory" = "1"; to be required to allow the ARC to shrink
<chaker> Hey, where I can find libcrypto++? It seems it's not included in openssl.dev
<tilpner> chaker: Try cryptopp
<Miyu-chan> tilpner: I'm okay with rebooting every onecin a while TBH.
<Miyu-chan> Too lazy to deal with this problem. :P
<tilpner> ._.
<Miyu-chan> I have much more important things to do, like, play Steam games.
<Miyu-chan> jk
<tilpner> It was important enough for you to complain about here :c
<Miyu-chan> Ohh. It was an off-hand comment w.r.t. ZFS a conversation about ZFS a while ago. Sorry. ; ;
<Miyu-chan> s/w.r.t. ZFS/w.r.t./
<tilpner> Well, just put that in your config and rebuild/reboot later
<tilpner> Already took more time discussing not doing that
<Miyu-chan> Yeah, will have to do that now. ; ;
<Miyu-chan> Thanks!
Neo-- has joined #nixos
<Miyu-chan> Is this under boot?
<Miyu-chan> boot.kernel.sysctl."vm.overcommit_memory" = 1;
<tilpner> Yes
<tilpner> That will tell the kernel to always nod and smile when you request memory, instead of trying to be smart about it
<Miyu-chan> Yeah. I find it kinda weird.
<Miyu-chan> I guess ZFS needs this by detecting a page fault on access or smth?
<sphalerite> nod and smile, while hiding the OOM killer knife behind its back
<Miyu-chan> lol
<tilpner> sphalerite: The alternative is zfs hogging memory without realising there's demand for it
<tilpner> So I'll take maybe getting stabbed by OOM later over definitely getting stabbed now
<pie_> how can I get this to return '${} ?
<pie_> > '' '''''${} ''
<{^_^}> "''${} "
<Miyu-chan> ,escape ''
<{^_^}> Miyu-chan: Did you mean escape"?
<{^_^}> '': " double quote: \" backslash: \\ bash curly bois: \${} newline: \n tab: \t "
bakakuna has quit [Ping timeout: 248 seconds]
<Miyu-chan> > '' '\${} ''
<{^_^}> error: syntax error, unexpected '}', at (string):255:8
inquisitiv3 has joined #nixos
<Miyu-chan> Eh!?
<pie_> im not sure what *thats* for
<pie_> maybe "" strings
<Miyu-chan> > '''''\${} ''
<{^_^}> error: syntax error, unexpected '}', at (string):255:9
<Miyu-chan> lol
<pie_> the manual says you get ${} via ''${}, and ' via ''' :I
<Taneb> ,escape''
<{^_^}> '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<pie_> hm " ''\ escapes any other character"
<Miyu-chan> What's wrong with "" though?
<Miyu-chan> You can do this by inserting an empty string, but why
<pie_> '' '' work a bit different
<Miyu-chan> Can I suggest
<Miyu-chan> > '' ${"'\${}"} ''
Thra11 has joined #nixos
<{^_^}> "'${} "
<pie_> and that was just an example, i need this in a bigger string
<pie_> Miyu-chan, oh...lol
<Miyu-chan> I have a feeling that it's actually impossible to write '${} under '' ''
<pie_> ok i misread " '' can be escaped by prefixing it with ' "
<Miyu-chan> Witout using ${} hacks.
<Miyu-chan> > '' '${""}''${} ''
<{^_^}> "'${} "
<pie_> well Taneb just had the bot say something and the manual also says it, i vaguely rememebred something about ''\ but havent used it so i forgot
<Miyu-chan> That's another way of doing it.
<pie_> > '' ''\'''${} ''
<{^_^}> "'${} "
<Miyu-chan> Oh.
<Miyu-chan> Cool.
<pie_> kind of cursed syntax but hey :D
<Miyu-chan> I just realized something though.
<Miyu-chan> Seems like the ,escape'' is "literate programming".
<Miyu-chan> > '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<{^_^}> "two single quotes: '' bash curly bois: ${} newline: \n tab: \t any character x: x "
<Miyu-chan> Whoever added that entry, just wanna say that that's cool. Same thing with ,escape"
rndd has joined #nixos
Neo-- has quit [Ping timeout: 245 seconds]
seqizz has joined #nixos
<sphalerite> Miyu-chan: infinisil++ :)
<{^_^}> infinisil's karma got increased to 108
<rndd> hi everyone! onether dumn question - which nixos package contains dkms?
<etu> ,locate dkms
<sphalerite> rndd: it's not packagedAFAIK
<{^_^}> Found in packages: sysdig, linuxPackages.sysdig, linuxPackages_4_14.sysdig, linuxPackages_4_20.sysdig, linuxPackages_xen_dom0.sysdig, linuxPackages_testing_bcachefs.sysdig, linuxPackages_xen_dom0_hardened.sysdig
<sphalerite> rndd: largely because it won't really work on nixos
<etu> ah, oh, yeah right. It's the kernel module thingy.
<etu> It doesn't make sense on NixOS
igorzash has joined #nixos
<rndd> well, so I will explain problem
igorzash has quit [Quit: ERC (IRC client for Emacs 26.1)]
<rndd> I wanna install open source kernel module for my RTL wifi card, but don't know how to write a default.nix ... I saw some examples on github in nixpkgs but I firstly want to write default.nix for nix-shell install inside and test 0_o
<Miyu-chan> sphalerite: Ah, cool. :)
<sphalerite> rndd: which rtl? It may already be in nixpkgs
<Miyu-chan> infinisil++
<{^_^}> infinisil's karma got increased to 109
<Miyu-chan> Also, would have been nice if `systmd.unit.startAt` allowed timer options.
tilpner has quit [Quit: WeeChat 2.4]
Ariakenom has joined #nixos
Thra11 has quit [Ping timeout: 248 seconds]
<rndd> sphalerite: rtl8723de
<sphalerite> rndd: you can probably copy the one from pkgs/os-specific/linux/rtl8723bs/default.nix and adjust the source
___laika has joined #nixos
<chaker> tilpner Thanks, but it didn't work
<chaker> I still have "Package requirements (libcrypto++) were not met" even though I specified cryptopp in buildInputs
<rndd> ye, but I don't understand should I use it how nixpkg or I may just write nix-shell
zupo has joined #nixos
is_null has joined #nixos
<Miyu-chan> Err
<Miyu-chan> > Moreover for units names containing dashes ("-"), the set of directories generated by truncating the unit name after all dashes is searched too. Specifically, for a unit name foo-bar-baz.service not only the regular drop-in directory foo-bar-baz.service.d/ is searched but also both foo-bar-.service.d/ and foo-.service.d/.
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):255:49
<Miyu-chan> Whoops.
<Miyu-chan> Anyways, TL;DR, is there any systemd service that uses dashes in NixOS?
<Miyu-chan> Because turns out that dashes is a hierarchy separator in systemd units...
<chaker> ,locate libcrypto++.so
<{^_^}> Couldn't find in any packages
<sphalerite> chaker: maybe you need pkgconfig in nativeBuildInputs for your package to be able to find libcrypto
<exarkun> ,locate cryptopp
<{^_^}> Found in packages: cryptopp
<Zer0xp> Does anyone know how to set up msmtp in nix ?
<chaker> sphalerite: Should it be in nativeBuildInputs? I have it in buildInputs ( changing and testing ).
<sphalerite> chaker: it should, but if it's in buildInputs and you're compiling natively (not cross) it won't make a difference.
<sphalerite> Zer0xp: I just installed it in my profile and use a traditional .msmtprc
bakakuna has joined #nixos
abbiya has quit [Quit: abbiya]
jackdk has joined #nixos
lsyoyom has quit [Ping timeout: 248 seconds]
erik42 has quit [Quit: erik42]
<chaker> sphalerite: I'm using this expression https://clbin.com/tpwhg
bakakuna has quit [Ping timeout: 246 seconds]
<chaker> This is the log of the error https://clbin.com/AYSjH
<yorick> Miyu-chan: nix-daemon, avahi-daemon, nss-lookup
<yorick> cups-browsed, rtkit-daemon
<yorick> alsa-store
<sphalerite> chaker: what's the software you're packaging?
<sphalerite> chaker: you also shouldn't need to include gcc, or specify the outputs for libcap and ncurses
<sphalerite> chaker: and there's a fancy autoreconfHook thing which you can put in your nativeBuildInputs instead of specifying that preConfigure and adding automake/autoconf/libtool(?) to your buildInputs :)
<Zer0xp> sphalerite: I am getting an issue when trying to send an email. Could you send me the template of the ~/.msmtprc file in a pastebin link ? And explain what values I should use where ? I'm using a Gmail account btw.
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anderslundstedt has quit [Quit: leaving]
rndd has quit [Ping timeout: 245 seconds]
<chaker> sphalerite: This one https://github.com/StanfordSNR/gg
hamishmack has joined #nixos
<sphalerite> Zer0xp: elaborating on your issue could be helpful
<sphalerite> Zer0xp: mine looks roughly like https://gist.github.com/lheckemann/843c7b727fccecd8a9b2ed660ed83eb2
<chaker> I saw autoreconfHook earlier in the documentaion and I wanted to test it after I get the build to work :p
<chaker> ,locate libcryptopp.so
<{^_^}> Found in packages: cryptopp
<chaker> It seems that in libcrypto, the so file is called libcryptopp, but pkgconfig is looking for libcrypto++.pc
<chaker> You can see them in the end of the list of files in https://altlinux.pkgs.org/sisyphus/classic-i586/libcryptopp-devel-8.2.0-alt1.i586.rpm.html
anderslundstedt has joined #nixos
rndd has joined #nixos
rndd has quit [Client Quit]
<Zer0xp> sphalerite: Is it that an example written in a text file ?
<sphalerite> Zer0xp: what issue are you gettin when trying to send an email?
avn has quit [Read error: Connection reset by peer]
Tucky has quit [Ping timeout: 248 seconds]
andymandias has quit [Quit: ZNC 1.7.3 - https://znc.in]
andymandias has joined #nixos
___laika has quit [Ping timeout: 272 seconds]
seqizz has quit [Quit: seqizz]
Neo-- has joined #nixos
<Zer0xp> sphalerite: I think I had gotten the setup all wrong. I will redo it from scratch. For now I have the msmtp package installed and the defaultMailServer.directDelivery = true, hostName = "smtp.gmail.com" and usestartTLS = true in the configuration.nix file
<Zer0xp> sphalerite: Is that fine or do I tweak those too ?
<mkaito> Zer0xp: https://pastebin.com/Fa8H0Ufr sanitized excerpt from my msmtprc
<sphalerite> Zer0xp: oooh there are nixos options? I had no idea. I'm just configuring it on a user basis.
<Zer0xp> mkaito: So I just copy paste that into ~/.msmtprc file and change those values ?
<mkaito> it works for 4 gmail and gsuite accounts I use
<Zer0xp> mkaito: Why 587 instead of 465 as the port number ?
<mkaito> one is for TLS, the other for SSL
<Zer0xp> mkaito: Oh okay. And what command do you use for sending the mails ?
srid6390803 has quit [Ping timeout: 258 seconds]
<mkaito> `msmtp --acount=gmail -t`
<mkaito> or you can use `msmtp -f -t`
<mkaito> which would read the account from the envelope
Shoubit has quit [Ping timeout: 272 seconds]
stepcut has joined #nixos
<Miyu-chan> Is there a way to extract the script's path from from writeScriptBin?
<Zer0xp> mkaito: So basically my goal is to send attach a file and send it daily. Can I use this inside a script ?
<mkaito> Zer0xp: should be, yes.
shandogs has joined #nixos
srid6390803 has joined #nixos
<mkaito> Miyu-chan: if you convert the derivation to a string you get its store path
mniip has joined #nixos
<Miyu-chan> Oh, script + script.destination seems pretty promising.
<Zer0xp> mkaito: Alright then, where is the message typed and file attached when using the msmtp command that you sent ?
<Miyu-chan> Err, wait, destination is not inherited, soo
stepcut has quit [Ping timeout: 245 seconds]
<mkaito> Zer0xp: msmtp is just an smtp proxy. it doesn't compose messages or attach files, it just sends stuff. you'll need to format an email with something else and then hand it to msmtp for delivery.
<Miyu-chan> mkaito: Yes, but writeScriptBin wraps it in /bin to make it easier to place into environment.systemPackages.
<mkaito> Miyu-chan: yes, so? have you tried writeScript instead?
<adisbladis> Miyu-chan: At that point I'd use runCommand with a `cat > $out <<EOF` inside
<adisbladis> And use bash as a "templating language" :)
<Zer0xp> mkaito: Okay so where do I format the email ? Is there a link to a tutorial for setting that up ?
<mkaito> Zer0xp: it's just a plaintext file in a certain format. google for it, it's a fairly simple thing.
<Miyu-chan> mkaito: Yes, I've considered that too, but writeScriptBin is much better for its felxiblity IM.
<mkaito> Miyu-chan: I mean, what's your use case here?
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « zoom-us: 2.8.264592.0714 -> 2.9.265650.0716 »: https://git.io/fj1Wl
<Miyu-chan> $0 semantics are kept, for one.
<Miyu-chan> I'm making a script that will be run under a systemd service.
<adisbladis> Miyu-chan: That's almost what `writeScript` & friends are anyway, they call runCommand.
aveltras has quit [Quit: Connection closed for inactivity]
<mkaito> Miyu-chan: how about `systemd.services.foo.script`?
domogled has quit [Quit: domogled]
<Miyu-chan> The script will be exec'd by systemd.services.foo.script
<Miyu-chan> I'm using foo@.service, and it's roughly going to `exec $arg`
<mkaito> sounds convoluted
<mkaito> so why can't you just run ${scripthing}/bin/script.sh ?
o1lo01ol1o has quit [Remote host closed the connection]
Tucky has joined #nixos
<Miyu-chan> I have multiple scripthings.
<mkaito> don't suppose I can have a look at it somewhere
<mkaito> lol matrix
<Miyu-chan> Give me a few, I'm gisting what I think is the best way to do it right now.
<freddie_freeload> Thanks Miyu-chan :)
<Miyu-chan> Err, sorry, that wasn't for you.
<Miyu-chan> Lines 46+
stepcut has joined #nixos
<mkaito> freddie_freeload: I don't mean to be rude or anything, but I won't click a link just to read your message. Doubt I'm the only one who thinks that way. Matrix is annoying.
<rsoeldner> How to specify user credentials if deploying mongodb service on aws using nixops ? Has someone an example at hand ?
<Miyu-chan> rsoeldner: Nixops should be checking your $HOME/.aws/credentials
<mkaito> I think he means mongo credentials
<Miyu-chan> Oh.
<rsoeldner> yes :)
<mkaito> and no, I haven't used mongo in a very very long time, and I don't recommend anyone use it for anything ever
<Miyu-chan> There's a keys attr somewhere in Nixops, which is not uploaded by Nix itself, but the Python script.
<Miyu-chan> I'm off for dinner though. I'll ping back later in case you haven't found it.
<mkaito> Miyu-chan: I'll have a look at what you linked me and ping you later, enjoy dinner
freddie-freeload has joined #nixos
stepcut has quit [Ping timeout: 245 seconds]
<freddie-freeload> Now again without Matrix:
<freddie-freeload> Hey there!I am using this approach here to get a custom keyboard layout with NixOS: http://stesie.github.io/2018/09/nixos-custom-keyboard-layout-revisitedUnfortunately, this leads to recompilation of xserver which is quite some work. This seems rather disproportionate regarding a simple keyboard layout change.Is there a better way to do this?
<freddie-freeload> (The linked article basically recommends patching a file from /etc/X11/...)
<{^_^}> [nixpkgs] @domenkozar pushed to domenkozar-patch-1 « Update FUNDING.yml »: https://git.io/fj1WP
<mkaito> freddie-freeload: you *could* just use what he says he doesn't like: xmodmap. the whole reason he's patching things is that he doesn't want to re-run xmodmap after rebuilding or replugging.
<{^_^}> [nixpkgs] @domenkozar opened pull request #64986 → FUNDING: introduce open collective page → https://git.io/fj1WS
<Miyu-chan> rsoeldner: I think it's deployment.keys
<Zer0xp> mkaito: What command do you use for sending the mails ? senmail ? mail ? mutt ?
<Miyu-chan> rsoeldner: Just search "nixops deployment.keys", since I don't have a readily avialable snippet.
<mkaito> Miyu-chan: I see what you're trying to do. I had to look up indirect expansion, I wasn't even aware of it, so thanks for teaching me something. This looks like it should work, at first glance.
<{^_^}> [nixpkgs] @domenkozar pushed to domenkozar-patch-1 « README: add open collective badge »: https://git.io/fj1W7
laerling has left #nixos ["Leaving"]
<mkaito> Zer0xp: in your case, probably none of those. compose the mailfile "by hand" and then pass it to msmtp.
o1lo01ol1o has joined #nixos
<rsoeldner> Miyu-chan, thank you but aren't they linked to ssh credentials ? I want to add other db users
<sphalerite> freddie-freeload: it's also not ideal, but you could patch it to use /etc and place your custom stuff there using environment.etc
<Zer0xp> mkaito: Okay and how would I pass it to the msmtp ?
<sphalerite> freddie-freeload: that way, you'll still need to rebuild xorg, but at least you won't need to rebuild it every time you change your keyboard stuff
<mkaito> Zer0xp: have you tried reading the manpage? :P
<mkaito> it reads it from stdin
<Zer0xp> mkaito: I've read the help for msmtp
<mkaito> man pages are usually more extensive
<mkaito> and if they exist, info pages are even longer
<Zer0xp> mkaito: Cool, I will check it out
rprije has quit [Ping timeout: 246 seconds]
<mkaito> you could just cat a heredoc into msmtp, I presume.
<mkaito> and use bash as a templating language
o1lo01ol1o has quit [Ping timeout: 245 seconds]
freddie-freeload has quit [Remote host closed the connection]
freddie-freeload has joined #nixos
<mkaito> Miyu-chan: I'm not sure if the foo@.service approach here is the right one. why don't you just generate a (disabled) service for each configured archive? since the archives are set at rebuild time anyway, using a @-service doesn't actually give you anything. Then you can remove some of this indirection here.
<Miyu-chan> That's actually what I did before.
<kiloreux> How can I query a specific package for its path in nix?
dansho has quit [Ping timeout: 248 seconds]
<mkaito> Miyu-chan: and that didn't work? why?
<mkaito> kiloreux: with nix-instantiate
<srhb> kiloreux: nix eval nixpkgs.hello.outPath
<Miyu-chan> It worked, but it resulted in me generating 4 system files per entry.
<mkaito> system files?
is_null has quit [Remote host closed the connection]
<mkaito> you mean the systemd units?
aswanson has joined #nixos
<Miyu-chan> Yeah.
<mkaito> shouldn't there only be 2 per entry?
<Miyu-chan> ALso, s/system/service/ whoops
<mkaito> either way, why is that a problem?
<kiloreux> srhb, I am referring to a package already installed in my system.
<Miyu-chan> Nah, I did things with `duplicity-foo-{start,destroy,bla}`
<freddie-freeload> sphalerite: Thanks for the idea! My biggest problem atm is really the compiling itself and it is quite unfortunate, that this can't be done in a "cleaner way". But, yeah, probably an issue for xserver...
<srhb> kiloreux: Just follow the symlink of one of its files then.
<srhb> kiloreux: eg readlink -e $(which bash)
<mkaito> Miyu-chan: I see, but that seems like it would be ok to me.
<Miyu-chan> I wonder how `conflicts` works with systemd units.
freddie-freeload has quit [Remote host closed the connection]
<kiloreux> srhb, I have version-1.0 and version-2.0. Version 1.0 is available at ~/nix-profile however you can find the second version only by grepping nix store.
<Miyu-chan> Err
<Miyu-chan> with *instanced* units
___laika has joined #nixos
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fj1le
<pie_> i wanted to substitute a variable
<pie_> i guess i can use --run though
<{^_^}> [nixpkgs] @ryantm merged pull request #64947 → rush: 1.9 -> 2.1 → https://git.io/fj1LP
<pie_> i guess thats less hacky
<pie_> * less hacky too
o1lo01ol1o has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
ubert has quit [Remote host closed the connection]
nakkle has joined #nixos
iyzsong has joined #nixos
bakakuna has joined #nixos
kiloreux has quit [Read error: Connection reset by peer]
kiloreux_ has joined #nixos
Shoubit has joined #nixos
noudle has joined #nixos
<{^_^}> [nixos-homepage] @domenkozar opened pull request #289 → Add Open Collective to improve transparency → https://git.io/fj1lW
<{^_^}> [nixos-homepage] @domenkozar pushed to opencollective « Add Open Collective to improve transparency »: https://git.io/fj1l8
___laika has quit [Ping timeout: 245 seconds]
virus_dave has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
inquisitiv3 has quit [Ping timeout: 248 seconds]
acarrico has joined #nixos
<{^_^}> [nixpkgs] @luispedro opened pull request #64987 → Remove gflags dependency from rocksdb → https://git.io/fj1lp
qqlq has quit [Quit: ZNC 1.7.4 - https://znc.in]
xkapastel has joined #nixos
<Miyu-chan> mkaito: I just did a big stupid, apparently, individual services was really the correct way.
<Miyu-chan> Otherwise, I can't add it to multi-user.target.
<mkaito> figures
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #64832 → i3status-rust: 0.9.0.2019-04-27 -> 0.10.0 → https://git.io/fjXHF
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fj18l
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64039 → gobject-introspection: 1.60.1 -> 1.60.2 → https://git.io/fjK8z
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/fj180
veske has quit [Quit: This computer has gone to sleep]
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to staging-next: https://git.io/fj182
<{^_^}> [nixpkgs] @grahamc closed pull request #64835 → networkmanager-l2tp: 1.2.10 -> 1.2.12 → https://git.io/fjXQK
tilpner has joined #nixos
kiloreux_ has quit [Remote host closed the connection]
ericsagnes has quit [Ping timeout: 250 seconds]
<{^_^}> [nixos-homepage] @grahamc pushed 2 commits to master: https://git.io/fj185
<{^_^}> [nixos-homepage] @grahamc merged pull request #289 → Add Open Collective to improve transparency → https://git.io/fj1lW
<{^_^}> [nixos-homepage] @grahamc pushed 0 commits to opencollective: https://git.io/fj18d
inquisitiv3 has joined #nixos
fendor has joined #nixos
dwdr has quit [Ping timeout: 245 seconds]
tmaekawa has joined #nixos
moet has joined #nixos
<simpson> inquisitiv3: Morning. I can't find any dedicated documentation on this fact, but Nix on Linux can (optionally, enabled by default) set up a sandbox for every build.
<exarkun> is there an option to specify the prometheus node_exporter package used on the system or do I have to do it with an overlay?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #64901 → emacs: Also allow imagemagick dependency when using withNS → https://git.io/fjXjW
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fj14T
<srhb> exarkun: There is no .package option, if that's what you're asking.
<exarkun> Yea, more or less. I saw there was no such option, I wasn't sure if there was some other convention I'm not aware of.
<srhb> exarkun: overlays is usually the easiest way when that's the case. :)
<exarkun> and is the best way to upgrade it in an overlay to do `prometheus-node-exporter.overrideAttrs (old: { src = fetchFromGitHub { ... }; })`?
<exarkun> specifically curious if there's a way to avoid any of the nesting and avoid re-specifying the github owner/repo
<inquisitiv3> simpson: Isn't Nix sandboxing while building used to prevent accidential dependencies? Or do I confuse it with something else...?
<srhb> exarkun: Yes, that's usually easiest (though with name overridden too usually, for clarity)
<inquisitiv3> Or does Nix setup a sandbox for every applicatoin?
<exarkun> oh yea name, I always forget that
<exarkun> and then get an upgraded package with the wrong name
dftxbs3e has quit [Ping timeout: 250 seconds]
<inquisitiv3> It's primarly protection during runtime that I'm intrested in. to protect rest of the system if an application is exploited.
<srhb> exarkun: Indeed.
___laika has joined #nixos
vmandela has quit [Quit: Leaving]
<srhb> inquisitiv3: nixos containers might be relevant for that purpose.
<srhb> inquisitiv3: While not perfect it's very convenient.
shandogs has quit [Remote host closed the connection]
<srhb> inquisitiv3: but yes, nix sandboxing is about build-time isolation.
<srhb> There's some run-time protection, in a sense, in that you can't have SUID stuff in the store.
<simpson> inquisitiv3: Okay, but again, we usually intend for Nix-built tools to be usable on the rest of the system, which implies that they *shouldn't* be sandboxed away at runtime. Further, we intend for the system's existing security policies (seccomp, user NS, chroot, etc.) to interoperate with Nix-built binaries.
<simpson> inquisitiv3: What threats are you worried about?
ericsagnes has joined #nixos
<adisbladis> You can use nix/nixos to compose your own sandbox setup (see the firejail module for example)
<adisbladis> Or, like srhb pointed out, NixOS containers
risson has quit [Quit: Pouet. WeeChat 2.4]
<inquisitiv3> simpson: The first thing that comes to mind is to restrict what an hacker get access to if he/she successfully exploit Firefox.
<exarkun> maybe it would be nice if fetchFromGitHub returned an attrset with override or overrideAttrs
<lordcirth> Hmm, someone should make a NixOS template for Qubes OS.
<srhb> exarkun: But having src be a regular store path is also nice :)
<srhb> exarkun: srcArg and srcFetcher might be something interesting.
<simpson> inquisitiv3: Firefox has direct rendering access, usually, so it can send any command it likes to your GPU. In today's Linux security model, it's not really possible to sandbox this too much. Like lordcirth says, Qubes or something else quite heavy is required to properly isolate such hardware-accelerated apps.
<qyliss> lordcirth: there is one IIRC but it's not well maintained
<exarkun> srhb: do those exist or are those suggestions for something?
risson has joined #nixos
<srhb> Completely vague musings that don't exist.
<exarkun> :)
<exarkun> srhb: the idea would be `x == (x.srcFetcher x.srcArgs)` I guess?
<qyliss> anyway, re isolation, watch this space. I'll have something cool to share soon.
<srhb> exarkun: Right
<exarkun> and so `x.srcFetcher (x.srcArgs // { rev = "..."; sha256 = "..."; })` would be a nicer shorthand
<simpson> exarkun: I think that there might be a bit of a philosophical difference here. IIRC I'm the person that wrote the code that is currently frustrating you, and my strategy was to set versions in a fork of nixpkgs. Clearly these days, with overlays here and flakes on the way, I should have written something more extensible.
<exarkun> simpson: I'm not educated enough to have an explicit philosophy yet. :)
hmpffff has quit [Ping timeout: 246 seconds]
<srhb> exarkun: I was actually thinkign that src would be (srcFetcher srcArgs) in a very lazy fashion, so you could somehow override just the srcArg and src would update accordingly.
<simpson> inquisitiv3, qyliss: FWIW I just want to point out that there's a deeper pattern here of sandboxing vs. rewriting. Nix is a transitional system that requires a bit of both, but many security folks are comfortable saying that nothing short of a rewrite will establish the desired security property.
<exarkun> srhb: aha!
literon has quit [Remote host closed the connection]
<exarkun> fwiw all I'm doing write now is writing an example of configuring a system with a newer version of node_exporter in a review comment on a PR w/ 500 lines of ansible and I want the example to be as succinct as possible to make the point as forcefully as possible that ansible is trash and we should be using nix
<exarkun> s/write now/right now/
tmaekawa has quit [Quit: tmaekawa]
<srhb> exarkun: oh do I ever know that exact case...
cransom has joined #nixos
bakakuna has quit [Ping timeout: 250 seconds]
<srhb> exarkun: imo the overrides are still pretty, but if you want to do it nicely, make a little versionOverride helper? :)
<srhb> exarkun: as in, something that requires the things you should remember for overrideAttrs, src name and version.
<exarkun> yea, thought about that, but for a one-off example in a review comment, defining an extra function doesn't make anything shorter
<srhb> Indeed. I was thinking if they can follow along they might see the power of package overrides instead.
<inquisitiv3> simpson: Rewrite of what?
<simpson> inquisitiv3: In this case, of Firefox and Linux, or at least Firefox and the Linux DRM subsystem.
<exarkun> srhb: yea, good point. I think that might be pursuasive in some cases but I'm guessing not in this one (based on my experience with this specific audience).
* srhb nods
hyper_ch2 has quit [Remote host closed the connection]
<inquisitiv3> simpson: So you mean that sandboxning can't really isolate Firefox because it got direct access to the GPU, and the only way to solve that is to rewrite Firefox?
<inquisitiv3> ^ Or the relevant parts of Firefox
<{^_^}> [nixops] @AmineChikhaoui merged pull request #824 → libvirtd: Add support for remote libvirt URIs → https://git.io/vbFSl
<{^_^}> [nixops] @AmineChikhaoui pushed 9 commits to master: https://git.io/fj14i
<eyJhb> Currently trying to add coloredlogs (python package), which depends on some others (humandfriendly and capture), but I keep getting this error - https://termbin.com/dbqp
<eyJhb> WHich package needs `script`? I can see that coloredlogs uses it itself, but I cannot seem to figure out, how to give it access to script....
<srhb> eyJhb: checkInputs?
risson has quit [Ping timeout: 250 seconds]
<simpson> inquisitiv3: Yes. Indeed, imagine securing a basic primitive building block for this sort of thing; imagine if Firefox were memory-safe. This would require not just rewriting Firefox, but changing how Linux allocates memory for processes. Check out seL4 for an example of how this might be done practically.
<eyJhb> Seems to do the trick, checkInput with utillinux
risson has joined #nixos
<eyJhb> Still getting some other.. Weird.. Errors..
<lordcirth> simpson, well, Rust was actually developed for the task of making Firefox memory-safe.
<srhb> eyJhb: Eh, progress is progress :P
srid6390803 has quit [Ping timeout: 244 seconds]
<eyJhb> Well, if you want I got this for yoooou - https://termbin.com/zq2p srhb :D
<eyJhb> But it seems more like the package is failing its own builds
<simpson> lordcirth: Sure, but (a) Rust *isn't* memory-safe, even though it's a big improvement on C++; (b) the way that JITs interoperate with OSs is inherently memory-unsafe and something like seccomp is required; (c) the linkage of Firefox with things like libpng or libjpeg means that the entire process needs a rewrite for the safety property to hold.
<srhb> eyJhb: Its own tests, yeah. Or one of them.
<eyJhb> I am not quite sure how to handle it, as on its own page, it says it passes all tests... :/
<srhb> eyJhb: Read the failing test? :)
<lordcirth> simpson, what is still unsafe about properly written Rust? overflows/
<srhb> eyJhb: From the html output I suspect it's trying to do interwebs stuff?
endformationage has joined #nixos
<eyJhb> So one would suspect :p
<inquisitiv3> simpson: Thanks! But what about other applications? Firefox isn't the only one that can be exploited over the network.
<eyJhb> It isn't really what you would assume
<eyJhb> Might have found the issue!
<simpson> lordcirth: `unsafe`, mostly. I'm generally suspicious of any language with a memory model.
<eyJhb> I did not!
<eyJhb> Damn it.
<gchristensen> simpson: at least it is notated :P and can be forbidden
<srhb> eyJhb: Try and patch the test to output the wrong thing, might make you wiser to what's going on.
<simpson> inquisitiv3: Yes, in general, if we want a security property to be trivial to establish, then we need to write the application in a language which trivially grants that property to all programs. (The technical reason behind this is Rice's Theorem.)
<simpson> gchristensen: Definitely. But, just like with Safe Haskell, Rust's inter-module safety features are still not quite up to snuff for the task of completely forbidding unsafe memory accesses. The safety is only defined within single expressions and whole programs, and IIUC inter-module safety is still an incomplete story.
<gchristensen> it is true that you have to explicitly audit your dependencies, or patch them to forbid unsafe
<simpson> inquisitiv3: There are lighterweight transitional sandbox technologies that you might want to look into. We don't have them available on NixOS, but that's largely due to lack of current interest and not innate obstructions. Capsicum and CloudABI are two that come to mind.
Soo_Slow has joined #nixos
<simpson> There's also Linux's seccomp and ebf subsystems, which are primitive but can handle some simple security proofs.
___laika has quit [Ping timeout: 272 seconds]
<eyJhb> srhb: I wish it actually printed something out to start with, instead of being a useless dumb machine saying something failed, and not the actual values
<srhb> eyJhb: Patch it. :P
<srhb> eyJhb: It's easy to sub in a local src dir while you're developing the package, then figure out what's wrong by altering the actual source
<srhb> eyJhb: When you're done, swap in the real source again.
<srhb> But hard to say without any output indeed.
FRidh has joined #nixos
<srhb> also the chrooting..
<eyJhb> srhb: how would you source in a local dir? src = dir() ? :p Cannot remember, or know any command
<srhb> eyJhb: src = /path/to/your/altered/source
chpatrick has joined #nixos
<eyJhb> Really, that easy?
<srhb> Yes.
<exarkun> X can't reliably wake up my monitor from sleep mode, what do I have to go look at to teach it how
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64978 → magic-wormhole: include manpage → https://git.io/fj1sx
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj14A
<inquisitiv3> simpson: Thakns for the information! I'll do some more research into these techs. While I like Nix functional paradigm and solutions to problems, I haven't seen any real work (what I know of) to provide security outside of providing updates.
<simpson> exarkun: xset, specifically screen-saver and DPMS controls. If they only sometimes work, then you'll have to go through the fun of dumping the monitor's EDID to figure out how it's lying.
<eyJhb> srhb: `<code>bash: coloredlogs: command not found</code>`
<eyJhb> Wth.....
<Taneb> Could someone look at this PR for me: https://github.com/NixOS/nixpkgs/pull/64785
<{^_^}> #64785 (by Taneb, 2 days ago, open): q: init at 1.7.1
<simpson> inquisitiv3: The biggest concrete security improvement in Nix is that users can install packages as an unprivileged operation without disturbing others on the system.
<srhb> eyJhb: Is it expecting that it's already in PATH? Might just have to fix that.
<eyJhb> So.. Does it build before testing, or test after?
<eyJhb> Yeah I guess
<chaker> Hey, I'm trying to build a c++ application, but go an issue with `ld: cannot find -lpthread`
<eyJhb> How would I go about fixing that?
kiwi_32 has joined #nixos
<srhb> eyJhb: You could add it in preCheck
<eyJhb> preCheck = [ coloredlogs ]; ? But then it depends on it self, which is OK?
<srhb> Or patch the test to use the local-to-build-dir path.
<srhb> eyJhb: No, I mean literally modifying PATH to include its path in the build dir for the duration of the checkPhase
<inquisitiv3> simpson: Yeah, but I'm primarly use single-user systems, so I don't feel I have any real security benefits of that.
<srhb> eyJhb: The circular dependency would indeed break.
<kiwi_32> Hi, 19.09.git.3674eefe0c0 here and installing zeroad always ends with error 9 while decompressing xz file. Is that a known issue?
<eyJhb> Would a sed be okay in that case? Then I would have to sed something like.. `sed -i "s/main('coloredlogs'/PATH/g"`
<srhb> kiwi_32: Can't seem to find that commit.
<sphalerite> kiwi_32: that sounds like a download problem, could you give a full log including the command that you ran?
<inquisitiv3> simpson: Do you see any positive features that Flatpak/Snappy have over Nix from a security perspective?
<simpson> inquisitiv3: The biggest bang for your buck is likely NoScript, then. Run less untrusted code. Be patient with the ecosystem.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srhb> eyJhb: That would work. :)
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64570 → qtutilities: init at 5.13.0 → https://git.io/fjPst
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj1BU
<srhb> eyJhb: Hack first, worry about pretty after ;)
<simpson> inquisitiv3: Nope. Flatpak and Snappy both seem to have last decade's ideas about sandboxes, and don't have any mention of POLA or structural isolation. Security is a process, not a checklist, and I'm not sure that they've got good processes.
<eyJhb> Ahh, but you see, the hack would normally indicate that I know how I would get the path! :p
<gchristensen> snappy's run-time sandboxing is interesting
<eyJhb> I really just want to disable this test
<eyJhb> HA! Worked
wfranzini has joined #nixos
<srhb> :)
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64273 → pantheon.switchboard-plug-pantheon-shell: Fix setting lightdm background → https://git.io/fj6nJ
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj1BG
<eyJhb> Somehow `script` isn't needed anymore
<kiwi_32> Is there a workaround for https://github.com/NixOS/nix/issues/2952 e.g. downloading a nar manually or do I need to wait for new Nix(Unstable) release?
<{^_^}> nix#2952 (by jtojnar, 4 weeks ago, closed): error 9 while decompressing xz file
<eyJhb> Thanks srhb , only 6 more packages to go then ;)
<gchristensen> kiwi_32: usually, just trying again does it
<inquisitiv3> gchristensen: Aah, that reminds me! Have you done any writeup of the Snap conference you attended?
fendor has quit [Ping timeout: 244 seconds]
domogled has joined #nixos
<kiwi_32> Ive been trying that over last month :(
<inquisitiv3> The guys at the Ubuntu podcast mentioned you on an episode some weeks ago.
<gchristensen> inquisitiv3: oh really? link?
<kiwi_32> Could I download necessary files with wget and point Nix to them?
Shoubit has quit [Ping timeout: 246 seconds]
<{^_^}> [nix] @zimbatm opened pull request #2994 → libstore: ssh-ng: forward the default setOptions → https://git.io/fj1BB
<kiwi_32> E.g. that warning: unable to download 'https://cache.nixos.org/nar/0d46j3ipvrdbybwzfmkif5v00zzgw7j2c8xkq235gz8xw3i5kvkb.nar.xz': HTTP error 200
<kiwi_32> Is 200 even an error?
<inquisitiv3> gchristensen: I'll find the link and timestamps :)
<gchristensen> I haven't been home enough to get in to "the mode" to write a blog post, but I should probably suck it up and do it:)
<tilpner> kiwi_32: Fetch, unpack, and nix-store --restore it
<eyJhb> I really feel like a test shouldn't require the usage of "sudo" to run
<sphalerite> kiwi_32: maybe `nix copy --from https://cache.nixos.org --to file:///tmp/binary-cache nixpkgs.zeroad`, then `nix build --extra-substituters file:///tmp/binary-cache nixpkgs.zeroad`
<sphalerite> kiwi_32: if that doesn't work, you can manually download the narinfo and the nar to /tmp/binary-cache as appropriate and then do the second command
<kiwi_32> Thank you sphalerite and tilpner. I gonna try that.
<tilpner> Wait no, --restore alone isn't enough
<eyJhb> Is it allowed to just disable a package check because it requires sudo? https://github.com/xolox/python-executor/blob/master/executor/tests.py#L10 ?
<sphalerite> kiwi_32: you may need to do the second command as root, because extra-substituters is a trusted-users-only option.
winem_ has quit [Ping timeout: 244 seconds]
v88m has quit [Remote host closed the connection]
<tilpner> kiwi_32: nix-store --import might work
v88m has joined #nixos
<srhb> eyJhb: There are no firm rules. I would say the right approach is to either disable checks completely or patch it out, but at the same time ask the authors to please provide an option to turn off the sudo stuff, if there's any relevant tests left at all.
<eyJhb> srhb: apparantly the test requires the ability to switch user... :/
v88m has quit [Remote host closed the connection]
<eyJhb> So I have disabled them, as they cannot be patched out, without just.. Removing them basically
<inquisitiv3> gchristensen: http://ubuntupodcast.org/2019/06/27/s12e12-nemesis/ @ 16:42
v88m has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to release-19.03 « pantheon.switchboard-plug-pantheon-shell: Fix setting lightdm background »: https://git.io/fj1Ba
<eyJhb> Is there ANY order in python-packages? I cannot find where I should put these new packages
<eyJhb> LIke I have e.g. pyemd, pulp, behave, pyhamcrest, parse, which apparantly come after each other
<eyJhb> Can I just group these 7 packages together, as they come from the same author xolox ?
kiwi_32 has quit [Remote host closed the connection]
<manveru> isn't it alphabetic?
<{^_^}> [nixpkgs] @dingxiangfei2009 opened pull request #64988 → wasilibc: 20190413 -> 20190712 → https://git.io/fj1BM
<manveru> guess not...
<manveru> that triggers my OCD
<jasongrossman> manveru: Don't you mean CDO?
<LnL7> none of our toplevel files are sorted :/
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64941 → teleport: 3.1.8 -> 4.0.2 → https://git.io/fj1Ia
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj1B5
cfricke has quit [Quit: WeeChat 2.5]
stepcut has joined #nixos
<{^_^}> [nixpkgs] @eyJhb opened pull request #64989 → pythonPackages.rotate-backups: init at 6.0 → https://git.io/fj1Bb
iyzsong has quit [Ping timeout: 250 seconds]
<eyJhb> Yay, 8 new python packages
srid6390803 has joined #nixos
stepcut has quit [Remote host closed the connection]
Denommus has joined #nixos
<betaboon> manveru: same for me :/
dsx has quit [Quit: dsx]
inquisitiv3 has quit [Ping timeout: 272 seconds]
dsx has joined #nixos
Ariakenom has quit [Quit: Leaving]
<eyJhb> Oh btw. can anyone of you run the bot on the PR I just created? srhb gchristensen ?
arjen-jonathan has quit [Ping timeout: 248 seconds]
<Taneb> I think I'm facing a problem caused by the nix-daemon.service file being not on the root partition on nix-for-other-linux.
chreekat has joined #nixos
<Taneb> Because it's on a partition which is being mounted by systemd, systemd cannot see the unit file at the start of boot so cannot order it
<Taneb> Which means the nix daemon isn't getting started on boot
<Taneb> Any idea how to resolve this?
___laika has joined #nixos
inquisitiv3 has joined #nixos
<sphalerite> eyJhb: you forgot to add yourself to maintainers.nix in your PR
<sphalerite> eyJhb: so the bot can't eval, let alone build it ;)
<eyJhb> Wrose
<eyJhb> Worse**
<eyJhb> I misspelled my name
<sphalerite> ahahah
<eyJhb> Thought I had typed it as eyJhb...........
<sphalerite> but you also didn't commit any change to maintainers.nix
<eyJhb> sphalerite: I am already listed as a maintainer :D
<eyJhb> As far as I remember
<eyJhb> ^ yes :p
arjen-jonathan has joined #nixos
<eyJhb> Anybody have a easy fix for it ? :p
<sphalerite> oh never mind me
<sphalerite> lol
pamplemo1sse has joined #nixos
<eyJhb> Yes, I hate myself. :p
jackdk has quit [Quit: Connection closed for inactivity]
<Zer0xp> Hey does anyone use home-manager for NixOS ?
<Zer0xp> If so, would you recommend adding the zsh package over there or in configuration.nix ?
<{^_^}> [nixpkgs] @globin merged pull request #64550 → gitlab: 11.10.8 -> 12.0.3 → https://git.io/fjPTJ
<{^_^}> [nixpkgs] @globin pushed 10 commits to master: https://git.io/fj1RP
<chreekat> Zer0xp: by zsh package, do you mean zsh itself? Then configuration.nix. If you mean configuration packages for zsh, like the stuff oh-my-zsh deals with, then probably home-manager
<chreekat> <-- not a home-manager expert
<Zer0xp> chreekat: I'm talking about zsh itself. Cool, I'll do that. Thanks.
<{^_^}> [nixpkgs] @globin merged pull request #64837 → nextcloud: 16.0.1 -> 16.0.3 → https://git.io/fjXQ5
<{^_^}> [nixpkgs] @globin pushed 3 commits to master: https://git.io/fj1RN
<{^_^}> [nixpkgs] @globin merged pull request #64841 → nextcloud: 15.08 -> 16.0.3 [19.03] → https://git.io/fjX7B
<{^_^}> [nixpkgs] @globin pushed commit from @herrwiese to release-19.03 « nextcloud: 15.0.8 -> 16.0.3 [19.03] (#64841) »: https://git.io/fj1RA
<chreekat> Zer0xp: cool. There's even configuration.nix config for specifying users' default shells you could use. https://nixos.org/nixos/options.html#users.users.%3Cname%3F%3E.shell
arjen-jonathan has quit [Ping timeout: 268 seconds]
sigmundv has quit [Ping timeout: 246 seconds]
vmandela has joined #nixos
ericsagnes has quit [Ping timeout: 248 seconds]
domogled has quit [Ping timeout: 245 seconds]
<judson_> Is ocharles around? Wrong TZ for them?
<Zer0xp> chreekat: Can I have both zsh and bash enabled ?
gagbo has quit [Ping timeout: 248 seconds]
<chreekat> Zer0xp: you can have them both installed, certainly
<chreekat> and then run one from inside the other :D
Ariakenom has joined #nixos
<Zer0xp> chreekat: Sounds like a plan :D
<Zer0xp> Does anyone here use NixOPS, Disnix or Hydra ?
<judson_> I use NixOps a little
Denommus has quit [Remote host closed the connection]
erasmas has joined #nixos
___laika has quit [Ping timeout: 248 seconds]
gagbo has joined #nixos
Drakonis has quit [Quit: WeeChat 2.4]
nakkle has quit [Ping timeout: 276 seconds]
MmeQuignon has joined #nixos
<tilpner> I used nixops for a short while, and have a Hydra
<tilpner> But it's generally best if you just ask a question, instead of gathering people who might be able to answer it first
ddellacosta has joined #nixos
<andi-> fire
<andi-> wrong window /o\
gnidorah has joined #nixos
<gnidorah> FRidh: merge please? #63024
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63024 (by gnidorah, 5 weeks ago, open): midisheetmusic: always bring timidity dependency
ddellacosta has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fj10B
Drakonis has joined #nixos
drakonis1 has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
drakonis1 has joined #nixos
inquisitiv3 has quit [Ping timeout: 245 seconds]
Drakonis has quit [Read error: Connection reset by peer]
matt` has joined #nixos
Thra11 has joined #nixos
<matt`> hello. how can i override a texlive package to use a different version of that package? is there any documentation on this? can i do this with overlays?
orivej has joined #nixos
drakonis_ has quit [Ping timeout: 246 seconds]
nakkle has joined #nixos
ddellacosta has joined #nixos
rfold has joined #nixos
<dsx> Is there a way build current running configuration into an image suitable to for PXE boot?
<nh2> dsx: to my knowledge, you cannot generally obtain the "currently running configuration" and transform it nicely, you would usually go from the configuration.nix that built it
Drakonis has joined #nixos
<dsx> Let's assume it's a same thing more or less.
dwdr has joined #nixos
drakonis1 has quit [Ping timeout: 250 seconds]
shomodj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> dsx: `module =` is a full nixos config, which gets baked into a pxe image, and then the rest of this configures the machine to perform nat and router duties, and share that pxe image
<nh2> matt`: I think you can do this:
<nh2> nix-shell -p 'pkgs.texlive.combined.scheme-small.overrideAttrs (old: { src = /path/to/my/sourcedir; })'
<nh2> of course you can also use `fetchgit` or a URL or whatever else for the `src =`
<dsx> clever: thanks! I'll see what I can learn from this
ddellacosta has quit [Ping timeout: 245 seconds]
Drakonis has quit [Ping timeout: 264 seconds]
ddellacosta has joined #nixos
nakkle has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @xrelkd opened pull request #64991 → cargo-xbuild: 0.5.14 -> 0.5.15 → https://git.io/fj1EJ
<matt`> nh2: thanks. does that src specify the entire texlive source? so I would have to clone the full source and manually adjust the packages specifications in there?
dftxbs3e has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « jenkins: 2.176.1 -> 2.176.2 »: https://git.io/fj1Ek
jb55 has joined #nixos
ddellacosta has quit [Ping timeout: 258 seconds]
fusion809 has quit [Remote host closed the connection]
<nh2> matt`: I'm no expert on the texlive package, but it already seems to have some functionality to combine sub-packages or something like that; check out:
ddellacosta has joined #nixos
MmeQuignon has quit [Ping timeout: 248 seconds]
srid6390803 has quit [Ping timeout: 244 seconds]
___laika has joined #nixos
<eyJhb> sphalerite: passed now ;) :p
shomodj has joined #nixos
shibboleth has joined #nixos
ddellacosta has quit [Ping timeout: 244 seconds]
srid6390803 has joined #nixos
ddellacosta has joined #nixos
pamplemo1sse has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
___laika has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
mniip has quit [Quit: This page is intentionally left blank.]
moet has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
ddellacosta has quit [Ping timeout: 268 seconds]
ThatDocsLady_ has quit [Ping timeout: 245 seconds]
ddellacosta has joined #nixos
lucasvo has joined #nixos
<ocharles> judson_: what's up?
<judson_> I've got a fish PR open that ofborg tagged you for review
___laika has joined #nixos
<judson_> Just hoping to push it along, and answer any questions.
pamplemo1sse has joined #nixos
gratto has joined #nixos
<{^_^}> [nixpkgs] @gnidorah opened pull request #64993 → video2midi: 0.3.7 -> 0.3.9.1 → https://git.io/fj1ED
<exarkun> is there a way to run nix-shell w/ a shell.nix and also specify some additional packages?
Jackneill has quit [Remote host closed the connection]
justan0theruser is now known as justanotheruser
<exarkun> do nix-shells stack?
<Zer0xp> tilpner: I was just wondering whether NixOPS, Disnix and Hydra were still supported and if they were reliable tools or not ?
<{^_^}> [nixos-homepage] @grahamc pushed 3 commits to master: https://git.io/fj1E5
<{^_^}> [nixos-homepage] @grahamc merged pull request #260 → Add licenses → https://git.io/fhMoE
<Zer0xp> Also, random thing I've noticed after switching to the nix-unstable channel is that whenevr I hit Alt+Tab to switch between programs in Plasma, the top pane of the window just disappears for a few seconds and then comes back without allowing me to switch the window. I'm using KDE Plasma. Wondering if anyone else has faced this issue. I hope the solution isn't to switch to i3 or another Desktop Manager.
<Zer0xp> I mentioned Plasma twice. How redundant of me !
<gchristensen> nixpkgs-unstable or nixos-unstable
<gchristensen> (nixpkgs-unstable should not be used for NixOS)
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64952 → Fix 8 python packages in python-unstable → https://git.io/fj1ti
markus1189 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed 9 commits to python-unstable: https://git.io/fj1uv
<__monty__> How do I check which binaries are available in the standard build environment? Is it just busybox or something?
shomodj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Zer0xp> gchristensen: nixos-unstable
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Zer0xp> exarkun: Yes, it does. I just tried it.
<Zer0xp> exarkun: By stacking you mean opening nix-shell within another nix-shell, right ? If so, then yes.
<sphalerite> __monty__: nix-shell -p --pure --run 'IFS=: for elt in $PATH; do ls "$elt" ; done'
<sphalerite> (not tested)
<exarkun> Zer0xp: with environment from the first nix-shell preserved in the second
<exarkun> Zer0xp: I think I'm leaning towards "it depends" in practice
{^_^} has quit [Ping timeout: 276 seconds]
<sphalerite> __monty__: huh. nix-shell is being weird about this.
<__monty__> sphalerite: Worked with just an extra ; after the assignment, thanks : )
<sphalerite> whoops!
shibboleth has quit [Quit: shibboleth]
<Zer0xp> exarkun: I think it should be but I'm not really sure. Maybe wait for a reply from someone else.
* exarkun is good at waiting
zupo has joined #nixos
<exarkun> I can even do it concurrently
<sphalerite> exarkun: they don't stack _well_. Overriding a shell derivation to add inputs is likely to work better.
<exarkun> Why is there `builtins.map` and `map` but only `builtins.elem` and not `elem`?
<exarkun> And where is reduce or foldl or foldr?
<sphalerite> exarkun: someone thought that elem is more likely to be used by a user as a variable name and cause confusion.
<exarkun> Why is there builtins.foldl' and not builtins.foldl? :)
<sphalerite> exarkun: because the builtins are more "primitives" for building further functionality than generally useful stuff
<sphalerite> we have pkgs.lib for that: https://nixos.org/nixpkgs/manual/#sec-functions-library
<kraem> i'm trying to split up my nix config into modules so i can reuse them between my hosts + get some more structure. i'm wondering if i can define something like `environment.systemPackages = with pkgs; [ ]` in two different imports. `nixos-rebuild` does not complain but i've seen people do something with the `++` 'operator' between lists.
<exarkun> ty
markus1189 has joined #nixos
<infinisil> kraem: Yeah you can define options multiple times and they get merged properly
<sphalerite> kraem: yes, you can. They'll be merged to include the ones from all the imports
<infinisil> This is one of the main cool things about the module system
chreekat has quit [Ping timeout: 276 seconds]
ris has joined #nixos
chreekat has joined #nixos
<kraem> infinisil, sphalerite thanks! why are people using the `++` list-operator then? (and i don't know if i'm using modules correctly, is it a module if i have some 'statements' in one file and the import that into my configuration.nix?)
bakakuna has joined #nixos
<sphalerite> kraem: if you're using imports = […]; yes. If you're using import ./file.nix, no.
<sphalerite> kraem: ++ is for concatenating lists generally, and is useful when you're not writing nixos config modules for instance
<sphalerite> kraem: or if you want to generate a list with a function and concatenate it with another.
<kraem> sphalerite: ok so ++ is more a general list operation - used for example where you have an if-statement to check if, for example, `services.xserver.enable = true`?
<chreekat> kraem: Hm, where's the list in that statement?
<exarkun> Or I could ask instead... How do I get a debug-mode Python that's actually used in my pyenv and by packages I install in it?
<kraem> chreekat: i don't know the syntax yet but i meant something along the lines of `if x list = common ++ xorg`
<sphalerite> kraem: more likely, you'd want a module that both enables the x server and adds your xorg applications to systemPackages
<yorick> steam segfaults, sad
gratto has quit [Ping timeout: 248 seconds]
<exarkun> kraem: `[ x ] ++ [ y ] == [ x y ]` though, yes, if that's what you're trying to figure out.
<exarkun> kraem: `nix repl`, fwiw
o1lo01ol1o has joined #nixos
<kraem> sphalerite: yeah my xorg.nix does both enable the xserver and defines a list of packages to be installed as well. I don't know what i'm trying to clarify for myself here - guess i just want to know different ways of doing the same thing :)
Neo-- has quit [Ping timeout: 244 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<sphalerite> kraem: of course, nothing wrong with that :)
lordcirth has quit [Remote host closed the connection]
lordcirth has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<Miyu-chan> Any idea on how to make a systemd service run on rebuild, but not on boot?
<Miyu-chan> I'm okay with early returning by detecting boot, if that's your idea.
qqlq has joined #nixos
o1lo01ol1o has joined #nixos
shibboleth has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
ddellacosta has quit [Quit: WeeChat 2.2]
Soo_Slow has quit [Remote host closed the connection]
inquisitiv3 has joined #nixos
gagbo has quit [Ping timeout: 245 seconds]
mexisme has quit [Ping timeout: 250 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mdash> hmm. does hex2nix collect the _entire_ hex.pm repo? (as opposed to pypi2nix/node2nix fetching deps for a single project)
arianvp has quit [Quit: WeeChat 2.4]
arianvp has joined #nixos
shandogs has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
vmandela has quit [Quit: Leaving]
<arianvp> with nixos nginx virtualHosts
<arianvp> if I have multiple locations. in what order are they evaluated?
<arianvp> as it really matters a lot for nginx's routing
shandogs has quit [Ping timeout: 258 seconds]
<arianvp> are maps in nixos even ordered?
<Zer0xp> Hey, can someone tell me how many users are there in this channel ?
<arianvp> Ahh ther'es a "priority" attribute
ThatDocsLady_ has joined #nixos
<atlas_> Zer0xp: 896, I believe
jasongrossman has quit [Ping timeout: 245 seconds]
gratto has joined #nixos
bakakuna has quit [Ping timeout: 245 seconds]
<aswanson> is there a way to show a derivation for a package in the terminal, say using nix-env or another tool?
<exarkun> nix show-derivation
<infinisil> arianvp: Well they are ordered alphabetically actually
<aswanson> exarkun: neat, thank you
<infinisil> Oh or is there a priority option? /me checks
<infinisil> Ahh there is, gotcha
srid6390803 has quit [Ping timeout: 268 seconds]
<Miyu-chan> infinisil: Priority? In Nix itself, or the modules system?
<nikivi> how can I know what derivation failed reading this https://paste.ee/p/h4R88
<nikivi> I dont find any names on it
<infinisil> Miyu-chan: Nah, there's an nginx priority option for locations: services.nginx.virtualHosts.<name>.locations.<name>.priority
<Miyu-chan> Oh. :P
<nikivi> oh nvm I do, its screenfetch
shibboleth has quit [Quit: shibboleth]
gratto has quit [Ping timeout: 272 seconds]
<arianvp> oh boi
<arianvp> found another bug in the letsencrypt code in nixos I think
<arianvp> I think the code literally only works when you have locations."/" but not with anything else?
zupo has joined #nixos
<arianvp> oh nope other bug nvm
mexisme has joined #nixos
ThatDocsLady_ has quit [Ping timeout: 264 seconds]
arjen-jonathan has joined #nixos
srid6390803 has joined #nixos
palo has quit [Quit: WeeChat 2.4]
Myhlamaeus has joined #nixos
gratto has joined #nixos
palo has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
o1lo01ol1o has joined #nixos
leothrix has quit [Ping timeout: 245 seconds]
jb55 has quit [Ping timeout: 260 seconds]
leothrix has joined #nixos
jb55 has joined #nixos
<gchristensen> NixOS is now on OpenCollective: https://opencollective.com/nixos
<gchristensen> thank you domenkozar[m], ikwildrpepper :)
<DigitalKiwi> what license is the nixos logo under?
<gchristensen> what do you want to use it for? :)
<DigitalKiwi> i paint
<gchristensen> oh cooool
<hexagoxel> the nixpkgs users guide mentions `callPackage` in its "haskell" chapter. Where is the documentation of that expression?
<DigitalKiwi> mostly i've been doing them as stickers but i can do other stuff too
<DigitalKiwi> so my non-lawyer self thinks that license says i can use it for this?
leothrix has quit [Ping timeout: 268 seconds]
lucasvo has quit [Quit: Lost terminal]
<DigitalKiwi> (i just might have to put a link somewhere?)
<samueldr> attribution is not necessarily a link, though not a lawyer either
rfold has quit [Ping timeout: 245 seconds]
<samueldr> >> For 4.0 licensed materials, a URI is required for proper attribution, if it is reasonably practicable to include.
<samueldr> the "practicable to include" for paintings seems... too lawyerable for me to answer :)
<DigitalKiwi> i can put it on my website
<samueldr> yeah, something like that, or if you print something with the painting, I would hazard a guess
<DigitalKiwi> https://mostlyabsurd.com/gallery/ I write summaries of them (it's out of date and I need to add examples of ones I painted)
mexisme has joined #nixos
<DigitalKiwi> anyway thanks it would have taken me a while to find that repo >.>
<DigitalKiwi> which reminds me. where is the default wallpaper stored that i see and then disappears?
<samueldr> dig up in that same repo
gratto has quit [Read error: Connection reset by peer]
<samueldr> same for the assets for the grub bootloader stuff
gratto has joined #nixos
<gchristensen> samueldr: btw can you send a PR for the foundation / opencollective stuff?
MmeQuignon has joined #nixos
sigmundv has joined #nixos
<samueldr> yeah
<DigitalKiwi> i'd like to set my wallpaper to that one but i didn't know where it was on filesystem :(
mexisme has quit [Ping timeout: 272 seconds]
<gchristensen> what is the default one?
<samueldr> (otherwise it looks dumb since the login window is over the logo)
<DigitalKiwi> i like that first one reminds me of one i used to have
inquisitiv3 has quit [Ping timeout: 258 seconds]
<DigitalKiwi> anyway thanks again
simon_weber has joined #nixos
mexisme has joined #nixos
bakakuna has joined #nixos
inquisitiv3 has joined #nixos
leothrix has joined #nixos
matt` has quit [Remote host closed the connection]
karetsu has joined #nixos
gnidorah has quit [Quit: Connection closed for inactivity]
<Yaniel> is it possible to override a package so as to change its version and url?
<Yaniel> (in order to depend on a specific version)
<vaibhavsagar> Yaniel: yes
<Yaniel> how? I tried overrideDerivation but it seemed to keep the old version
<tilpner> gchristensen: So now a credit card is required to donate, when it wasn't before :/
<vaibhavsagar> Yaniel: try `override`
<tilpner> gchristensen: Oh, it's just a UI thing
<gchristensen> oh?
karetsu has quit [Quit: WeeChat 2.4]
<ajs124> vaibhavsagar: wouldn't one use overrideAttrs for that?
<tilpner> gchristensen: I can't figure out how to enter an IBAN, the input form seems restricted to numbers
<vaibhavsagar> ajs124: oops, I think you're right
<gchristensen> tilpner: I don't know that you can use an IBAN, but also I've never interacted with an IBAN
<tilpner> gchristensen: And if an IBAN is entirely the wrong thing, I probably misunderstood what they mean by debit card. But in any case, this was possible before and now isn't
<tilpner> Which might not affect too many people, so I don't know how bad that is
<gchristensen> a debit card in the US is the exact same format as a credit card in the US, except it directly debits your checking account, instead of increasing your borrowing
<tilpner> gchristensen: Will the old system continue to work?
<gchristensen> I don't believe there are plans to discontinue paypal
<tilpner> The button seems to have been removed from https://nixos.org/nixos/foundation.html
<gchristensen> that is true
leothrix has quit [Ping timeout: 246 seconds]
tylerjl has joined #nixos
<gchristensen> there is a strong preference to have people go through o.c., as it makes it much simpler to maintain the books
<tilpner> If I'm reading their pricing page correctly, less money now reaches the foundation with OC, than it did with just Paypal. Is that correct?
rprije has joined #nixos
Drakonis has joined #nixos
<gchristensen> I think it is roughly 10%, which is pretty good all things considered
davidak has joined #nixos
<DigitalKiwi> wasn't that a show on NPR?
<gchristensen> doo doo doo doo doo doo doop
<DigitalKiwi> i haven't heard it in like 20 years
gratto has quit [Read error: Connection reset by peer]
gratto has joined #nixos
<tilpner> It is? I'm not entirely sure if my bank charges a fee every time a recurring transaction executes, or just the first time, but even in the worst case it's just 4%
drakonis_ has joined #nixos
<tilpner> Unless a direct bank transfer makes book-keeping too much effort?
<gchristensen> it is worth it
<gchristensen> not having to deal with the formalities is definitely worth it
<davidak> has anyone started 100+ nixos-containers? how? https://github.com/NixOS/nixpkgs/issues/65001
<mkaito> gchristensen: hey could I bother you to go review a PR I made for some docker stuff on nixpkgs? I have 1-2 more of those in the pipeline too.
<gchristensen> oh shoot I also promised to review that nix PR
gratto has quit [Ping timeout: 248 seconds]
qqlq has quit [Quit: ZNC 1.7.4 - https://znc.in]
Drakonis has quit [Ping timeout: 276 seconds]
knupfer has joined #nixos
gratto has joined #nixos
<clever> davidak: ive started 100 nixos containers, at 10 each, over 10 nixops deployments
<clever> davidak: and yes, it needed to eval nixos 110 times, which was murder on the ram :P
<clever> davidak: glancing at your issue, it seems to be more with starting the contains, then building things
Shouou has joined #nixos
Jackneill has joined #nixos
<aanderse> clever: when you say nixops + containers do you mean nixops with container backend, or nixops which manages nixos machines which run containers?
<aanderse> just curious, i don't really know much about nixops + containers
<aanderse> kinda curious
<clever> aanderse: nixops creating 10 machines in aws, that each run 10 declarative containers
<aanderse> ah ok
<davidak> clever, yes, building is fine with 20 GB SWAP and 8 GB RAM :D
ayerhart has joined #nixos
<clever> since i only had 10 per machine, i didnt run into davidak 's 2nd issue, with 100 on a single machine
Drakonis has joined #nixos
arjen-jonathan has quit [Ping timeout: 250 seconds]
matt` has joined #nixos
<aanderse> i feel like davidak is trying to do something pretty cool :)
<gchristensen> +1
<davidak> maybe the whole issue is this timeout?
<davidak> >systemd[1]: container@target18.service: Start operation timed out. Terminating.
<clever> davidak: try starting it again and see if it makes it further
<davidak> when the systemd unit has more time to start, maybe it would work
knupfer has quit [Ping timeout: 250 seconds]
<pamplemo1sse> when I try to build pypy3 locally, I get an error during the pypy tests... https://pastebin.com/kyW9b7RQ
<ris> what's been going on with this "unknown hash algorithm ''" error when trying to evaluate all of nixpkgs master the last few days?
sigmundv has quit [Quit: Leaving]
<gchristensen> mkaito: link to your issues?
<clever> ris: does --show-trace give more details?
<infinisil> ris: You don't have an outdated Nix version?
<matt`> what's the nix-recommended way to deal with custom files under the texmf tree? i normally put a custom file under texmf/tex/latex/commonstuff/default.cls, containing some `\RequirePackage` and macro definitions, which I can then include with `\documentclass{default}`. Should I create a dummy package that builds the output of the file under texmf-local, or should I just create the tree in the home directory and set the texmf environment
<matt`> variables?
<gchristensen> mkaito: boy this looks out of my league
<mkaito> oh alright. I thought you were "into docker" :P
<gchristensen> I don't actually do a lot with docker :x
<mkaito> alright, no worries
<Shouou> Is there a way to test a nixpkgs package in nix-shell, something like (the non-functional) 'nix-shell --pure -f . -p package`?
<ris> clever: yeah this is - error: while querying the derivation named 'nix-2.3pre20190712_aa82f8b':
<gchristensen> I've sent some PRs to help some clients, and sort of "adopted" a bit of code, but it really isn't my wheelhouse :x I'm sorry mkaito
<ris> it's happening on both of my machines so assume it's not just me
<infinisil> ris: Posting the full error would help..
<gchristensen> mkaito: I just requested reviews from a couple relevant people
<mkaito> gchristensen: I've spent the last week disassembling the entire thing, and I've come up with a couple patches here and there. That was the first one. I just keep fixing a hundred things as I work with it.
<gchristensen> hah, yeah, I know that feeling :)
<ris> ok but there's not a lot more...
<clever> ris: which version of nixpkgs are you on?
<mkaito> gchristensen: https://i.imgur.com/t0XHtgJ.gif
<gchristensen> yup
<mkaito> meanwhile "hey, is X ready!?" -- "I'm *working on it* dammit"
<ris> this is actually a PR forked off of 5724dc27d16bbbd1e82a5a488524f4dde9c1d1aa, recent master
<ris> i'm doing a nox-review
<clever> commit 31c38894c90429c9554eab1b416e59e3b6e054df
<clever> - sha256 = "1fq99fmlag5hxvgzxrclgfsnc1fhhfwnslyshad1934wi9nzx1s2";
<clever> + hash = "sha256-MRY2CCjnTPSWIv0/aguZcg5U+DA+ODLKl9vjB/qXFpU=";
<clever> the args to fetchFromGitHub where radically changed...
avn has joined #nixos
shomodj has joined #nixos
<ris> clever: oh _interesting_
<clever> ris: it looks like only the nixFlakes derivation has this problem, so you need a new nix to get the new nix
averell has quit [Quit: .]
<ris> that's always fun!
<ris> ok thanks
<gchristensen> interesting
<gchristensen> when did the new hash format arrive?
<clever> no idea, news to me too
<gchristensen> I know it has been there a while
<gchristensen> but I forget which version
<clever> strangely, i CAN build nixflakes with nix 2.2.2
<gchristensen> sure
<gchristensen> the new format has been around a while
<gchristensen> since 2.2
<clever> "outputHash": "sha256-MRY2CCjnTPSWIv0/aguZcg5U+DA+ODLKl9vjB/qXFpU=",
<clever> looks like its a nix-daemon level breakage
<clever> outputHashAlgo is just not specified anymore, and outputHash has changed format
<gchristensen> it shouldn't be breakage at all
<clever> so the daemon must be upgraded on all of your machines!
* clever points at ris
<clever> it broke things :P
<gchristensen> the point I'm driving at is depending on when it was introduced, we should or shouldn't allow it yet
* ris runs around in circles
shomodj_ has joined #nixos
<ris> with hair on fire
<clever> ris: youll want to upgrade the nix-daemon to make that build
<clever> sounds like 2.2 is enough to fix it
<Drakonis> time to gear up for flake goodness
tylerjl has quit [Ping timeout: 245 seconds]
<ris> cool thanks will leave that till tomorrow night
<worldofpeace> hey, anyone know how to setup a nixos vm with a bootloader and grub?
<gchristensen> I thin kthere is a withBootloader option :P
<clever> worldofpeace: nixos-rebuild build-vm-with-bootloader
<worldofpeace> yeah virtualisation.useBootLoader
<clever> worldofpeace: nix-build '<nixpkgs/nixos>' -A vmWithBootLoader -I nixos-config=./configuration.nix
averell has joined #nixos
<clever> worldofpeace: and yep, both of my methods set that nixos option
<worldofpeace> clever: you're so helpful always :)
shomodj has quit [Ping timeout: 246 seconds]
<infinisil> Ah yes, reminds me of #37693
tsrt^ has quit []
orivej has joined #nixos
* clever pokes {`-`}
<infinisil> Oh, bot is dead, gchristensen ^
<samueldr> {`-`} is only listening
{^_^} has joined #nixos
<samueldr> you're thinking of {^_^}
<clever> samueldr: tab completion
<{^_^}> [nixpkgs] @thoughtpolice opened pull request #65005 → all-packages: add static exe alias for haskell 'shake' package → https://git.io/fj1go
nfip^ has joined #nixos
<samueldr> I assumed so, clever, tried to make up a clever answer :)
<worldofpeace> clever: so I can do that, but isn't there some sort of grub config I have to add explicitly?
Shouou has quit [Ping timeout: 252 seconds]
<clever> worldofpeace: nixos adjusts the config for you
<infinisil> gchristensen: What was the problem with {^_^}?
lightbulbjim has quit [Ping timeout: 245 seconds]
lightbulbjim has joined #nixos
bitonic has quit [Ping timeout: 245 seconds]
bitonic has joined #nixos
<worldofpeace> clever: so I just did that without any extra config and it fails with 'no bootable device'
<clever> worldofpeace: are you using the qemu script it provides?
<worldofpeace> clever: yep just running the ./result/bin/run-nixos-vm
<{^_^}> [nixpkgs] @changlinli opened pull request #65006 → nodePackages.inliner: init at 1.13.1 → https://git.io/fj1g9
* clever tries [clever@amd-nixos:~]$ nix-build '<nixpkgs/nixos>' -A vmWithBootLoader --arg configuration '{}'
* ris is only now learning of nixflakes
<ris> looks ... interesting
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jcrd> can a package be customized to build from a git branch? or a specific commit?
<ris> hope we don't end up balkanizing
<clever> jcrd: override the src attr
gratto has quit [Ping timeout: 245 seconds]
<clever> worldofpeace: yep, fails to boot here
<clever> [clever@amd-nixos:~/apps/nixpkgs-master]$ git checkout --track origin/release-16.09
<clever> [clever@amd-nixos:~/apps/nixpkgs-master]$ nix-build ./nixos/ -A vmWithBootLoader --arg configuration '{}'
<worldofpeace> clever: docs said "but boots using the regular boot loader of your
<worldofpeace> configuration (e.g., GRUB 1 or 2), rather than booting directly
<worldofpeace> into the kernel and initial ramdisk of the system."
<clever> worldofpeace: doing a bisect...
<worldofpeace> clever: thx :)
leothrix has joined #nixos
ng0 has joined #nixos
<clever> worldofpeace: nixos 17.09 can boot, so this did work at one time
___laika has quit [Ping timeout: 248 seconds]
Jackneill has quit [Remote host closed the connection]
<Yaniel> hmm so how am I supposed to use overrideAttrs
<Yaniel> looks like what I have now didn't actually do anything
<clever> Yaniel: can you pastebin what your currently doing?
<worldofpeace> clever: I remember it working in 18.03 as well, wonder where the regression is
<Yaniel> clever: https://paste.rs/D2P
<clever> Yaniel: you need to set src also, version doesnt update right because of rec {
Shouou has joined #nixos
<Yaniel> I see
<Yaniel> I somehow assumet it is updated since it's derived from version
<Yaniel> assumed*
leothrix has quit [Ping timeout: 245 seconds]
<Yaniel> even after changing that, why is nix saying it's building renpy-7.3.0?
Tucky has quit [Quit: WeeChat 2.5]
<clever> Yaniel: because name is based on the old version, you must override name= also
<Yaniel> ahhh
<clever> thats why i avoid using rec whenever possible
<clever> it leads to confusion
davidak has quit [Quit: Leaving]
<Yaniel> could I get away without it?
<Yaniel> without duplicating the entire package for renpy there
<clever> a let block
<clever> let version = "foo"; in stdenv.mkDerivatopn { ...
<clever> its more obvious that it cant be modified
<Yaniel> can a let block have multiple items?
<clever> yes
<clever> i also havent checked, but i suspect pname + version may play more nicely, but wont help with src=
__monty__ has quit [Quit: leaving]
<Yaniel> "undefined variable 'version'" in the let binding
Ridout has joined #nixos
<Yaniel> do I have to format it differently there?
<clever> Yaniel: can you pastebin your current code?
<clever> worldofpeace: 18.09 fails for me
<Shouou> What's up with the ofborg output here? Is this something I can fix in the PR? https://github.com/NixOS/nixpkgs/pull/64704
<{^_^}> #64704 (by Shou, 4 days ago, open): spago: init at 0.8.5.0
<Yaniel> clever: https://0x0.st/z9IH.nix
<clever> worldofpeace: Bisecting: 19942 revisions left to test after this (roughly 14 steps)
bakakuna has quit [Ping timeout: 268 seconds]
<worldofpeace> clever: suspense...
leothrix has joined #nixos
<clever> Yaniel: thats not in a let block, you want renpy6 = let version = "6.99.14"; in ....overrideAttrs(....);
<Yaniel> ohhh
<{^_^}> [nixpkgs] @aanderse merged pull request #58025 → cassandra 3.11.3 -> 3.11.4 → https://git.io/fjf1K
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fj12e
jackdk has joined #nixos
<worldofpeace> to think all I need to do is debug the latest plymouth so I can get flicker free boot working
<clever> worldofpeace: running into a couple build failures...
<clever> luckily, i just did a GC and had 20gig free, so i can afford a couple mass-rebuilds, lol
<worldofpeace> that's bisecting nixpkgs for ya
<samueldr> worldofpeace: ooh, you got all the other bits of flicker free boot working?
<samueldr> <3 worldofpeace
<{^_^}> worldofpeace's karma got increased to 22
<worldofpeace> wait is that the command to give karma now samueldr
<andi-> <3 {^_^}
<{^_^}> {^_^}'s karma got increased to 163
<samueldr> not now, but in addition
<worldofpeace> so ++, the other one :P
<worldofpeace> samueldr: Fedora has put in a lot of work so It shouldn't be too hard to get it
linarcx has joined #nixos
<samueldr> worldofpeace: I know, I follow hans' blog
<samueldr> https://hansdegoede.livejournal.com/20632.html the article where I personally learned about that thing
<samueldr> (I think)
<worldofpeace> samueldr: Seems ubuntu Eoen caught on too and are using a snapshot of plymouth about a few days ago
gratto has joined #nixos
xelxebar has quit [Remote host closed the connection]
<worldofpeace> but there's this weird issue, like only the text theme works for startup but somehow shutdown will then use the bgrt theme
xelxebar has joined #nixos
justanotheruser has quit [Ping timeout: 245 seconds]
<samueldr> if you haven't, look at the posts here https://hansdegoede.livejournal.com/tag/plymouth
<samueldr> maybe there's important bits?
<clever> Bisecting: 16854 revisions left to test after this (roughly 14 steps)
MmeQuignon has quit [Ping timeout: 248 seconds]
<worldofpeace> samueldr: well we have to copy the nixos logo to share/plymouth/themes/spinner/watermark.png to get the logo there
<worldofpeace> samueldr: but I think this issue is because `boot.initrd.extraUtilsCommands` just isn't right for plymouth
MmeQuignon has joined #nixos
linarcx has quit [Quit: WeeChat 2.5]
<clever> worldofpeace: stage-1-init.sh may have to be modified more
dwdr has quit [Ping timeout: 245 seconds]
linarcx has joined #nixos
<clever> Bisecting: 13825 revisions left to test after this (roughly 14 steps)
<clever> worldofpeace: progress-ish
shandogs has joined #nixos
Thra11 has quit [Quit: WeeChat 2.5]
<worldofpeace> clever: which parts?
<clever> worldofpeace: more that the bisect is now 25 commits shorter,lol
<worldofpeace> 25 == ish
doyougnu has joined #nixos
shandogs has quit [Remote host closed the connection]
leothrix has quit [Ping timeout: 246 seconds]
matt` has quit [Remote host closed the connection]
Ariakenom has quit [Quit: Leaving]
leothrix has joined #nixos
<clever> worldofpeace: bisect is being a bit dumb, so i'm having to manually pick revs to test
<worldofpeace> clever: TBH probably better off that way anyway
linarcx has quit [Quit: WeeChat 2.5]
<clever> worldofpeace: it sometimes has trouble, if i test multiple release branches at once, so ive reset with just a single good&bad
<clever> Bisecting: 19146 revisions left to test after this (roughly 14 steps)
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64991 → cargo-xbuild: 0.5.14 -> 0.5.15 → https://git.io/fj1EJ
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj121
Zer0xp has quit [Ping timeout: 245 seconds]
pamplemo1sse has quit [Ping timeout: 272 seconds]
justanotheruser has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
simon_weber has quit [Quit: Connection closed for inactivity]
m0rphism has quit [Ping timeout: 272 seconds]
<clever> worldofpeace: Bisecting: 16739 revisions left to test after this (roughly 14 steps)
<clever> shaved 3k commits off!
recj has quit [Ping timeout: 245 seconds]
<worldofpeace> yeah it was being a bit dumb then
ng0 has quit [Quit: Alexa, when is the end of world?]
<clever> Bisecting: 14740 revisions left to test after this (roughly 14 steps)
<worldofpeace> if only https://asciinema.org/ could do live streams :P
<clever> worldofpeace: tmate can
<clever> worldofpeace: ssh ro-qNc6p0arIvn1FhAts8CrZAPkc@to2.tmate.io
<worldofpeace> clever: that is really cool ✨
<worldofpeace> but also kinda creepy, like stalking someone's terminal
<clever> worldofpeace: its basically a fork of tmux, that lets you get get in without having to deal with port forwards
<worldofpeace> I have all kinds of strange ideas with what to do with this program now
linarcx has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
fendor has joined #nixos
sigmundv has joined #nixos
<worldofpeace> clever: are you gc'ing simultaneously?
<clever> worldofpeace: min-free in nix.conf, it will auto-gc when it gets too low
erasmas has quit [Ping timeout: 246 seconds]
MmeQuignon has quit [Ping timeout: 258 seconds]
<clever> worldofpeace: exactly
<exarkun> nixops wants to install a zillion new packages on a target that wasn't a nixops-managed host before and now I am trying to turn into a nixops-managed host w/ the same configuration as it had before :(
<clever> exarkun: but is it the same nixpkgs version?
linarcx has quit [Ping timeout: 245 seconds]
<exarkun> Hm
<clever> exarkun: `nix eval nixpkgs.lib.version` on both machines
<exarkun> I don't know :/
<gchristensen> (or nixos-version)
<gchristensen> nixos-version on the target, nixpkgs.lib.version on the host
<exarkun> no, slightly different revs of 19.03
Neo-- has joined #nixos
<clever> exarkun: so its behaving the same as if you had done nix-channel --update
<gchristensen> but maybe set NIX_PATH on your deploy host to match the exact rev of the target's current version to be careful
<clever> you can also `nixops modify -d name -I nixpkgs=https://github.com/nixos/nixpkgs/archive/GITREV.tar.gz deployment.nix`
<clever> and it will bake that `-I nixpkgs=` into the state file, and impact all future deploys
<exarkun> handy
___laika has joined #nixos
<gchristensen> you *do* want to update it though
<exarkun> I might have mixed feelings about that.
<exarkun> if there were a security-only channel I could probably get behind using that and always updating
<gchristensen> that is typically what stable is for
<exarkun> of course since there isn't a security-only channel then to get security updates I have to update on some other channel ...
<exarkun> but stable isn't a security-only channel
<gchristensen> does it break you?
pamplemousse has joined #nixos
<exarkun> I dunno, I haven't used nixos long enough yet. but updates on every other linux distro always breaks things, so I'm guessing so...
<exarkun> I am aware that "never update" is not really a viable strategy either. thus, mixed feelings.
<gchristensen> if it does you should be able to safely roll back.
<gchristensen> staying on an old version is unsafe
<gchristensen> if it breaks on stable, it is a bug
<Ashy> nixos is one distro where upgrades are way safer almost all other distros
<exarkun> I feel like there are still a few jagged edges.
<Ashy> you can even upgrade and switch to that config to test it without marking that as the default boot config
<Ashy> so if it breaks everything you just reboot and it'll fire up the previous config
<clever> though nixops doesnt really give access to that feature
<Ashy> although i don't think that would include testing kernel updates
<Ashy> ah ok
<exarkun> Also I've been warned that switch doesn't always work, either, and I experienced that last week w/ Docker leaking trash into iptables that remained until a reboot.
<clever> exarkun: iptables is a bit of a mess, but restarting firewall.service should wipe that
<exarkun> sure, just an example though. switch isn't 100% and presumably either is rollback (for the same reasons).
<exarkun> s/either/neither/
<clever> yeah, switch isnt perfect currently
Neo-- has quit [Ping timeout: 245 seconds]
fendor has quit [Ping timeout: 246 seconds]
<gchristensen> pretty good thoug,h I haven't found reason to not use it
<gchristensen> please don't avoid it out of paranoia, and please report bugs
<gchristensen> and for goodness sake, upgrade. if you can't tolerate any sort of breakage, CentOS gets the same updates RHEL does and would be safer -- securit ywise.
<clever> worldofpeace: found a bad rev!
<worldofpeace> clever: !!!!
<clever> but that only shaved 200 commits off, lol
thc202 has quit [Ping timeout: 250 seconds]
sigmundv has quit [Quit: Leaving]
<worldofpeace> idea: nixos live bisect - Weekly event - watch clever git bisect. Donations welcome
<clever> lol
<worldofpeace> you may not be familiar but I'm actual serious about those things :P
mkoenig has quit [Ping timeout: 248 seconds]
mkoenig has joined #nixos
shomodj_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Ashy> twitch plays nixos git bisect
<clever> lol
<exarkun> I'm updating the deploy host now. It's 2 months of updates on 19.03 and >600MiB of downloads.
<exarkun> Also my home internet is pretty crap.
<exarkun> 714 paths to be fetched
<exarkun> oh they're starting to fail w/ timeout error
<alienpirate5> Please help, I am having trouble with a build: http://ix.io/1OM2
<alienpirate5> Contents of `build-sdimage.sh`: `nix build '((import <nixpkgs/nixos/lib/eval-config.nix> { modules = [ ./configuration.nix ]; }).config.system.build.sdImage)' --show-trace`
<alienpirate5> The problem is with libasyncns
Neo-- has joined #nixos
<exarkun> seems like a lot of changes for a stable channel
ericsagnes has joined #nixos
mbrgm_ has joined #nixos
<exarkun> hm maybe these aren't actually real 19.03 machines
Okinan has joined #nixos
<exarkun> is 19.03.173064.af5178cf779 an update to 19.03 or some random unstable revision and 19.03 just happens to be the most recent release?
mbrgm has quit [Ping timeout: 258 seconds]
<exarkun> eh, `git branch --contains` says it's in 19.03, so I guess it's 19.03
mbrgm_ is now known as mbrgm
<exarkun> looking at a random 19.03 rev, I see https://github.com/NixOS/nixpkgs/pull/64841
<{^_^}> #64841 (by herrwiese, 2 days ago, merged): nextcloud: 15.08 -> 16.0.3 [19.03]
<exarkun> nextcloud major version bump "this might be nice"
<exarkun> I'm trembling with confidence.
<exarkun> it does look like _most_ of the changes are security or bugfix related but there's plenty of major version bumping
<pamplemousse> Welp... I have a shell.nix with a `buildInputs = [ python3Packages.six ]`, but, when I `nix-shell`, the command `python -c "import six"` returns a `ModuleNotFoundError: No module named 'six'`
<{^_^}> pamplemousse: 23 hours, 1 minute ago <infinisil> For the record, `nix path-info -S` gives the runtime closure, not the build-time one
<exarkun> (very polite and apologetic major version bumping by Vladimír Čunát)
recj has joined #nixos
<ldlework> :O
Neo-- has quit [Ping timeout: 272 seconds]