gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
sicklorkin has quit [Ping timeout: 250 seconds]
ng0 has joined #nixos
erictape1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54742 → python37Packages.absl-py: 0.6.1 -> 0.7.0 → https://git.io/fhie9
erictapen has quit [Ping timeout: 250 seconds]
shibboleth has joined #nixos
maximiliantagher has joined #nixos
ToxicFrog has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54743 → pulseeffects: 4.4.6 -> 4.4.7 → https://git.io/fhieh
maximiliantagher has quit [Ping timeout: 268 seconds]
elgoosy has quit [Quit: Leaving]
elgoosy has joined #nixos
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54744 → ponyc: 0.25.0 -> 0.26.0 → https://git.io/fhivq
sinner has joined #nixos
halfbit has joined #nixos
sinner is now known as Guest47378
goibhniu has quit [Ping timeout: 240 seconds]
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54745 → libsForQt5.phonon: 4.10.1 -> 4.10.2 → https://git.io/fhiv5
Guest47378 has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
jluttine has quit [Ping timeout: 250 seconds]
eadwu has joined #nixos
maximiliantagher has quit [Ping timeout: 250 seconds]
lbolt has quit [Quit: bye]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54746 → postgresqlPackages.pgroonga: 2.1.7 -> 2.1.8 → https://git.io/fhivp
ottidmes has quit [Ping timeout: 240 seconds]
halfbit has quit [Ping timeout: 240 seconds]
leothrix has quit [Quit: ZNC 1.7.1 - https://znc.in]
aleph- has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
leothrix has joined #nixos
Rusty1 has joined #nixos
fusion809 has quit [Quit: Leaving]
jluttine has joined #nixos
Guest88038 has quit [Quit: ZNC 1.7.1 - https://znc.in]
Rusty1 has quit [Quit: Konversation terminated!]
jluttine has quit [Ping timeout: 268 seconds]
rprije has quit [Remote host closed the connection]
rcshm has quit []
rprije has joined #nixos
Ariakenom has quit [Quit: Leaving]
doyougnu has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
infinee_ has joined #nixos
leothrix has quit [Quit: ZNC 1.7.1 - https://znc.in]
maximiliantagher has joined #nixos
rprije has quit [Remote host closed the connection]
leothrix has joined #nixos
rprije has joined #nixos
maximiliantagher has quit [Ping timeout: 250 seconds]
rprije has quit [Ping timeout: 240 seconds]
infinee_ has quit [Quit: WeeChat 2.3]
rprije has joined #nixos
leothrix has quit [Quit: ZNC 1.7.1 - https://znc.in]
leothrix has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has joined #nixos
ToxicFrog has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
leothrix has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @flokli merged pull request #54683 → python37Packages.twilio: 6.23.0 -> 6.23.1 → https://git.io/fh6RI
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fhiJ2
leothrix has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #54718 → python37Packages.astral: 1.7.1 -> 1.8 → https://git.io/fh6D7
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fhiJa
ng0 has quit [Quit: Alexa, when is the end of world?]
drakonis has quit [Quit: WeeChat 2.3]
devalot has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54748 → obs-linuxbrowser: 0.5.2 -> 0.6.0 → https://git.io/fhiUq
iqubic has quit [Ping timeout: 240 seconds]
sinner has joined #nixos
drakonis has joined #nixos
sinner is now known as Guest24691
gagbo has quit [Ping timeout: 268 seconds]
aleph- has quit [Ping timeout: 250 seconds]
jluttine has joined #nixos
dermetfan has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #54749 → birdfont: init at 2.25.0 (and add dep xmlbird) → https://git.io/fhiUK
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhiUM
drakonis has quit [Quit: WeeChat 2.3]
leothrix has quit [Quit: ZNC 1.7.1 - https://znc.in]
leothrix has joined #nixos
drakonis has joined #nixos
halfbit has joined #nixos
bob_so[m] is now known as bob_so[m]1
maximiliantagher has joined #nixos
thc202 has quit [Ping timeout: 250 seconds]
maximiliantagher has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Infinisil pushed 5 commits to master: https://git.io/fhiUb
<{^_^}> [nixpkgs] @Infinisil merged pull request #53848 → qt511.qtwebengine: fix on darwin → https://git.io/fhnCL
<{^_^}> [nixpkgs] @grahamc merged pull request #54699 → libamqpcpp: 3.0.0 -> 4.1.3 → https://git.io/fh6rG
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fhiUA
<{^_^}> [nixpkgs] @Infinisil merged pull request #50849 → nixos/systemd: add StartLimitIntervalSec to unit config → https://git.io/fpl1S
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhiUx
iqubic has joined #nixos
iqubic has left #nixos [#nixos]
iqubic has joined #nixos
leothrix has quit [Quit: ZNC 1.7.1 - https://znc.in]
leothrix has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54750 → p11-kit: 0.23.14 -> 0.23.15 → https://git.io/fhiTL
o1lo01ol1o has joined #nixos
m15k has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 4.20-rc4 -> 4.20-rc5 »: https://git.io/fhiTO
jtojnar has quit [Quit: jtojnar]
petersjt014 has joined #nixos
ddellacosta has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @eadwu opened pull request #54751 → vscode-extensions.ms-vscode.cpptools: 0.20.1 -> 0.21.0 → https://git.io/fhiTW
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @eadwu opened pull request #54752 → linux_testing_bcachefs,bcachefs-tools: 20190123 → https://git.io/fhiTB
o1lo01ol1o has joined #nixos
<petersjt014> hi: I'm trying to make a 32 bit installation iso to burn to a physical cd (for an old machine)--this Is what I ended up writing: http://ix.io/1wUQ
<petersjt014> does anything seem way off? It seems to have eval'd fine, but I only have a few cds to burn--just wanna be sure
<petersjt014> I can paste the build log too if needed
<gchristensen> can you test it on a usb disk?
<Ankhers> Does nixpkgs have f.lux, the colour temperature changing application? I'm not sure if I'm just not finding it.
jluttine has quit [Ping timeout: 250 seconds]
leothrix has quit [Quit: ZNC 1.7.1 - https://znc.in]
<gchristensen> we have redshift
maximiliantagher has joined #nixos
leothrix has joined #nixos
<Ankhers> Thanks. I will look into it.
<petersjt014> might be able to
<petersjt014> actually, rw cds seem to be cheaper than I thought. I may just be able to plow few a few till it works
o1lo01ol1o has quit [Remote host closed the connection]
maximiliantagher has quit [Ping timeout: 250 seconds]
leothrix has quit [Quit: ZNC 1.7.1 - https://znc.in]
leothrix has joined #nixos
n0qqe has joined #nixos
noqqe has quit [Ping timeout: 268 seconds]
n0qqe is now known as noqqe
sicklorkin has joined #nixos
erictape1 has quit [Ping timeout: 272 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
leothrix has quit [Quit: ZNC 1.7.1 - https://znc.in]
lord| has quit [Quit: WeeChat 2.3]
leothrix has joined #nixos
jluttine has joined #nixos
lord| has joined #nixos
abathur has joined #nixos
maximiliantagher has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
maximiliantagher has quit [Ping timeout: 240 seconds]
<Ankhers> Anyone have experience with idris on nixos? Trying to do something super simple and getting an error saying gmp.h cannot be found.
o1lo01ol1o has joined #nixos
revtintin has joined #nixos
<clever> Ankhers: are you in nix-shell?
<Ankhers> clever: No, I just added idris to my home manager package list.
<clever> Ankhers: header related things, then you must be in nix-shell
<clever> if you are doing*
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<Ankhers> That seems strange that I am unable to compile a basic idris program without being in a nix-shell.
<clever> thats just how compiling works in nix, all compiling must be done under nix-shell or nix-build
<simpson> I think that it's because Idris calls an ambient C compiler rather than having the C compiler explicitly in its Nix environment.
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: Tag hardened kernels »: https://git.io/fhikM
<{^_^}> [nixpkgs] @NeQuissimus pushed to hardened_structure « linux: Convert hardened config to structured config »: https://git.io/fhikS
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #54753 → linux: Convert hardened config to structured config → https://git.io/fhikQ
leothrix has quit [Quit: ZNC 1.7.1 - https://znc.in]
aleph- has joined #nixos
<Ankhers> simpson: Do you know if there is a way to do an override or something to set the C compiler?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54754 → pdns-recursor: 4.1.8 -> 4.1.10 → https://git.io/fhik5
leothrix has joined #nixos
<simpson> Ankhers: I don't, sorry. Haven't really looked into it. An easy fix would be to hop into a nix-shell first.
<pbb> Can anyone tell me why the network-setup.service is not setting my defaultGateway6 correctly, when manually executing the commands in its ExecStart script does?
<pbb> I get the following route:
<pbb> default via fe80::214:f1ff:fea7:2400 dev br0 proto ra metric 220 mtu 1500 pref medium
<pbb> even though I specified this: 2001:41d0:2:d0ff:ff:ff:ff:ff
<pbb> and after running the commands I also get the route I specified:
<pbb> default via 2001:41d0:2:d0ff:ff:ff:ff:ff dev br0 proto static metric 1024 pref medium
<pbb> but when the service gets run at boot or after a rebuild, it somehow doesn't create this route
<{^_^}> [nixpkgs] @veprbl merged pull request #54611 → libsForQt5.poppler: fix on darwin → https://git.io/fhKuW
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fhikN
<pbb> also when I manually restart the service the route is not created
<{^_^}> [nixpkgs] @veprbl merged pull request #54520 → sherpa: 2.2.5 -> 2.2.6 → https://git.io/fhwei
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fhikA
<Ankhers> I still seem to get the same issue when using `nix-shell -p 'idris'`. https://gist.github.com/ankhers/a0c2e49d7385b10fc5d66eec63b9e59b
rprije has quit [Remote host closed the connection]
<pbb> the ExecStart script should literally not do anything except running "ip -6 route replace..."
rprije has joined #nixos
<pbb> and the script exits with code 0 and doesn't give any output, but still fails to set the route
<clever> Ankhers: idris likely needs to obey the NIX_CFLAGS vars
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54755 → ocamlPackages.ppxlib: 0.3.1 -> 0.5.0 → https://git.io/fhikj
<pbb> also my ssh connection breaks when I restart network-setup.service even though it should only set the IPv6 route and I'm connected over IPv4. What the actual hell is going on here..
aleph- is now known as Church_
<clever> pbb: is ssh using v4 or v6? does it recover or stay broken?
<pbb> I am explicitly using ssh -4 to connect. A few seconds after I restart networkh-setup.service the connection recovers.
<clever> pbb: sounds like its bringing the entire network down, then back up
<clever> so you have momentary packet loss
<pbb> yeah but the ExecStart script only writes a openresolv config file and sets the IPv6 default route. Nothing else.
<clever> restarting network-setup.service may restart other units
<{^_^}> [nixpkgs] @NeQuissimus closed pull request #54753 → linux: Convert hardened config to structured config → https://git.io/fhikQ
<clever> the journal should say more
<{^_^}> [nixpkgs] @NeQuissimus pushed 0 commits to hardened_structure: https://git.io/fhiIt
<pbb> clever++
<{^_^}> clever's karma got increased to 85
<pbb> it does say more
<pbb> I think dhcpcd is messing with me
o1lo01ol1o has joined #nixos
<clever> that reminds me, when my isp was down a month ago, i told dhcpcd to renew the lease with upstream
<clever> when it failed, it deleted the internal LAN ip!!
<clever> so i lost all control of the router
<clever> why is dhcpcd messing with the static ip of an iface it doesnt manage?
<pbb> I discovered that my provider supported IPv4 setup via DHCP by accident - I already thought I had lost that server, when it came back up because it got the correct IPv4 configuration via DHCP.
<pbb> So I just left it enabled
maximiliantagher has joined #nixos
<pbb> I should really disable dhcpcd and do that manually
<clever> ah
<clever> in my case, the router needs 2 IP's, WAN ip (via dhcp) and LAN ip (static, it IS the dhcp server!)
ddellacosta has joined #nixos
<pbb> It is trying to do IPv6 autoconf even when I disable it specifically via sysctl, that is so wrong
<pbb> like, I think dhcpcd just enables it again
<pbb> so bye bye dhcpcd
<pbb> because IPv6 autoconf results in a bad config in my case
tdbgamer has joined #nixos
<clever> ah
<pbb> at first it works but after a few minutes the link-local IPv6 default route disappears
<clever> ive actually had ipv6 problems lately
<clever> i turned on v6 forwarding, but the router doesnt route anymore
<clever> so i had to just turn off radvd, or i have broken v6 on all machines
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: Tag hardened kernels 2/2 »: https://git.io/fhiIn
o1lo01ol1o has quit [Ping timeout: 246 seconds]
leothrix has quit [Quit: ZNC 1.7.1 - https://znc.in]
maximiliantagher has quit [Ping timeout: 245 seconds]
iqubic` has joined #nixos
leothrix has joined #nixos
<pbb> I enabled auto upgrade on my servers yesterday, really interested in how it will turn out
<pbb> this concept is really new for me as a previous Arch user :D
leothrix has quit [Remote host closed the connection]
leothrix has joined #nixos
iqubic has quit [Ping timeout: 250 seconds]
<clever> pbb: one thing to note, auto-upgrade doesnt work when nixops is at play
<pbb> oh I don't use NixOps, but thanks for the heads-up
<pbb> aw damn, after I changed my IP configuration it recreated the bridge but didn't add my VM's tap devices back to the bridge :<
<clever> there was a talk at nixcon2018, about improving the network stuff in nixos
<{^_^}> #47252 (by xeji, 18 weeks ago, merged): nixos/network-interfaces-scripted: fix a container networking bug
<pbb> my issue kind of sounds like this
<pbb> and I'm running stable on that particular server, so that might not be in there yet
<clever> nix-instantiate --find-file nixpkgs
<clever> that tells you where nixpkgs is
<clever> then just look in there, at the files the PR modifies
<clever> do they have the change?
<pbb> yeah actually they do
<{^_^}> [nixpkgs] @kalbasit opened pull request #54756 → pam-u2f: refactor, docs about u2f_keys path → https://git.io/fhiI1
<pbb> and actually I have no idea why my bridge was restarted
<{^_^}> [nixpkgs] @kalbasit closed pull request #40455 → nixos: security.pam: Rename enableU2F and add opts → https://git.io/vp90U
<{^_^}> [nixpkgs] @kalbasit closed pull request #11886 → refactor pam-u2f: add keysPath, verbose, fix docs about u2f_keys path → https://git.io/vEC0p
eadwu has quit [Quit: WeeChat 2.3]
<pbb> I guess maybe it's because once I tried to apply an invalid configuration where it added a default gateway that could not be reached
<pbb> well, it works now
<pbb> let's just hope that the IPv6 configuration doesn't just break after a few minutes anymore
ddellacosta has quit [Remote host closed the connection]
eadwu has joined #nixos
Church_ has quit [Ping timeout: 244 seconds]
iqubic` is now known as iqubic
fusion809 has joined #nixos
eadwu has quit [Quit: WeeChat 2.3]
maximiliantagher has joined #nixos
samrose has quit [Ping timeout: 245 seconds]
leothrix has quit [Quit: ZNC 1.7.1 - https://znc.in]
leothrix has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54757 → ocamlPackages.psmt2-frontend: 0.1 -> 0.2 → https://git.io/fhiIp
maximiliantagher has quit [Ping timeout: 240 seconds]
<pbb> wow I just broke my host's network config, but I could still ssh into a VM running on it and use that as a jump host using the IPv6 link-local IP :D
<drakonis> infinisil: the attempts to run lutris seem to have died down, right?
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ddellacosta has joined #nixos
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
<drakonis> pipenv behaves very strangely
tdbgamer has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #54673 → remmina: 1.2.32.1 -> 1.3.0 → https://git.io/fh6Ww
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhiLC
leothrix has quit [Quit: ZNC 1.7.1 - https://znc.in]
leothrix has joined #nixos
leothrix has quit [Client Quit]
leothrix has joined #nixos
hooo has joined #nixos
eadwu has joined #nixos
leothrix has quit [Quit: ZNC 1.7.1 - https://znc.in]
leothrix has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54758 → nyx: 2.0.4 -> 2.1.0 → https://git.io/fhiLM
drakonis has quit [Quit: WeeChat 2.3]
halfbit has quit [Ping timeout: 252 seconds]
eadwu has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @timbertson opened pull request #54759 → pythonPackages.nose_progressive: 1.5.1 -> 1.5.2 → https://git.io/fhitt
lassulus_ has joined #nixos
halfbit has joined #nixos
leothrix has quit [Quit: ZNC 1.7.1 - https://znc.in]
leothrix has joined #nixos
lassulus has quit [Ping timeout: 272 seconds]
lassulus_ is now known as lassulus
halfbit has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
counting1ort has joined #nixos
countingsort has quit [Ping timeout: 245 seconds]
ottidmes has joined #nixos
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<petersjt014> I just successfully uploaded a file to the web with nothing but bash, and the power trip is overwhelming
<petersjt014> I feel like a wizard
<petersjt014> incidentally, if anyone else wants to have that superpower:
<petersjt014> curl -v -F "file=@name_on_system.ext" -F "fileName=name_for_site.ext" "fileDesc=idklol" https://pixeldra.in/api/upload
<petersjt014> pretty nice site, max size is 5GB
<justanotheruser> nice
johnny101 has joined #nixos
<Yaniel> as it happens, http://0x0.st/ has those instructions on its landing page :)
<Yaniel> huh, why doesn't it redirect automagically
<petersjt014> maybe you need curl's -L flag
<petersjt014> that happens sometimes, dunno why
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
<Yaniel> nah, the site just does not redirect to https
<petersjt014> or that then
alex has joined #nixos
<petersjt014> hmm
<petersjt014> the syntax there is much less painful then the one I use
<Yaniel> it also doesn't let you decide the url you get
<petersjt014> I tend to use ix.io--if you curl it, you get "TL;DR: curl -F 'f:1=<-' ix.io"
<Yaniel> instead it just prints the url to stdout
<petersjt014> thats what I tend to expect for pastebins
<petersjt014> ix.io does the same, but that syntax -- curl -F 'f:1=<-' ?
<petersjt014> nasty and confusing
<Yaniel> some redirection thing?
<Yaniel> for using in a script
<Yaniel> or a bash function
<iqubic> curl is really weird.
<iqubic> 'f:1=<-' looks like arcane weirdness.
<Yaniel> yup
<Yaniel> -F"@file=..." is already a bit weird (why the @ there)
<petersjt014> I've seen @ mean "reference a file within an executable" before once else
<petersjt014> one sec
<petersjt014> ah, here it is
<petersjt014> the one other place I've seen it:
<petersjt014> the fact that it was chosen here suggests it *may* have some historical precedence
<iqubic> I don't understand Curl at all.
cantstanya has quit [Ping timeout: 256 seconds]
<petersjt014> It's used in places as opaque as automobiles and is literally older than time itself.
<simpson> The idea behind curl is that it's like cat, but for URLs.
cantstanya has joined #nixos
<petersjt014> wait
<petersjt014> it *stands* for something?
<petersjt014> my entire life has been a lie
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54760 → mobile-broadband-provider-info: 20151214 -> 20190116 → https://git.io/fhitj
<iqubic> What even is the point of IRC IT from Suckless? Who wants to mix file management and IRC usage?
<Yaniel> it can be handy for quick&dirty monitoring bots
<petersjt014> tails n' pipes can make for a nice super minimalist type thing
<Yaniel> I once used it for announcing git pushes to a repo on a shell with no proper interface
<petersjt014> or multitail if your tail needs all the steroids
<iqubic> I'd rather make a bot in haskell.
jasongrossman has quit [Remote host closed the connection]
<iqubic> I even have a freenode username registered for just that reason.
<petersjt014> yeah, def for the minimalisim. I just found the closure sizes--ii is 25.84 MB, weechat is *255.58 MB*
<petersjt014> im curious now, imma see if irssi is any better
<Church-> ii seems like a pita to use
<iqubic> And then they have sic, which has like 0 info about it.
<iqubic> suckless irc client
<petersjt014> irssi is 123.06 MB
slyfox has quit [Ping timeout: 268 seconds]
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<petersjt014> I dont think I could find a decent one that comes close to ii's closure size
<Yaniel> irssi only supports perl AFAIK
<iqubic> I use ERC in Emacs. I also use EXWM so I don't really care about the size of my client.
<Yaniel> weechat comes out of the box with support for perl, python and lua
<Yaniel> possibly also javascript and php
<Yaniel> irssi also doesn't use ncurses IIRC
<Yaniel> instead it manually prints control characters for its ui
<petersjt014> whew. not exactly the minimalism route
<iqubic> Is the Suckless IRC Client, 'sic' worth looking into?
<Yaniel> petersjt014: noet that weechat doesn't actually load all of its plugins by default
<petersjt014> ok
<petersjt014> but fyi I have a very specific way I'm finding closure sizes
<petersjt014> it's this huge-ass bash thing I wrote that's one huge pipe cuz thats how I roll
<petersjt014> witness the madness
<petersjt014> echo $@ | xargs -I _ bash -c "which _" | xargs -I _ nix-store -qR _ | sort | uniq | xargs -I _ du -sk _ | cut -f1 | paste -sd+ | xargs -I _ bash -c 'bc -l <<< "scale=4;(_)/1024"'
<Yaniel> doesn't nix have a builtin way to do that though
<petersjt014> dunno
<petersjt014> but mine accepts any number of paths and handles shared paths, so there's that
<petersjt014> also no variables because I am terrified of them
<iqubic> but it's also a really large PITA to try and understand.
<Yaniel> I'm not even trying
<petersjt014> takes in package names, then for each of them finds the path in the store, returns the paths, sorts them and eliminates duplicates, finds sizes of the paths, puts them all on one line with '+' as a separator, pipes in basic calculator and divides by 1024 (for MB) with 4 significant figures
<clever> petersjt014: nix-store --query --size /nix/store/foo/
<clever> petersjt014: this will tell you the size (in bytes) of a given path, without having to run things like du
<iqubic> heh...
<clever> nix-store -qR /nix/store/foo, will tell you the full closure, without any duplicates
jasongrossman has joined #nixos
<iqubic> Well, time to change your aliases.
<clever> [root@amd-nixos:~]$ du -h --max=0 -c $(nix-store -qR /run/current-system) | sort -h | tail -n5
<clever> this uses du, so its a bit slower, but it will tell you the top 5 storepaths in the current nixos build
<clever> 608M /nix/store/v8cbpm2m7ivgqxk53dsbdjwclm9hinwl-mono-5.16.0.220
<clever> 12G total
<clever> 683M /nix/store/fiim5f606lwjk9w0i8agc8148rrvwmpm-mono-5.16.0.220
<clever> in my case, its dominated by 2 copies of mono, and 12gig in total
<clever> [root@amd-nixos:~]$ nix why-depends /run/current-system /nix/store/fiim5f606lwjk9w0i8agc8148rrvwmpm-mono-5.16.0.220/
<clever> steam depends on one mono
<Church-> Yaniel: Weechats JS support is horrifying
<Church-> Just absolutely awful. They need to fix it I think.
<clever> steam depends on the other mono too
<clever> likely 32bit and 64bit mono's
<petersjt014> JS has awful Js support
<Yaniel> consider this though: P H P
<petersjt014> AAAAAAAAHHH pls no
<Yaniel> the thought that someone actually wants to use it for scripting
<Yaniel> *shudder*
<clever> Yaniel: many years ago, i made a php script, to defrag lvm
<petersjt014> W A T
<Church-> Yaniel: Okay pointers when running just scripts aren't validated
<Church-> So many possible bugs
<Church-> So many
<Church-> And they know about it, that's on purpose.
<iqubic> GHC and NerdFonts are among my biggest space hogs. So are two versions of mono.
<clever> petersjt014: the backup files in /etc/lvm/backup/tank are a textual form of the lvm metadata, which fully describes what byte ranges you need to piece together, to make every LV
<Church-> Not sure if that's for all scripts(python, etc) or not though
fusion809 has quit [Remote host closed the connection]
<clever> petersjt014: purely by reading that, i can find the fragments of a given lv, and then call pvmove, to safely move the fragments around to make them be in order
<clever> petersjt014: so all writes to disk are done by pvmove, and there should be zero risk of corruption
fusion809 has joined #nixos
<clever> one day, i was doing that while an xfs was mounted on the lv, and i suspect it ignored lvm via caching, and it corrupted an ext3 partition
<iqubic> Oh, I'm sorry.
<clever> only lost about 20gig of data at the time
<iqubic> not that bad than.
<petersjt014> I ran that thing from earlier and have spidermonkey on my system apparently
reinhardt has joined #nixos
<petersjt014> it's a bare-bones vps
<clever> petersjt014: spidermonkey is part of policykit
<clever> petersjt014: polkit uses JS to define the rules of who can do what
<petersjt014> js specifically...not json?
<clever> and polkit is what allows you to do root-like things (rebooting) if you have physical access (logged in on a terminal or X11)
<clever> petersjt014: yeah, it has JS functions, that are ran with your current login details, and return a bool to allow/deny access
<clever> and then an admin can just write whatever logic they want to make up the ruls
<clever> rules*
<clever> petersjt014: did you disable man/info/documentation?
maximiliantagher has joined #nixos
<petersjt014> no, I just never had a need to look at polkit's
<clever> man/info/docs take up space, and if you dont need them, you can turn them off
PeterHK has joined #nixos
<PeterHK> my nixos builder starter to fail yesterday with 'a 'x86_64-linux' with features {kvm} is required to build' (im using 'dockerTools.buildImage')
maximiliantagher has quit [Ping timeout: 244 seconds]
<clever> PeterHK: does /dev/kvm exist?
<petersjt014> reminds me of the JS section of this gem: https://www.destroyallsoftware.com/talks/wat
<clever> petersjt014: also, wpad, the stuff to auto-configure proxy's on LAN's, uses JS
endformationage has quit [Quit: WeeChat 2.3]
<PeterHK> clever: no /dev/kcm (its a AWS instance)
<PeterHK> *kvm
<clever> PeterHK: does dockerTools.buildImage have runAsRoot set?
<PeterHK> yes
<clever> PeterHK: runAsRoot requires spinning up an entire qemu VM, and without kvm, the performance is going to suck massively
<clever> PeterHK: you can either fake it by setting `system-features = kvm` in nix.conv (via the nix.extraConfig option i think)
<PeterHK> so i just need to add qemu in config.nix?
<clever> PeterHK: or you can do things without runAsRoot
<clever> PeterHK: it brings qemu in automatically, so you dont have to add it anywhere
<PeterHK> ok cool. thanks a lot!
<clever> if you fake having kvm support, the image build will be fairly slow
<clever> so just not using runAsRoot would be the best option
<PeterHK> we setup system user to run the app inside the container `runAsRoot = '' #!${stdenv.shell} ${dockerTools.shadowSetup} groupadd -r ${appUser} useradd -r -M -g ${appUser} ${appUser} '';`
<clever> PeterHK: i think if you just add a derivation with $out/etc/{passwd,shadow,group} to the contents, you can skip runAsRoot entirely
systemfault has left #nixos [#nixos]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @abhi18av opened pull request #54761 → updated the text message and configs → https://git.io/fhim3
xkapastel has joined #nixos
<Church-> Hey how well is Steam's proton working? At all?
<clever> Church-: works great for some games
maximiliantagher has joined #nixos
abathur has quit [Ping timeout: 250 seconds]
<clever> Church-: stationeers only has 2 bugs, that are present on all linux distros (one font missing, minor, and a mouse moving glitch, patch available, but not easy on nixos)
<Church-> clever: Cool was just curious if it was working at all.
<clever> Church-: megaton rainfall starts, but ive not tried to play yet, and the window size gets wonky if it looses focus
<Church-> Of if there was nixos packaging that needed doing
<clever> dont have any other windows-only things installed currently
<clever> Church-: it does need python3, nixpkgs was fixed for that a few months back
<clever> it will clearly say "python3 not found" in stdout, if your behind
<clever> .net based games (space engineers) dont work at all
<clever> neither does borderlands 2, for an unknown reason
<clever> anything unity based should be perfect
maximiliantagher has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
b has quit [Quit: Lost terminal]
o1lo01ol1o has quit [Ping timeout: 244 seconds]
EffSquared has joined #nixos
<{^_^}> [nixpkgs] @domenkozar merged pull request #54759 → pythonPackages.nose_progressive: 1.5.1 -> 1.5.2 → https://git.io/fhitt
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/fhiYE
alex has quit [Quit: WeeChat 2.3]
<wedens> I'm not a gamer, but I was impressed by https://looking-glass.hostfission.com/
maximiliantagher has joined #nixos
palo1 has joined #nixos
<clever> wedens: before i switched to nixos, i had briefly gotten pci-passthru (but it depended on a monitor) to work on gentoo, with a win7 guest (using xen, rather then kvm)
<clever> the main issue, is the my motherboard doesnt have per-slot reset lines, so i cant "reboot" the video card only
<wedens> clever: without multiple monitors?
<clever> and the linux gpu drivers mess with the gpu enough to break the windows drivers
<clever> so, i had to 100% blacklist the gpu on the linux commandline
<clever> which results in zero video output when linux boots
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
<clever> single gpu, single monitor at the time
<clever> then, via ssh, i can boot win7, and grant it control of the GPU
<clever> and because linux has never touched it, the GPU is in the same state it would be in, when chain-loading win7 from grub
<clever> and the drivers are happy
<wedens> doesn't sound much better that dual-boot, tbh :)
<clever> wedens: the worst part, is that if windows is shut down, it doesnt reset the state of the GPU
<clever> so the windows drivers refuse to work on the next boot (of the guest)
maximiliantagher has quit [Ping timeout: 244 seconds]
<clever> so, you must reboot the host to fix the gpu state
<clever> and now, your linux host, has to live with the uptime stability of windows
<_deepfire> or, maybe if Linux drivers could be used to do the resetting for Windows..
<clever> _deepfire: i think that reset, is half done in the card itself (when the reset line on the pci slot is driven), and half done in the bios
<_deepfire> as it, do just enough to bring the GPU state back to Windows-usable state
<clever> i did mess with some utils, that try to save the gpu state, and restore it, but it didnt work
<wedens> I think the main appeal of this looking-glass thing is that you can use you system as normal. and dedicated gpu output is just forwarded to your monitor
<clever> yeah, with the mess i was doing, i would have needed a 2nd gpu, dedicated to linux, with its own monitors
<clever> looking-glass just gets rid of the need for a 2nd monitor, but you still need 2 GPU's
<_deepfire> GPU passthrough is black magic, extremely hardware specific : -/
<_deepfire> (well, used to be a couple years ago)
<clever> _deepfire: oddly, i had far far more success, with usb, ethernet, and soundcard passthru
<clever> the gpu is just the weird duckling on the pci bus
<_deepfire> there are VGA-specific bits in the PCI spec : -D
<clever> the other anoying fact, is that once i got the gpu fully working, i realized i only gave it a 15gig disk image
<clever> and i didnt have room to install a single game
<clever> and after expanding the image, it just refused to work ever again
<clever> windows!
<_deepfire> ...
<wedens> lol. yeah, that sounds like windows
Church_ has joined #nixos
<clever> https://www.virtualbox.org/wiki/Migrate_Windows is also something i had briefly experimented with
<clever> it explains what windows does, that locks an install to a specific motherboard
<Church_> clever: Do you sleep?
<clever> its sort of like baking the right drivers into the initrd
<_deepfire> Church_: : -D
<clever> and it explains how to undo it, to make a psysical install "work" under a vm
<Church_> Only person I've seen besides myself on at all hours.
<clever> so you can migrate things
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54762 → multimon-ng: 1.1.6 -> 1.1.7 → https://git.io/fhiOO
<clever> Church_: i only sleep when you least expect it :P
<Church_> heheheh
<Church_> So I gotta say writing a C like language, the compiler is simple as chuff.
<clever> i used that virtualbox guide, to temporarily run my physical install, under xen, passthru'd to the card it was already working on
<Church_> Like 500 lines not counting codegen
<clever> Church_: nice
<clever> ive read thru the entire http://www.stephendiehl.com/llvm/ guide, but not actually done any of the steps
<Church_> Heh not doing llvm
<Church_> Reading through Writing an Interpreter in Go
<clever> the above, is using the llvm libraries in haskell
<clever> and then using standard haskell parsing libraries, to turn your language into an ast, into llvm, and then into binary code
<Church_> Nice should show that to pushcx
<clever> you can then either emit an executable, emit llvm bitcode, or directly write compiled code into ram and get a function-pointer you could FFI into
<clever> so your code could load a script at runtime, compile it to native, and then run it, without ever writing to disk
<Church_> Man LLVM is neat.
PeterHK has quit [Ping timeout: 256 seconds]
fusion809 has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54763 → musescore: 3.0 -> 3.0.1 → https://git.io/fhi3U
<bgamari> is there any way to debug unexpected reevaluation?
<bgamari> I have a fixed output derivation (a fetchurl) which is getting evaluated despite the fact that nothing beyond the url has changed
<domenkozar> in what context?
<domenkozar> bgamari: two fetchurl's in same evaluation
<bgamari> domenkozar, different evaluations
<bgamari> the nix expression containing the fetchurl is parametrized on the url
<bgamari> if I invoke it once with nix build -f expr.nix --arg tarballPath $correct_path_to_tarball it works
<clever> domenkozar: https://gist.github.com/cleverca22/43344a86c25f833e3b804788a8c0cd92 am i digging too deep into the nix source when optimizing? lol
rauno has joined #nixos
<bgamari> but then if I invoke it again with nix build -f expr.nix --arg tarballPath $incorrect_path_to_tarball it fails
wigust has quit [Ping timeout: 245 seconds]
<domenkozar> it will always need to be evaluated, but it would use derivation cached by the fixed-output hash
<clever> bgamari: builtins.fetchurl or pkgs.fetchurl?
<bgamari> clever, both
<clever> bgamari: pkgs.fetchurl computes the $out based on the hash you declared, and will check /nix/store for it, and should only download once
<bgamari> it doesn't appear to be doing so
<clever> bgamari: builtins.fetchurl (when the hash is missing) will have to re-query every hour (configurable in nix.conf), and if the e-tag differs, re-download
<bgamari> that's what I was hoping it would do
<clever> bgamari: can you reproduce it with a simple example.nix?
<domenkozar> bgamari: can you provide an sscce?
<bgamari> I suspect so
<bgamari> one moment
wigust has joined #nixos
marusich has quit [Remote host closed the connection]
<bgamari> ahhh
<bgamari> I think I see the reason
<bgamari> I need to override the name attribute of the fetchurl derivation
<bgamari> otherwise it will change with the url
slyfox has joined #nixos
<clever> bgamari: ah, that can do it, the $out is based on both name and hash
<clever> bgamari: so if you give it a different url, with the same contents, the name can sometimes differ, and then $out differs
<domenkozar> yeah I always wished name wouldn't change the derivation hash
<{^_^}> nix#2660 (by bgamari, 1 minute ago, closed): Unnecessary reevaluation of fixed-output derivation
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54764 → monetdb: 11.31.11 -> 11.31.13 → https://git.io/fhi3d
<clever> bgamari: also, i try to avoid `(import <nixpkgs>{}).fetchurl` whenever possible
<bgamari> clever, I don't do so in my application
<clever> bgamari: one trick i use, to make sure i didnt miss any <nixpkgs> in the codebase, is to just unset NIX_PATH, but that makes it imposible
<clever> ah
<bgamari> I was just too lazy to freeze nixpkgs in the repro
<clever> and builtins.fetchTarball gets you the same effect
<bgamari> I generally include nixpkgs as a submodule
<bgamari> in my project repository
<bgamari> since I generally find I need to fiddle with it anyways
<bgamari> at least in this particular project
<nimblepoultry> yes got my first nixos desktop booting into kde ԅ(≖‿≖ԅ)
brejoc has joined #nixos
<_deepfire> Is there a way to (easily) have a gcroot with "extended" semantics, where "extended" means "keep build dependencies too"?
<clever> _deepfire: i think you want `nix-instantiate --add-root result --indrect` in combination with 2 nix.conf fields, keep-env-derivations and gc-check-reachability
brejoc has quit [Ping timeout: 240 seconds]
<_deepfire> clever: ah, so it is a global config affair, I see..
hHhHhHh has joined #nixos
hHhHhHh has quit [Client Quit]
<clever> _deepfire: the only other option, is to do what hydra does, traverse the build-time graph yourself, and add an indirect root for every drv
<_deepfire> clever: I see, thank you!
<clever> _deepfire: the `hydra-eval-jobs` binary does that, and warns you if you forgot the dir: warning: `--gc-roots-dir' not specified
<clever> hydra-eval-jobs takes a release.nix, and spits out json describing every drv in the file, and creates the roots for you
<clever> [root@nas:~]# ls -l /nix/var/nix/gcroots/hydra/
<clever> it expects a path within the magic gcroots folder, since its not making indirect roots
<clever> on its own, you can (ab)use that binary without any hydra setup
<clever> but you wont have any way to prune the roots automatically, thats handled by hydra-update-gc-roots.service, which uses the postgres DB
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54765 → minimap2: 2.14 -> 2.15 → https://git.io/fhisF
<_deepfire> Interesting.. I was wondering if the concept of keeping build deps could perhaps be sufficiently useful for people to warrant a higher-level concept.
<_deepfire> *a higher-level abstraction
<clever> _deepfire: also, where do you draw the line, do you keep the gcc source code?
<clever> because the gcc source is in the build-time dep tree
<etu> ,locate pangoft2
<etu> ,locate ps2pdf
<{^_^}> Found in packages: ghostscriptX, texlive.combined.scheme-medium
<{^_^}> Found in packages: gnome2.pango.dev
<_deepfire> clever: good question!
<clever> _deepfire: one trick ive used, just leave a nix-shell open
<clever> all paths in env vars are "in use"
<_deepfire> clever: oh I do that!
<_deepfire> it's fragile, as human memory is..
<clever> that will draw the line for you, only the immediate deps of that shell
<_deepfire> clever: perhaps cut-off points can be specified, like "please stop looking downwards at this .drv", which can be your ghc
<_deepfire> ofc that might require specification of a set of cut-off points..
<_deepfire> ..at which point one might want a UI to do specify it comfortably (in general)..
<clever> _deepfire: it might be simpler to just root the immediate deps of a given .drv, and not be recursive in any way
<clever> _deepfire: nix-store --query --roots will be of use, to see if a given path has roots or not, and which ones
Tucky has joined #nixos
elgoosy has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54766 → now-cli: 13.0.4 -> 13.1.2 → https://git.io/fhiGL
hyper_ch2 has joined #nixos
elgoosy has joined #nixos
ddellacosta has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54767 → nagios: 4.4.2 -> 4.4.3 → https://git.io/fhiGC
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54768 → monkeysphere: 0.42 -> 0.43 → https://git.io/fhiGy
doyougnu has quit [Ping timeout: 245 seconds]
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @vbgl closed pull request #54757 → ocamlPackages.psmt2-frontend: 0.1 -> 0.2 → https://git.io/fhiIp
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #54769 → libratbag: 0.9.903 -> 0.9.904 → https://git.io/fhiZT
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #54770 → piper: 0.2.902 -> 0.2.903 → https://git.io/fhiZC
thc202 has joined #nixos
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #54735 → python37Packages.latexcodec: 1.0.5 -> 1.0.6 → https://git.io/fh6pq
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « python37Packages.latexcodec: 1.0.5 -> 1.0.6 (#54735) »: https://git.io/fhiZ9
Makaveli7 has quit [Quit: Leaving]
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54771 → mysql57: 5.7.24 -> 5.7.25 → https://git.io/fhinT
Church_ has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
kvda has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
elgoosy has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54772 → ncpamixer: 1.2 -> 1.3 → https://git.io/fhinH
Makaveli7 has joined #nixos
hph^ has joined #nixos
sicklorkin has quit [Ping timeout: 246 seconds]
sicklorkin has joined #nixos
EffSquared has quit [Ping timeout: 240 seconds]
civodul has joined #nixos
dermetfan has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54773 → mill: 0.3.5 -> 0.3.6 → https://git.io/fhiCs
<{^_^}> [nixpkgs] @worldofpeace pushed to master « vscode: update desktop items »: https://git.io/fhiCW
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54703 → vscode: update desktop items → https://git.io/fh6om
nikivi has quit [Quit: ZNC is awesome]
nikivi has joined #nixos
EffSquared has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #54724 → python37Packages.httpsig: 1.2.0 -> 1.3.0 → https://git.io/fh6Qd
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « python37Packages.httpsig: 1.2.0 -> 1.3.0 (#54724) »: https://git.io/fhiWB
doyougnu has joined #nixos
ThatDocsLady has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Infinisil pushed 5 commits to master: https://git.io/fhilC
<{^_^}> [nixpkgs] @Infinisil merged pull request #42838 → [RFC] add ability to merge structured configs → https://git.io/fwlBh
greatscottttt has joined #nixos
<infinisil> Almost 1100 PR's
<greatscottttt> hi there, I'm still having a bit of trouble patching an external binary. I'm pretty new to all of this, what's the easiest way to write a derivation that processes a local binary?
<greatscottttt> it seems like I can give a .zip to src of mkDerivation and I _think_ that's working
<Taneb> greatscottttt: what's your end goal here?
<wedens> greatscottttt: you can set `src` to local path
<greatscottttt> even if it's not a zip? it always complains that it can't unpack the src
<symphorien> greatscottttt: the easiest way might be to attempt to compile it from source, if possible
<symphorien> otherwise, there is autoPatchelfHook
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54774 → mysql-workbench: 8.0.13 -> 8.0.14 → https://git.io/fhilF
<greatscottttt> right, unfortuantely it's a version of clang-format that's in our repo, which we're using to keep things in sync for everyone
<greatscottttt> it's kind of annoying
<symphorien> what about compiling the right version of clang-format from source ?
<symphorien> you could even reuse what is in nixpkgs
<greatscottttt> right that's an option...i just need to keep it in sync and make sure I update accordingly when it changes in the repo
kai_w has joined #nixos
<symphorien> is the source tree for this clang-format also in the repo ?
<greatscottttt> no, that's the thing
<greatscottttt> i can work around this, I just thought it might be easier to have a script or .nix in the repo that automatically patches it would be easier
<clever> greatscottttt: src = ./foo; where foo is a directory containing the ELF binary
<clever> then the binary will be in the working directory for the bulk of the phases
vidbina has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #54688 → python37Packages.texttable: 1.5.0 -> 1.6.0 → https://git.io/fh6uR
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhi8R
Jackneill has quit [Ping timeout: 246 seconds]
Jackneill has joined #nixos
<greatscottttt> and the working directory is where I execute the .nix file or where the file is?
<greatscottttt> brb, meeting
<{^_^}> [nixpkgs] @Infinisil merged pull request #54644 → xmrig: 2.8.3 -> 2.10.0 → https://git.io/fh6Ym
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhi8o
<wedens> greatscottttt: location of a nix file
<{^_^}> [nixpkgs] @romildo opened pull request #54775 → catfish: 1.4.6 -> 1.4.7 → https://git.io/fhi8p
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54776 → links2: 2.17 -> 2.18 → https://git.io/fhi43
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhi4G
<{^_^}> [nixpkgs] @Infinisil merged pull request #54194 → emacsPackagesNg.racer-mode: fix default value for RUST_SRC_PATH → https://git.io/fh4UM
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54777 → lttng-tools: 2.10.5 -> 2.10.6 → https://git.io/fhi4u
jtojnar has joined #nixos
Makaveli7 has quit [Quit: Leaving]
<reinhardt> Hi! On current nixos-unstable, profanity complains "configure: error: C compiler cannot create executables". Any hints?
vidbina has quit [Ping timeout: 244 seconds]
__monty__ has joined #nixos
<siraben> Ah found it, it needed to be displayManager.lightdm.greeters.gtk.extraConfig
fragamus has joined #nixos
<teto> any advice for a very simple repo with default.nix/shell.nix using callCabal2nix ?
<siraben> I'm trying to figure out how to build https://github.com/borgbase/vorta apparently it already is in pip? "pip3 install vorta"
<siraben> but I'm not sure how to do this declaratively
<srhb> teto: Not sure what you're looking for. callCabal2nix "yourprojectname" {} should work just fine in most cases.
__monty__ has quit [Quit: leaving]
gagbo has joined #nixos
fragamus has quit [Ping timeout: 250 seconds]
<teto> I have a default.nix with "haskellPackages.callCabal2nix "netlink-pm" ./. {}" and shell.nix that does `(import ./. {}).env ` which triggers `error: attempt to call something which is not a function but a set, at /home/teto/mptcpnetlink/hs/shell.nix:2:2`
<srhb> reinhardt: try building it with --keep-failed and checking config.log
<reinhardt> thx, will give it a shot
<srhb> teto: is the default.nix a function?
<{^_^}> [nixpkgs] @7c6f434c merged pull request #54776 → links2: 2.17 -> 2.18 → https://git.io/fhi43
revtintin has quit [Quit: WeeChat 2.3]
<greatscottttt> thanks clever and wedens!
<teto> srhb: its full content is "with import <nixpkgs> {}; haskellPackages.callCabal2nix "netlink-pm" ./. {}"
<greatscottttt> is there a way to help the autoPatchelfHook? it doesn't know to use stdenv.cc.cc.lib for libstd++
<srhb> teto: So it is not a function, you want import ./. instead of import ./. {}
<srhb> teto: It would have been correct if the default.nix were something like { pkgs ? import <nixpkgs> {} }: ...
<teto> srhb: right... kill me plz
<srhb> teto: I'd prefer not to. :-)
<{^_^}> [nixpkgs] @7c6f434c merged pull request #54661 → visidata: 1.5.1 -> 1.5.2 → https://git.io/fh6nC
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhiBd
<{^_^}> [nixpkgs] @7c6f434c merged pull request #54632 → Update gambit and gerbil from upstream → https://git.io/fhKAb
<{^_^}> [nixpkgs] @7c6f434c pushed 7 commits to master: https://git.io/fhiBx
__monty__ has joined #nixos
<srhb> reinhardt: Looks to me like it's failing to link against python during configure.
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54778 → libosmocore: 0.12.1 -> 1.0.1 → https://git.io/fhiRv
Guanin has joined #nixos
Guanin has quit [Client Quit]
PeterHK has joined #nixos
vidbina has joined #nixos
rauno has quit [Ping timeout: 246 seconds]
agander has joined #nixos
<PeterHK> dockerTools.buildImage runAsRoot suddenly requires 'kvm' (after update channel as part of deploying changes) which it did not before :( i prefer slower container build over running them as root... do i need to change channel back to old version or can i dissable this kvm requirement somewhere?
init_6 has joined #nixos
amosbird has quit [Quit: ZNC 1.7.1 - https://znc.in]
<srhb> PeterHK: I thought runAsRoot always required KVM?
<srhb> Since it spins up a VM to do the work.
amosbird has joined #nixos
<PeterHK> it did not... this ci machine was building container with runAsRoot for almost a year without kvm
<PeterHK> its an aws instance so getting /ev/kvm is a bit difficult :(
dermetfan1 has joined #nixos
<PeterHK> error: a 'x86_64-linux' with features {kvm} is required to build '/nix/store/m44jn6dlppyyrmad292dinz2khqykq3w-docker-layer-app-15b798d.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, nixos-test}
dermetfan has quit [Ping timeout: 250 seconds]
<symphorien> you can probably add the feature kvm in ~/.config/nix/nix.conf
<srhb> PeterHK: I use it on ec2 and have supportedFeatures = [ "kvm" ... ]
<srhb> PeterHK: (It really just needs to be able to spin up a qemu machine)
nikivi has quit [Quit: ZNC is awesome]
nikivi has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54779 → gnome3.librsvg: 2.44.11 -> 2.44.12 → https://git.io/fhiEH
<teto> anyone using linuxManualConfig ? for some reason it doesn't seem to install modules, like my /nix/store/hjxp4dbgzzhqdxb9kncd15rxwn51f637-linux-4.19.0-mptcp_v0.94.1/lib/modules/4.19.0/kernel is empty while I do have modules setup in the config
Guanin has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch opened pull request #54780 → bazel: fix java toolchain regression → https://git.io/fhius
vidbina has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54781 → librime: 1.3.2 -> 1.4.0 → https://git.io/fhiz4
<Guanin> Hi, I have a problem with string escaping. I want to escape double quotes, but `escape ["\""] v` does not seem to do anything in the resulting file, while it works as intended in the repl
clefru has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fhiz1
<{^_^}> [nixpkgs] @jtojnar merged pull request #54743 → pulseeffects: 4.4.6 -> 4.4.7 → https://git.io/fhieh
rprije has quit [Ping timeout: 246 seconds]
<srhb> Guanin: What resulting file?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54782 → libratbag: 0.9.903 -> 0.9.904 → https://git.io/fhigc
<Guanin> I'm using that snippet to build a bigger string. Basically I want to address this comment: https://github.com/rycee/home-manager/pull/552#discussion_r251258808
<nyanloutre[m]> Hello, by looking at my DNS config I noticed that the Knot DNS daemon is enabled by default
<nyanloutre[m]> but I don't understand why as the default should be `enable = false`
<srhb> Guanin: It's unclear to me what you're doing. This works fine: builtins.toFile "test" (lib.escape ["\""] ''foo"bar'')
rauno has joined #nixos
<srhb> Guanin: The file contains: foo\"bar
o1lo01ol1o has joined #nixos
<Guanin> yes, that works for me, too
<srhb> Guanin: So, what isn't working exactly?
<nyanloutre[m]> oh sorry it's my config that's enbaling it, I didn't see it because it was an import
<nyanloutre[m]> I used `nixos-option services.kresd.enable` to find it
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<Guanin> srhb, I do not know how to describe it right now. I put together a string, reuse it a bit later, but the escaping seems to be lost. Basically, I want to escape v in this line https://github.com/Amarandus/home-manager/blob/module/irssi/modules/programs/irssi.nix#L15
<Guanin> But when it is written to a file here, the quotation is missing: https://github.com/Amarandus/home-manager/blob/module/irssi/modules/programs/irssi.nix#L195
<PeterHK> srhb: i can not find anything about supportedFeatures the only thing i found was `nix.buildMachines` in /etc/nixos/configuration.nix which does not work (same error). /etc/nix/nix.conf is auto generated and it does not have any supportedFeatures key documented :( i found a related commit (https://github.com/NixOS/nix/commit/1e7b8deea7e052ed9ebf47d1411bcaf542054b41) which mentions system-features
<srhb> Guanin: Can you provide the actual code that uses escape and doesn't work like you expect it to?
<PeterHK> you have it working, so i guess im just too bad in finding how and where :(
<srhb> PeterHK: If you search for supportedFeatures in man configuration.nix you should find it :)
<srhb> PeterHK: In nix.conf it's called system-features iirc
<manveru> Guanin: it does the escaping for Nix, but not for the file
Makaveli7 has joined #nixos
<PeterHK> i did try nix.buildMachines in configuration.nix but i still get the error
<manveru> Guanin: '' \"\";'' should work better
simukis has joined #nixos
waleee has joined #nixos
<manveru> '' ${k} = \"${v}\";''
<srhb> PeterHK: Maybe you can share your configuration and the error message again.
<srhb> PeterHK: Ultimately, using the configuration.nix option, you should get an /etc/nix/machines iirc, which contains the features in question.
<Guanin> manveru, but I do not want the outer quotes escaped. for {a = "foo\"bar"}, I basically want to have the string `a = "foo\"bar";`
<manveru> so you want quotes inside of `v` escaped?
<Guanin> manveru, yes
<srhb> Guanin: Looks right to me.
<PeterHK> error: a 'x86_64-linux' with features {kvm} is required to build '/nix/store/m44jn6dlppyyrmad292dinz2khqykq3w-docker-layer-app-15b798d.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, nixos-test}
<srhb> PeterHK: Sanity check, did the daemon restart properly when you rebuilt?
<manveru> Guanin: lib.replaceStrings [''"''] [''\"''] ''"''
<srhb> PeterHK: And where did you previously define benchmark, big-parallel and nixos-test? (I'm unsure whether that's actually some kind of default)
<srhb> PeterHK: Also, is this a hydra instance?
<PeterHK> previously i did not define anything... these are defaults
<srhb> PeterHK: Ah, you don't have distributedbuilds on
<srhb> I think your machine definitions won't be used at all in that case.
<PeterHK> makes sense :D let me check
<srhb> So either enable that or make the change in nix.conf instead (using eg. nix.extraOptions)
<Guanin> Oh man, I just mixed something completely up and tried to escape the wrong string... escape worked flawless, sorry for stealing your time, srhb and manveru
<srhb> Guanin: No worries. :)
<PeterHK> still the error :( no its a gitlab-runner :D
<srhb> PeterHK: Did the daemon restart properly?
erictapen has joined #nixos
<PeterHK> starting the following units: nix-daemon.socket
<PeterHK> i think so :D
<PeterHK> let me try nix.extraOptions
<srhb> PeterHK: Could you try ensuring it's actually been killed first? Otherwise, try setting the system-features, and then I'm out of ideas :)
<PeterHK> stopping the following units: nix-daemon.service, nix-daemon.socket
<PeterHK> i guess i can reboot just in case
<srhb> That should be good enough. Odd. Pretty sure I had that working.
<PeterHK> nix.extraOptions in configuration.nix? that then generates the nix.conf?
<srhb> PeterHK: Yeah. Using ''system-features = ...''
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #53419 → nixos/containers: add bridge without address specified → https://git.io/fhOxx
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fhiVN
[Leary] has joined #nixos
Lears has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
[Leary] has quit [Remote host closed the connection]
Lears has joined #nixos
<Taneb> Is there a way to tell nix "If you need to do builds you can spin up a machine on AWS"
sinner has joined #nixos
sinner is now known as Guest16529
<PeterHK> yay containers building again! thanks a lot! btw i am not sure how you define a set of multiple values... current i have just `system-features = kvm`
<srhb> PeterHK: Usually they're whitespace separated
Guest24691 has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54783 → lttng-ust: 2.10.2 -> 2.10.3 → https://git.io/fhiwl
<srhb> Taneb: iirc the hydra nixos org config used to do that manually, so you might glean some information from checking the repo, but I'm unsure what the mechanism is these days.
<srhb> (Maybe just an ASG or something?)
ddellacosta has joined #nixos
ng0 has joined #nixos
PeterHK has quit [Ping timeout: 256 seconds]
ddellacosta has quit [Ping timeout: 245 seconds]
Phillemann has joined #nixos
gagbo_work has joined #nixos
o1lo01ol1o has joined #nixos
<infinisil> Oh boy, you soon will need a new build system written in Haskell to compile GHC.. https://blogs.ncl.ac.uk/andreymokhov/you-should-try-hadrian/
<__monty__> infinisil: Makes sense for a self-hosted compiler imo.
<infinisil> I wonder how Nix can handle it
<__monty__> I don't see why make'd work but hadrian wouldn't?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54784 → kubetail: 1.6.5 -> 1.6.6 → https://git.io/fhirb
<__monty__> Make has the same relation to gcc a hadrian has to ghc.
<__monty__> *as
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<Taneb> infinisil: it'll be the default but not necessarily the only
<Taneb> And also hopefully it won't require GHC 8.8 to build, so bootstrapping is still possible
<__monty__> It doesn't, I built it with 8.4.3 a few days ago.
<Phillemann> I have a Python application that needs to execute "./setup.py foobar" before building (with setup.py) begins. I think the "configurePhase" might be the right phase to do that?
init_6_ has joined #nixos
init_6 has quit [Ping timeout: 246 seconds]
init_6_ is now known as init_6
<infinisil> __monty__: Hmm yeah you're right
<wedens> is there some simple example of cross-compiling haskell? (linux -> windows)
<__monty__> I doubt it, cross-compiling is never simple : >
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54785 → kitty: 0.13.2 -> 0.13.3 → https://git.io/fhioE
Jonas|2 has joined #nixos
<Jonas|2> Hey there, quick question: How does nixops manage the nixpkgs channel for the deployments? Does it use the channel configuration of the host or are these channels managed separately?
erictapen has quit [Ping timeout: 250 seconds]
<gchristensen> it uses the NIX_PATH of when nixops is run
<gchristensen> note, that does mean you can define it in a shell.nix for your deployments: https://github.com/grahamc/network/blob/master/shell.nix#L28
counting1ort is now known as countingsort
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54786 → lbdb: 0.48 -> 0.48.1 → https://git.io/fhiKe
<Jonas|2> gchristensen: Cool, thanks for the quick answer :)
brejoc has joined #nixos
sicklorkin has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @FlorianFranzen opened pull request #54787 → qt59: 5.9.3 -> 5.9.7 → https://git.io/fhiKB
brejoc has quit [Client Quit]
brejoc has joined #nixos
fendor has joined #nixos
hyper_ch2 has quit [Ping timeout: 256 seconds]
<Phillemann> I'd like to append a command to the installPhase. Can I somehow call the "parent" install phase in my Nix expression (it's a python application)?
<symphorien> use postInstall instead
<Phillemann> Yep, that works, thanks symphorien
hyper_ch2 has joined #nixos
<{^_^}> [nixops] @PsyanticY opened pull request #1085 → aws[s3]: Add versioning support → https://git.io/fhi6n
sicklorkin has joined #nixos
erictapen has joined #nixos
vidbina has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54788 → ocamlPackages.js_of_ocaml: 3.2.1 -> 3.3.0 → https://git.io/fhi6A
eadwu has joined #nixos
<wedens> angerman: hey, I've noticed you're doing some stuff with cross-compiling haskell. Is this repo https://github.com/input-output-hk/nix-hs-hello-windows still the best way we can do it?
<angerman> wedens: actually we can build all of github.com/input-output-hk/cardano-sl
o1lo01ol1o has joined #nixos
<wedens> wow. that's impressive. requires much work setting up, I guess?
sigmundv_ has joined #nixos
<angerman> getting better.
<angerman> we'll soon probably have some good story and write about it I assume.
<angerman> I'm currently stuck with some seemingly ghc 8.6.3 related issues...
<{^_^}> [nixpkgs] @dotlambda merged pull request #54722 → python37Packages.fonttools: 3.34.2 -> 3.36.0 → https://git.io/fh6HX
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « python37Packages.fonttools: 3.34.2 -> 3.36.0 (#54722) »: https://git.io/fhiPJ
<siraben> What are your strategies for managing dotfiles like .Xresources? GNU Stow doesn't seem to be able to handle them
<siraben> I want to version control them in my ~/dotfiles folder
<wedens> angerman: siraben home-manager
<wedens> * siraben
<siraben> how about outside of Nix?
<siraben> I might need something more generic
<siraben> wedens: i'll take a look at home-manager
<simpson> siraben: Memorization and inner peace with not being able to keep every dotfile with me at all times.
<siraben> simpson: What do you mean?
<gchristensen> simpson thinks about dotfiles like zen gardeners feel about their sand. the meditation is in the recreation.
<wedens> angerman: do you have any specific pointers on where to start with cross-compiling haskell?
<simpson> siraben: I mean that I should find a way to be comfortable sitting down at a machine, even if the machine is not comfortable for me.
<simpson> ...And as long as it has a vi. But I'll put up with nano.
<siraben> Sure, of course I can work with standard bash, vim, etc.
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<simpson> I suppose that I was very much into power-user customization when I was younger. I even ran KDE. But these days I only usually set a .inputrc and .vimrc of a few lines.
<siraben> simpson: what window system are you using these days?
<gchristensen> siraben: I hear stow is nice?
<angerman> wedens: github.com/angerman/nix-tools
<gchristensen> but I use nix :)
<siraben> gchristensen: yeah it is, although it doesn't seem to be able to handle dotfiles that aren't in a folder (i.e. they're directly in ~)
fendor has quit [Remote host closed the connection]
<simpson> siraben: I'm using Awesome. It's alright. Mostly I've memorized some key combinations; the cost of maintaining an rc.lua is too high.
<siraben> I can just run "stow emacs" after I git clone and it handles the symlink for me
fendor has joined #nixos
<siraben> I see. My favorite is i3 + XFCE
<gchristensen> I can recommend against making your ~ a git repo
<siraben> Yes, of course :P
<siraben> Perhaps I could just concoct a simple shell script and store all the .foo files in one folder, to be symlinked into ~
<gchristensen> how often do you do this?
<__monty__> siraben: I've use a Makefile for this before.
eadwu has quit [Quit: WeeChat 2.3]
<qyliss^work> My experimental approach to dotfiles is writing nix derivations that wrap the programs and inject their config files using whatever mechanism they provide.
<qyliss^work> It works surprisingly well.
<wedens> angerman: sorry, I don't understand how it helps with cross-compilation :) does it generate nix expressions for cross compiling?
<gchristensen> qyliss^work: nice!
<angerman> wedens: it helps with generating nix expression that form the basis for cross compilation. (they retain flags, conditionals, ...)
eadwu has joined #nixos
Dagger2 has quit [Excess Flood]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54789 → kotlin: 1.3.11 -> 1.3.20 → https://git.io/fhiXn
Dagger2 has joined #nixos
<jD91mZM2> ottidmes: I'm sorry for the late reply, should be fixed now
znc has joined #nixos
znc is now known as Guest21494
<jD91mZM2> Myrl-saki: Yes I am
<jD91mZM2> Some day I'll add IRC to startup and not be several days late to reply
<gchristensen> another option is to become hopelessly addicted and not be able to fathom the computer without IRC.
<gchristensen> that has been my personal strategy
<__monty__> qyliss^work: That'd be a pretty good fit for an overlay. : ) You didn't like home-manager?
<qyliss^work> Home manager still fills my home directory with stuff
<qyliss^work> With my approach, my home directory can be totally empty and everything is still configured.
<__monty__> Oh, you're patching the default configurations?
<qyliss^work> Not quite. I'm wrapping the executables.
<__monty__> Hmm, doesn't that make experimenting with the config a little annoying?
<__monty__> It creates a new entry in the store for every change, right?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54790 → kakoune: 2018.10.27 -> 2019.01.20 → https://git.io/fhi1Z
drakonis has joined #nixos
<qyliss^work> Yeah
<qyliss^work> But that's not a big deal.
<qyliss^work> So does Home Manager.
ryantrinkle has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
tmaekawa has joined #nixos
brejoc has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
brejoc has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #54789 → kotlin: 1.3.11 -> 1.3.20 → https://git.io/fhiXn
<{^_^}> [nixpkgs] @NeQuissimus pushed commit from @r-ryantm to master « kotlin: 1.3.11 -> 1.3.20 »: https://git.io/fhiD2
alex`` has joined #nixos
raduom has quit [Read error: Connection reset by peer]
silver has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<teto> I would like for HM to generate RW files instead of just read-only, like a sandboxed mode
<teto> sandbox* . right now .config/git/config is RO so git config fails :/
tmaekawa has quit [Quit: tmaekawa]
<srhb> teto: That sounds sort of purpose defying.
<Myrl-saki> jD91mZM2: I forgot what I pinged you for. Giff me a few.
<etu> teto: Well, since HM uses the nix-store as storage... The files will always be RO.
<Myrl-saki> jD91mZM2: Oh, nix-lsp.
<etu> teto: I don't think that will change ever
<ottidmes> jD91mZM2: Thank you for replying, I am actually the person who made the issue, so all is good, thanks again for fixing and thanks making it in the first place!
o1lo01ol1o has joined #nixos
<teto> srhb: there should be ways for more flexibility when you are working on your config
<Myrl-saki> jD91mZM2: I can't seem to build it on 18.09.
<teto> etu: it could create a copy in the store
Jackneill has quit [Ping timeout: 240 seconds]
<srhb> teto: What would home-manager switch do to your manual changes?
<etu> That's not how the store works
<teto> or create RO files aside, like you have your own .config/git/config that includes .config/git/config.generated
<teto> so that you can experiment and once you are confident put the setting in HM
<etu> teto: The purpose of the store is to build it from declarative configurations. If you do interactive changes how would it keep track of that for updates etc?
<{^_^}> [nixpkgs] @etu merged pull request #54726 → nixos/sks: Add option to configure database settings → https://git.io/fh67x
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fhiyn
<Myrl-saki> jD91mZM2: I'll document it better later.
locallycompact has joined #nixos
Jonas|2 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
agander has quit [Ping timeout: 240 seconds]
<locallycompact> hi, I've been trying to install this on nixos, https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?view=azure-cli-latest but running into read-only file system errors due to pip I guess
<locallycompact> what's the way to do this?
<srhb> teto: I understand the desite, but allowing any kind of mutability opens a huge can of worms. If you want, you can write activation scripts for home manager or something that copy the generated file out of the store or something, but I'd really consider this a misfeature if it were included.
<adisbladis> locallycompact: azure-cli is already packaged in nixpkgs
<srhb> s/desite/desire
<teto> etu: it doesn't need to be 100% declarative. Some settings I want always there (declarative), some I just experiment with, sometimes I feel constrained by HM
<adisbladis> teto: You can always create a symlink to some mutable thingy outside of the store
<teto> to take the git instance, I would like HM to generate a file in .config/git next to ./config/git/config
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<locallycompact> adisbladis, the one in nixpkgs is old
<locallycompact> adisbladis, the one in nixpkgs is in node and this one is in python
<teto> (btw I understand the concerns but I feel some users could appreciate this kind of behavior )
<srhb> Surely. But I feel they may not realize that they lose a ton of reasoning power over their system.
<sphalerite> srhb: you mean like nixos does when you set modes other than 0644 in environment.etc? ;)
<teto> :D
<srhb> sphalerite: Indeed.
<{^_^}> [nixpkgs] @ryantm merged pull request #54781 → librime: 1.3.2 -> 1.4.0 → https://git.io/fhiz4
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhiSG
<{^_^}> [nixpkgs] @etu merged pull request #54785 → kitty: 0.13.2 -> 0.13.3 → https://git.io/fhioE
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fhiS4
mekeor has joined #nixos
o1lo01ol1o has joined #nixos
ddellacosta has joined #nixos
<Phillemann> Can I use regular expressions with substitute (or substituteInPlace)?
<srhb> Phillemann: No, you probably want sed for that.
<Phillemann> Ok, just checking.
<srhb> Er, actually, I guess you can with the pattern...
waleee has quit [Quit: WeeChat 2.3]
<srhb> Insofar as bash accepts that.
<srhb> Check pkgs/stdenv/generic/setup.sh
Jackneill has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
reinhardt has quit [Quit: Leaving]
ckauhaus has joined #nixos
<{^_^}> [nixpkgs] @FlorianFranzen opened pull request #54792 → pybind11: 2.2.2 -> 2.2.4 → https://git.io/fhi9L
xkapastel has joined #nixos
<sphalerite> srhb: no, it accepts glob patterns in principle but the quoting makes that not happen
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #54177 → smartgithg: 18_1_5 -> 18.2.4 → https://git.io/fh8DE
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhi9g
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @primeos pushed to master « signing-party: 2.7 -> 2.8 »: https://git.io/fhi9i
o1lo01ol1o has joined #nixos
<srhb> sphalerite: Ah, thanks :)
init_6 has quit []
<countingsort> quick question: wheres the generated grub config at?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54794 → isso: 0.11.1 -> 0.12.2 → https://git.io/fhiHf
Makaveli7 has quit [Quit: Leaving]
<gchristensen>
<gchristensen> it'd be nice if IRC clients saw your messages was trim'd to "" and didn't send
<sphalerite> countingsort: /boot/grub/grub.cfg
<countingsort> sphalerite: thanks
<wedens> is there some workaround for such problem https://github.com/NixOS/nixpkgs/issues/48295 ?
<Izorkin> Please check this PR #53245 #54475 #51902
<{^_^}> #48295 (by bobvanderlinden, 15 weeks ago, open): Collision of mimeinfo.cache
<{^_^}> https://github.com/NixOS/nixpkgs/pull/53245 (by Izorkin, 3 weeks ago, open): zsh.syntaxHighlighting: add option to customize styles
<{^_^}> https://github.com/NixOS/nixpkgs/pull/54475 (by Izorkin, 5 days ago, open): mysql: add restartTrigger for my.cnf
<{^_^}> https://github.com/NixOS/nixpkgs/pull/51902 (by Izorkin, 6 weeks ago, open): mariadb.galera: 25.3.24 -> 25.3.25
<countingsort> not there though
<countingsort> :(
<sphalerite> countingsort: EFI or PC boot?
<sphalerite> it might be in /boot/EFI/grub or something instead
<sphalerite> and you are actually using grub and not systemd-boot?
<sphalerite> (just to make sure…)
<countingsort> sphalerite: legacy bios, yes using grub.
<sphalerite> huh, on my server using bios boot it's right there in /boot/grub/grub.cfg :/
<sphalerite> wait no
<sphalerite> that's a remnant from… something else
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54795 → zafiro-icons: 0.8.3 -> 0.8.4 → https://git.io/fhiHH
<countingsort> `boot.loader.grub = { enable=true; version=2; device="/dev/sda"; };` is what i got
<lejonet> gchristensen: mhm, that'd be nice
<sphalerite> umm, I'm even more confused now. The boot entries in /boot/grub/grub.cfg are up-to-date, but the mtime on it is from December 2017
<sphalerite> um. Never mind ×2, I just can't read.
<sphalerite> so my /boot/grub/grub.cfg *is* the generated grub config
<countingsort> so it should be there?
<countingsort> so it fails to generate
<sphalerite> for some reason I also seem to have a nixos instalation in my /boot
<symphorien> countingsort: is /boot mounted correctly ?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54796 → gnome-menus: 3.31.3 -> 3.31.4 → https://git.io/fhiQ3
<countingsort> symphorien: legacy doenst require a /boot partition, does it?
erictapen has quit [Ping timeout: 246 seconds]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
Soo_Slow has joined #nixos
<sphalerite> countingsort: no, it doesn't
jomik has joined #nixos
<countingsort> there doesnt seem to be a /boot
<countingsort> oof
<sphalerite> countingsort: yeah so it should definitely be in /boot if you don't have boot.loader.grub.mirroredBoots set to anything other than the default value
<sphalerite> countingsort: but it boots fine?
<jomik> Anyone know why I still get the error from this issue https://github.com/NixOS/nixpkgs/issues/16327? I have checked and NO_AT_BRIDGE is set to 1, so I would assume that it would be disabled, yet Taffybar still complains.
<{^_^}> #16327 (by Pitometsu, 2 years ago, closed): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
<countingsort> (i only wanted to ask that one question, im currently helping another person so information is pretty slow, i should get them here0
o1lo01ol1o has quit [Remote host closed the connection]
<countingsort> sphalerite: boots into grub rescue
<sphalerite> ah
o1lo01ol1o has joined #nixos
<sphalerite> well booting into a nixos installer, mounting everything, then rerunning nixos-install should probably fix it
<countingsort> so theres only etc, lost+found, nix on /
<countingsort> thats what they did to get to this state
jomik has quit [Client Quit]
samrose has joined #nixos
<{^_^}> [nixpkgs] @nlewo opened pull request #54800 → Remove cloud-init from the Openstack image configuration → https://git.io/fhiQQ
<sphalerite> that seems even stranger
<countingsort> indeed
<sphalerite> and boot.loader.grub.enable is true?
<{^_^}> [nixpkgs] @matthewbauer opened pull request #54801 → make-derivation: fix position in trace → https://git.io/fhiQp
jomik has joined #nixos
<countingsort> it is
<{^_^}> [nixpkgs] @vdemeester opened pull request #54803 → consul: 1.3.0 -> 1.4.1 → https://git.io/fhi7t
Guanin has quit [Remote host closed the connection]
<ottidmes> jD91mZM2: This is what I managed to make with the help of your rnix library (my first Rust program): https://github.com/msteen/nix-update-fetch
o1lo01ol1o has quit [Ping timeout: 246 seconds]
Phillemann has left #nixos ["WeeChat 2.3"]
rauno has quit [Ping timeout: 250 seconds]
nikivi has quit [Quit: ZNC is awesome]
nikivi has joined #nixos
eadwu has quit [Ping timeout: 268 seconds]
eadwu has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #54653 → urh: 2.5.4 -> 2.5.5 → https://git.io/fh6Gd
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhi5f
<ckauhaus> sphalerite: what's the next step with RFC39 (https://github.com/NixOS/rfcs/pull/39)?
<{^_^}> rfcs#39 (by grahamc, 1 week ago, open): RFC-0039: unprivileged maintainer team
<ckauhaus> The proposal looks pretty decent AFAICS
<{^_^}> [nixpkgs] @markuskowa merged pull request #54762 → multimon-ng: 1.1.6 -> 1.1.7 → https://git.io/fhiOO
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhi5n
o1lo01ol1o has joined #nixos
<sphalerite> ckauhaus: ah you're here! Didn't notice you arriving ;) would you and qyliss ( qyliss^work ) be up for a call one of these days?
<{^_^}> [nixpkgs] @vdemeester opened pull request #54809 → skaffold: 0.19.0 -> 0.21.1 → https://git.io/fhi54
<ckauhaus> I've been AFK for the whole last week, but now I'm back at work
<ckauhaus> so why not?
doyougnu has quit [Ping timeout: 250 seconds]
<gchristensen> :eyes:
<ckauhaus> gchristensen: do you have any documentation of all ofBorg commands somewhere?
nefix has quit [Quit: Page closed]
<gchristensen> yep
<ckauhaus> heh, quite obvious place
<ckauhaus> didn't scroll that far
<gchristensen> maybe automatic building should go lower
<wedens> are there any particular reasons why nvidia-xrun is not in nixpkgs? (other than that no one tried to package it)
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @vdemeester opened pull request #54810 → kustomize: 1.0.10 -> 1.0.11 → https://git.io/fhidn
<ckauhaus> sphalerite: qyliss: checking my calendar... Wed somewhere between 10 and 12 CET or after 19 CET
<ckauhaus> or Thu/Fri
sicklorkin has quit [Ping timeout: 245 seconds]
<gchristensen> if it is after 14CET, I'm more likely to be able to be there (if you want me to be there)
<qyliss^work> I could do after 18 CET any evening
<ckauhaus> would probably be a good idea to have the author on board :)
<sphalerite> yes!
<sphalerite> 1900 CET / 1800 UTC on Wednesday then?
<ckauhaus> ok, how about Wed 2000 CET (would include a bit of buffer for me)?
<sphalerite> also works
<gchristensen> that should wfm
<qyliss^work> that would be good
jabranham has joined #nixos
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @vdemeester opened pull request #54811 → containerd: 1.2.1 -> 1.2.2 → https://git.io/fhidj
<ckauhaus> ok, let's fix the date
brejoc has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @FlorianFranzen opened pull request #54812 → slurp: init at 1.0 → https://git.io/fhiFt
<gchristensen> sphalerite: want to send out calendar invites? (graham@grahamc.com)
<{^_^}> [nixpkgs] @pmiddend opened pull request #54813 → python3Packages.fdroidserver: 2016-05-31 -> 1.1a → https://git.io/fhiFq
<ckauhaus> how will we do it? zoom.us?
<gchristensen> zoom.us, appear.in, google meet...
<gchristensen> up to sphalerite!
<jomik> Hey, I overrode Taffybar to get v3.1.1, but now it cannot recompile the configuration. It does not find any of the System.Taffybar modules. Any idea why? I used `taffybar = unstable.haskell.lib.overrideCabal unstable.haskellPackages.taffybar` to apply a patch.
<jomik> So I made an overlay that sets haskellPackages.taffybar to that.
hyper_ch2 has quit [Ping timeout: 256 seconds]
das_j has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @pSub pushed to master « pdfpc: 4.3.0 -> 4.3.1_0 »: https://git.io/fhiF1
das_j has joined #nixos
<{^_^}> [nixpkgs] @vdemeester opened pull request #54814 → minishift: 1.29.0 -> 1.30.0 → https://git.io/fhiFA
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
das_j has quit [Client Quit]
das_j has joined #nixos
Mateon3 has joined #nixos
<jomik> I also get that I can pass `-v` to see the file searched, but, I cannot pass -v to taffybar, IIRC that is a ghc flag.
vidbina has quit [Ping timeout: 246 seconds]
Mateon1 has quit [Ping timeout: 246 seconds]
Mateon3 is now known as Mateon1
<tobiasBora> Hello,
<wedens> btw, you can use `appendPatch`
<wedens> jomik:
<jomik> Googling
<jomik> :D
<wedens> jomik: `appendPatch unstable.haskellPackages.taffybar (pkgs.fetchpatch { .... })` or something like that
<tobiasBora> I'd like to know, on KDE the "print" key is bound to "Start Screenshot Tool", but when I press the print key I don't have any screenshot and I need to start spectacle manually to take a screenshot. Any idea?
<wedens> jomik: also, consider using `extend`, if you dp the override in overlay
<jomik> That is in an overlay, yeah.
<jomik> so haskellPackages = super.haskellPackages.extend ?
drakonis has quit [Quit: WeeChat 2.3]
<wedens> jomik:` haskellPackages = super.haskellPackages.extend (self0: super0: { taffybar = super.haskell.lib.appendPatch unstable.haskellPackages.taffybar (pkgs.fetchpatch { .... } });`
simukis has quit [Quit: simukis]
<wedens> but I don't like this mixing of unstable with actual haskellPackages
chessai has joined #nixos
drakonis has joined #nixos
<sphalerite> now I just need to figure out *how* to do the calendar stuff…
ryantrinkle has joined #nixos
<wedens> maybe `unstableHaskellPackages = unstable.haskellPackages.extend (self0: super0: { taffybar = unstable.haskell.lib.appendPatch super0.haskellPackages.taffybar (pkgs.fetchpatch { .... } });`
<ckauhaus> sphalerite: don't mind
<ckauhaus> if you're not doing that on a regular basis
<jomik> Ah, results in the exact same taffybar derivation though :D But looks a bit cleaner.
<jomik> Thanks :D
<ckauhaus> sphalerite: I think all us of 3 got it (Wed 2000 CET)
<ckauhaus> everyone should write it now into his own calendar :)
<gchristensen> are there any nifty CLI tools which can do symmetric encryption in a pipeline? ie: my-thing | symmetric-encrypt | ssh -c "symmetric-decrypt > my-thing.log" ?
<ckauhaus> gchristensen: aespipe
drakonis_ has joined #nixos
vidbina has joined #nixos
<wedens> maybe `gpg --encrypt --symmetric`
<gchristensen> I don't have GPG on the other side :|
<jomik> I tried navigating to the nix ghc that taffybar creates in taffybar-with-packages. And running `./ghc ~/.config/taffybar/taffybar.hs` only searches for modules in my ~/.config/taffybar dir.. That seems wrong, doesn't it?
<gchristensen> I guess I might as well set up GPG. guh, I hate GPG.
<sphalerite> gchristensen: what's the -c for?
<qyliss^work> It shouldn't need any setup for symmetric, should it?
<sphalerite> ^
<wedens> yeah, you just need the binary, I think
<gchristensen> sphalerite: typos :)
drakonis has quit [Ping timeout: 250 seconds]
dbmikus has joined #nixos
<gchristensen> really? I didn't know gpg could do that
<gchristensen> also, could we please invent something better than gpg
<sphalerite> it might create a ~/.gnupg and stuff, but yeah
<sphalerite> openssl aes-256-cbc :troll:
<{^_^}> [nixpkgs] @markuskowa merged pull request #54778 → libosmocore: 0.12.1 -> 1.0.1 → https://git.io/fhiRv
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhixf
<gchristensen> aespipe looks great!
<sphalerite> gchristensen: but what's wrong with gpg in this case?
<wedens> jomik: where do you think it should search? :)
<wedens> jomik: I think `packages` attribute is exactly for that
<{^_^}> [nixpkgs] @matthewbauer pushed to master « coq-modules: add default to fix eval »: https://git.io/fhixm
<Taneb> What exactly does nix do with build inputs?
<jomik> wedens: Well, I would expect my taffybar environment to be able to find taffybar.. :D
<gchristensen> sphalerite: just general grumpiness about how gpg is not nice to use
drakonis has joined #nixos
<jomik> Atm, when I run `taffybar`, it just errors out because it is unable to find the standard taffybar `System.Taffybar` modules.
<jomik> wedens: ^
<gchristensen> and I'm ready for it to join the dustbin of history
<wedens> jomik: I think I know what's your problem
<{^_^}> [nixpkgs] @vdemeester opened pull request #54816 → gauge: 1.0.3 -> 1.0.4 → https://git.io/fhix2
iqubic has quit [Ping timeout: 245 seconds]
<wedens> jomik: you've overwritten haskellPackages, but taffybar (taffybar-with-packages) doesn't use it
<sphalerite> gchristensen: for the symmetric case I think it's actually not too bad. gpg -c asks you for a passphrase, then reads on stdin and writes to stdout. gpg -d reads the file, determines that it's symmetrically encrypted from some sort of header, asks you for the passphrase, and writes to stdout
<gchristensen> nice
drakonis_ has quit [Ping timeout: 252 seconds]
<jomik> It does though? Normally it is version 3.0.0, but if I run `./taffybar --version` then it is version 3.1.1
<jomik> sadly
evck has joined #nixos
o1lo01ol1o has joined #nixos
<evck> hi, i'm trying to crosscompile a Golang application for ARM. building fails because GCC doesn't support the "-marm" flag, and I can't seem to find any packages for arm-linux-gnueabihf or similar... is there another approach I should be using for crosscompliation?
<wedens> jomik: well, that's just a guess :) try `taffybar.override { ghcWithPackages = unstableHaskellPackages.ghcWithPackages }`
<jomik> wedens: When I check the taffybar version in the taffybar-with-packages path in nix/store, then it says that it is version 3.1.1 though?
<jomik> But I can try. :D
o1lo01ol_ has joined #nixos
<jomik> so this in an overlay, yes? taffybar = taffbar.override { ghcWithPackages = unstable.haskellPackages.ghcWithPackages; }
o1lo01ol_ has quit [Remote host closed the connection]
o1lo01ol_ has joined #nixos
o1lo01ol1o has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @aszlig opened pull request #54817 → gajim: 1.0.3 -> 1.1.2 → https://git.io/fhipR
<{^_^}> [nixpkgs] @primeos merged pull request #54768 → monkeysphere: 0.42 -> 0.43 → https://git.io/fhiGy
<{^_^}> [nixpkgs] @primeos pushed 3 commits to master: https://git.io/fhipa
<wedens> jomik you can make it more isolated: `taffybar.override { ghcWithPackages = (unstable.haskellPackages.override { overrides = x: y: { taffybar = unstable.haskell.lib.appendPatch y.taffybar (fetchpatch {}) }; }; ).ghcWithPackages; }`
<wedens> this way you'll affect haskell package set only for taffybar
chessai has quit [Remote host closed the connection]
<wedens> (should've saved myself some pain and post a gist)
greatscottttt has quit [Quit: WeeChat 1.9]
endformationage has joined #nixos
<Ankhers> Does anyone use idris on nixos that can help me with this error? https://gist.github.com/ankhers/a0c2e49d7385b10fc5d66eec63b9e59b.
devalot has joined #nixos
<jomik> Hmm, that gives me an error in the taffybar service.
<jomik> Attempts to call something that is not a function but a set.....
<jomik> ah
EffSquared has quit [Ping timeout: 272 seconds]
<jomik> anonymous function called with unexpect argument mkDerivation
<wedens> if THAT doesn't work, then I have absolutely no idea :D
<jomik> Oh, it compiles :D
<jomik> rebooting, cuz, service is acting up :D
jomik has quit [Quit: WeeChat 2.2]
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
<gchristensen> anyone seen a bug in electron applications where they only redraw the screen when the screen resizes? I'm having trouble with Slack on my dell xps 9380, but no such problem on my dell xps 9560.
<gchristensen> I was thinking maybe it was a video driver problem, but it seems intel is in the default video driver list, so not sure
<wedens> I had something similar with workspace switching
<ar> i've seen that before, but about 2 years ago
<wedens> some electron apps were showing loading screen until I switch to a workspace with the app
<gchristensen> ls
<gchristensen> hrm
jomik has joined #nixos
<jomik> wedens: nice!
<gchristensen> I'm not sure what to do with that :P
<wedens> I had this problem on Arch, so it may not be nixos specific (if it's the same problem)
<wedens> it disappeared just recently (electron update?)
<{^_^}> [nixpkgs] @bjornfor merged pull request #54777 → lttng-tools: 2.10.5 -> 2.10.6 → https://git.io/fhi4u
<{^_^}> [nixpkgs] @bjornfor pushed commit from @r-ryantm to master « lttng-tools: 2.10.5 -> 2.10.6 »: https://git.io/fhijQ
<catern> hey #nixos, am I doing something obviously wrong in this nix-shell shebang line?
Ariakenom has quit [Ping timeout: 240 seconds]
<catern> I don't get why this doesn't work, it works fine on the command line: nix-shell -i python3 --expr '(import <nixpkgs>) {}' -A python36
<symphorien> use double quotes
erasmas has joined #nixos
<{^_^}> [nixpkgs] @bjornfor pushed commit from @r-ryantm to master « lttng-ust: 2.10.2 -> 2.10.3 »: https://git.io/fhPem
<{^_^}> [nixpkgs] @bjornfor merged pull request #54783 → lttng-ust: 2.10.2 -> 2.10.3 → https://git.io/fhiwl
<catern> that was easy, thanks symphorien :)
Phillemann has joined #nixos
alex`` has quit [Read error: Connection reset by peer]
daifa has joined #nixos
simukis has joined #nixos
<jomik> So I guess that it got the new taffybar, but not a new ghcWithPackages wedens ? Makes sense, somehow
Phillemann has left #nixos ["WeeChat 2.3"]
<ToxicFrog> florianjacob: re #51980 -- do I need to sync and resolve conflicts here, or wait for a maintainer, or what?
<das_j> join #systemd
<{^_^}> https://github.com/NixOS/nixpkgs/pull/51980 (by ToxicFrog, 6 weeks ago, open): nixos/munin: New options (and some bugfixes) for service configuration
samrose_ has joined #nixos
<wedens> jomik: what's the error now
nikivi has quit [Quit: ZNC is awesome]
alex`` has joined #nixos
superherointj has joined #nixos
<jomik> wedens: None!
nikivi has joined #nixos
<gchristensen> ok, so a channel update later and a reboot and still no luck
<jomik> I was just confused as to why taffybar --version output 3.1.1, when it could not compile properly, but I guess it was because the taffybar bin got updated, but it lost its ghc environment or something..
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54818 → gnome3.gnome-online-accounts: 3.30.0 -> 3.30.1 → https://git.io/fhPfP
<florianjacob> ToxicFrog: I'd sync & resolve conflicts and go explicitly ping somebody for the review. e.g. FRidh seemed to have interest in reviewing when trying to start the ofborg tests, but probably just forgot about it.
samrose has quit [Ping timeout: 240 seconds]
EffSquared has joined #nixos
dermetfan1 has quit [Ping timeout: 240 seconds]
<ToxicFrog> florianjacob: alright. I'll see about doing that later this week; I'm currently in the middle of some major computer renovations, and the repo I do this development in is also my <nixpkgs>, so I don't want to start syncing that again until the hardware shuffle is done.
<Baughn> My server is possessed by demons.
<ToxicFrog> Baughn: aah, the eternal mood
<gchristensen> sounds spirited, Baughn
<Baughn> Remember how I was having trouble with nixos tests?
Lears has quit [Remote host closed the connection]
<Baughn> Well, I still am. I've been running `nix-build ~/dev/nix/system/nixos/tests/gnome3.nix` repeatedly, and getting different results basically every time.
<Baughn> Here are some examples: http://ix.io/1zqh
daifa has quit [Ping timeout: 256 seconds]
<Baughn> clever: ^ You'll get a laugh from this.
<florianjacob> ToxicFrog: if he has no time, I'd ping the maintainers of the munin package (the munin service seems to have no maintainers), but it's usually better to not ping too many people at once. It happens that a PR falls through the cracks, and maintainers are usually happy if you remind them if they don't show activity for ~1 month that you're still alive and interested in the PR.
tuelz has quit [Quit: WeeChat 2.3]
tuelz has joined #nixos
<clever> Baughn: thats pretty bad
<Baughn> clever: I tried replacing /nix/store with an ext4 filesystem, by the way. It made no difference.
<Baughn> But I'm not sure what might. This is clearly demons.
<clever> Baughn: what about a memtest86 on the host?
<Baughn> Tried that. memtest86 doesn't start; the machine just reboots if I try it.
<Baughn> This goes for both my threadrippers, by the way.
<Baughn> And it doesn't misbehave otherwise.
<Baughn> Running memtester, though. Because why not.
<ToxicFrog> florianjacob: alright, thanks.
ryantrinkle has quit [Ping timeout: 240 seconds]
<ToxicFrog> clever: so, update on my adventures with ZFS -- putting a short script to import -a and mount -a in postBootCommands mostly worked.
<ToxicFrog> There's some other stuff in activation (apart from createHome!) that creates directories inside what are meant to be empty mountpoints, so I had to add some extra code to delete those
Lears has joined #nixos
<ToxicFrog> It doesn't look like there's a good place to insert commands before activation, unless I want to move them into the stage1 before pivot-root, so I'm sticking with this for now.
eadwu has quit [Quit: WeeChat 2.3]
<clever> ToxicFrog: you would need to edit stage-2-init.sh in nixpkgs, and add a new option
ddellacosta has joined #nixos
<ToxicFrog> clever: yeah, that seems like too much work compared to just putting `${pkgs.findutils}/bin/find /backup/borg-repo -maxdepth 1 -empty -delete` in there. :P
<{^_^}> [nixpkgs] @Mic92 merged pull request #54323 → rust: 1.31.0 -> 1.32.0 → https://git.io/fhEAE
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to staging: https://git.io/fhPTt
ddellacosta has quit [Remote host closed the connection]
dbmikus has quit [Ping timeout: 250 seconds]
dbmikus has joined #nixos
superherointj has quit [Quit: Leaving]
ddellacosta has joined #nixos
superherointj has joined #nixos
EffSquared has quit [Ping timeout: 246 seconds]
Mark__ has joined #nixos
ryantrinkle has joined #nixos
sicklorkin has joined #nixos
jomik has quit [Quit: WeeChat 2.2]
Mark__ has quit [Quit: Textual IRC Client: www.textualapp.com]
page has quit [Quit: leaving]
superherointj has quit [Quit: Leaving]
superherointj has joined #nixos
superherointj has quit [Client Quit]
superherointj has joined #nixos
superherointj has quit [Remote host closed the connection]
page has joined #nixos
superherointj has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #54719 → python37Packages.immutables: 0.6 -> 0.9 → https://git.io/fh6yk
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « python37Packages.immutables: 0.6 -> 0.9 (#54719) »: https://git.io/fhPLL
eadwu has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54819 → hivex: 1.3.15 -> 1.3.17 → https://git.io/fhPLu
EffSquared has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54820 → ibus-engines.typing-booster-unwrapped: 2.4.1 -> 2.5.0 → https://git.io/fhPts
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
EffSquared has quit [Ping timeout: 272 seconds]
superherointj has quit [Quit: Leaving]
superherointj has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #54720 → python27Packages.mechanize: 0.3.7 -> 0.4.0 → https://git.io/fh6Sm
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « python27Packages.mechanize: 0.3.7 -> 0.4.0 (#54720) »: https://git.io/fhPtV
averell has quit [Quit: .]
<jD91mZM2> ottidmes: That's awesome! Makes me really happy to see that it's being used for good things :)
wigust has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54795 → zafiro-icons: 0.8.3 -> 0.8.4 → https://git.io/fhiHH
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « zafiro-icons: 0.8.3 -> 0.8.4 »: https://git.io/fhPt1
superherointj has quit [Client Quit]
superherointj has joined #nixos
wigust has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54818 → gnome3.gnome-online-accounts: 3.30.0 -> 3.30.1 → https://git.io/fhPfP
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « gnome3.gnome-online-accounts: 3.30.0 -> 3.30.1 »: https://git.io/fhPqq
samrose has joined #nixos
samrose_ has quit [Ping timeout: 244 seconds]
doyougnu has joined #nixos
eadwu has quit [Quit: WeeChat 2.3]
eadwu has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54822 → i2pd: 2.22.0 -> 2.23.0 → https://git.io/fhPme
Ariakenom has joined #nixos
locallycompact has quit [Remote host closed the connection]
superherointj has quit [Quit: Leaving]
superherointj has joined #nixos
dsx has quit [Quit: dsx]
sigmundv_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54738 → polar-bookshelf: 1.8.0 -> 1.9.0 → https://git.io/fh6hC
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « polar-bookshelf: 1.8.0 -> 1.9.0 »: https://git.io/fhPYV
superherointj has quit [Quit: Leaving]
superherointj has joined #nixos
superherointj has quit [Client Quit]
superherointj has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54736 → picard-tools: 2.18.23 -> 2.18.25 → https://git.io/fh6p7
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « picard-tools: 2.18.23 -> 2.18.25 »: https://git.io/fhPYx
superherointj has left #nixos [#nixos]
<disasm> gchristensen: was off on Friday, what's up?
<gchristensen> disasm: what is your new laptop?
<disasm> gchristensen: 9370 is in the mail back, ordering 9380 once I get the refund.
<gchristensen> ahh ok
<gchristensen> I'm having some troubles with it, it'll be interesting to hear if you do too
<disasm> oh fun, lol, what kind of issues?
superherointj has joined #nixos
<gchristensen> Slack's electron app doesn't redraw unless I resize the window, making it unusuable (actually unusable, not just unusably annoying)
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhPOj
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54796 → gnome-menus: 3.31.3 -> 3.31.4 → https://git.io/fhiQ3
<disasm> gchristensen: ah... I likely won't run into the same issues as I switched to sway :)
<gchristensen> oh?
<disasm> yeah, i3-like window manager based on wayland instead of x
<gchristensen> hrm. :)
<disasm> but if the problems happen in wayland too, I'm sure I'll be in here asking folks about it :)
<gchristensen> forgive me, but I hope you and many other people have the same problem! :D
<{^_^}> [nixpkgs] @zimbatm merged pull request #54430 → buildkite-agent3: 3.0.1 -> 3.8.2 → https://git.io/fhzAJ
<{^_^}> [nixpkgs] @zimbatm pushed commit from @yorickvP to master « buildkite-agent3: 3.0.1 -> 3.8.4 (#54430) »: https://git.io/fhP34
<disasm> One thing I did (although never finished) was setting up dual boot for the factory ubuntu image on zfs with luks so I could debug factory vs nixos issues.
<{^_^}> [nixpkgs] @zimbatm merged pull request #54539 → nixos/google-compute-image: don't use <nixpkgs> → https://git.io/fhw7h
<{^_^}> [nixpkgs] @zimbatm pushed to release-18.09 « nixos/google-compute-image: don't use <nixpkgs> (#54539) »: https://git.io/fhP3E
eadwu has quit [Quit: WeeChat 2.3]
elgoosy has joined #nixos
elgoosy has quit [Client Quit]
<disasm> gchristensen: also I found some of the changes in this repo I'm importing useful: https://github.com/disassembler/network/blob/master/machines/irkutsk.nix#L3-L6
elgoosy_ has joined #nixos
jomik has joined #nixos
<gchristensen> disasm: ah, the first thing I did was boot a nixos livecd and `cat /dev/nvme0n1 | ssh 'cat > backup'
mekeor has quit [Quit: digital revolution = cryptoanarchism + cybercommunism]
fendor has quit [Ping timeout: 246 seconds]
<gchristensen> matthewbauer[m]: you might be interested in #nixos-dev :)
eadwu has joined #nixos
perique has joined #nixos
perique is now known as perique-at-useni
doyougnu has quit [Ping timeout: 250 seconds]
dsiypl4 has joined #nixos
agander has joined #nixos
drakonis_ has joined #nixos
rsynnest has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @dywedir merged pull request #54655 → urlscan: 0.9.1 -> 0.9.2 → https://git.io/fh6ZI
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fhPG0
rsynnest has quit [Client Quit]
rsynnest has joined #nixos
fusion809 has quit [Remote host closed the connection]
fusion809 has joined #nixos
<disasm> gchristensen: yeah, I did a zfs create and rsync
vidbina has quit [Ping timeout: 250 seconds]
judson has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54823 → feedreader: 2.6.1 -> 2.6.2 → https://git.io/fhPZ1
judson is now known as Guest18885
maximiliantagher has joined #nixos
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54824 → freetds: 1.00.110 -> 1.00.111 → https://git.io/fhPng
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
agander_ has joined #nixos
drakonis_ has joined #nixos
sicklorkin has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54763 → musescore: 3.0 -> 3.0.1 → https://git.io/fhi3U
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhPnw
agander__ has joined #nixos
agander__ is now known as agander
agander is now known as Guest73863
Guest73863 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #54825 → fff: 1.7 -> 1.8 → https://git.io/fhPnD
drakonis has quit [Ping timeout: 250 seconds]
agander_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @pmahoney opened pull request #54826 → fetchgit: allow configuring credential.helper for private git repos → https://git.io/fhPnA
hph^ has quit []
jomik has quit [Quit: WeeChat 2.2]
ddellaco_ has joined #nixos
random_yanek has quit [Ping timeout: 250 seconds]
averell has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
hc1^ has joined #nixos
drakonis has joined #nixos
equivrel has quit [Remote host closed the connection]
tboston has quit [Quit: ZNC 1.7.1 - https://znc.in]
perique-at-useni has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Thra11 has joined #nixos
drakonis_ has quit [Remote host closed the connection]
tboston has joined #nixos
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54823 → feedreader: 2.6.1 -> 2.6.2 → https://git.io/fhPZ1
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhPWl
Jonas|2 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54828 → gmsh: 4.1.0 -> 4.1.3 → https://git.io/fhPW9
<Jonas|2> Hey there, I was the confused dude from yesterday or so that had problems with cache.nixos.org: It works now after nix-channel --update. I guess that specific file in the cache that I needed was corrupt or some other problem.
<Jonas|2> NixOS is wonderful when it works :)
<ldlework> yeah it is
samrose has quit [Ping timeout: 240 seconds]
samrose_ has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
snajpa has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @dywedir merged pull request #54825 → fff: 1.7 -> 1.8 → https://git.io/fhPnD
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fhPlY
snajpa has joined #nixos
samrose_ has quit [Ping timeout: 244 seconds]
samrose_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54829 → gnome3.evolution: 3.30.3 -> 3.30.4 → https://git.io/fhP8e
ThatDocsLady has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54830 → freeipmi: 1.6.2 -> 1.6.3 → https://git.io/fhP8j
<{^_^}> [nixpkgs] @Infinisil merged pull request #54562 → nixos/netdata: Add option to include extra plugins → https://git.io/fhr7A
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhP4U
Guest21494 has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @ryantm merged pull request #54815 → gzdoom: 3.7.1 -> 3.7.2 → https://git.io/fhixW
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhP4n
Jonas|2 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<ddellaco_> I'm seeing a black screen with a cursor only when I start X, completely unresponsive. Logged in via ssh from my other machine I see no errors in the logs, lightdm (I've tried slim too) doesn't have any errors, neither does X11, display-manager...etc. I've tried setting plasma5 as well as lumina as my desktop manager, no changes. Any ideas? Seems like something simple...
strelok7 has joined #nixos
<ddellaco_> most of my setup is pretty vanilla, but I've got a X1 Extreme that took a bit of configuration to get the hybrid card working, but that does seem to be up and running fine now
noam has joined #nixos
<ddellaco_> thinkpad x1 extreme
<infinisil> Could be a driver issue, maybe try the nouveau one
ibanja has joined #nixos
dbmikus has quit [Ping timeout: 245 seconds]
samrose_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @ptrhlm opened pull request #54831 → zsh: fix for infinite recursion in VCS_INFO_detect_p4 → https://git.io/fhPBq
agander_ has joined #nixos
Guest16529 has quit [Ping timeout: 268 seconds]
<ibanja> I have nix package manager installed on Void Linux. I added a channel but I am getting an error on update: https://paste.debian.net/1062953/
agander_ is now known as agander
<ibanja> I am a member of the group.
<gchristensen> wow, nix on void, cool :D
<ibanja> gchristensen: would be if I could get it working :)
<{^_^}> [nixpkgs] @Infinisil merged pull request #54824 → freetds: 1.00.110 -> 1.00.111 → https://git.io/fhPng
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhPBB
orivej has joined #nixos
<symphorien> ibanja: --option sandbox-paths ""
<symphorien> or fix the value of the option in /etc/nix/nix.conf
<symphorien> ideally sandbox-paths should be "/bin/sh=/path/to/a/statically/linked/sh"
<symphorien> I don't know if you have one on the system
rauno has joined #nixos
<ibanja> symphorien: my /etc/nix/nix.conf has only one line: build-users-group = nixbld
<symphorien> then add sandbox-path=/bin/sh=fsfdfs
<symphorien> nix show-config will tell you that you current value is "/bin/sh="
<symphorien> which is wrong
<ibanja> symphorien: done... now I am getting: error: illegal configuration line 'sandbox-path=/bin/sh=fsfdfs' in '/etc/nix/nix.conf'
<symphorien> ah maybe with spaces
<symphorien> and sorry I was a bit lazy
<symphorien> I meant: /bin/sh=/path/to/a/statically/linked/sh as value to sandbox-paths
freeman42x has joined #nixos
<symphorien> maybe try sandbox-paths =
<symphorien> I don't know if it works
<ibanja> no... not working.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54832 → gloox: 1.0.21 -> 1.0.22 → https://git.io/fhPRX
<symphorien> Has someone compiled nix from source recently ? I am in nix-shell, and make complains that g++: error: EDITLINE_LIBS@: No such file or directory
<{^_^}> [nixpkgs] @worldofpeace pushed to master « feedreader: use more stable url for patch »: https://git.io/fhPRy
<sphalerite> symphorien: did you rerun the configure script?
<symphorien> ibanja: what does not work ? empty sandbox-paths or sandbox-paths = /bin/sh=/path/to/a/statically/linked/sh ?
<symphorien> sphalerite: yes, multiple times
<symphorien> ah maybe I must rerun ./bootstrap.sh as well
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54829 → gnome3.evolution: 3.30.3 -> 3.30.4 → https://git.io/fhP8e
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « gnome3.evolution: 3.30.3 -> 3.30.4 »: https://git.io/fhP0G
<ibanja> symphorien: neither works. Is "/path/to/a/statically/linked/sh" the actual string I should use or am I supposed to put a "path to a statically linked sh"?
<symphorien> I'll let you guess :)
<{^_^}> [nixpkgs] @7c6f434c merged pull request #54830 → freeipmi: 1.6.2 -> 1.6.3 → https://git.io/fhP8j
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhP0l
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54833 → emby: 3.5.3.0 -> 4.0.1.0 → https://git.io/fhP00
samrose_ has joined #nixos
<sphalerite> symphorien: huh. I can't reproduce it myself.
<sphalerite> are you in the right kind of shell?
<symphorien> I rerun ./bootsrap.sh and it is recompiling
<sphalerite> ah ok
<symphorien> I'll know if it is enough in a few minutes
petersjt014 has quit [Remote host closed the connection]
dbmikus has joined #nixos
<ibanja> symphorien: I have the following three lines in my /etc/nix/nix.conf file: build-users-group = nixbld
<ibanja> sandbox-path =
<ibanja> ... /bin/sh = /bin/bash
<symphorien> sandbox-paths plural iirc
<symphorien> My value is:
<symphorien> sandbox-paths = /bin/sh=/nix/store/3jh2d752bf78b9j9f72qcq952azj2ffb-busybox-1.29.3/bin/busybox
<symphorien> replace /nix/store/3jh2d752bf78b9j9f72qcq952azj2ffb-busybox-1.29.3/bin/busybox by /bin/bash
<symphorien> is /bin/bash statically linked ?
<ibanja> oh... got it
ambro718 has joined #nixos
shibboleth has quit [Quit: shibboleth]
<ottidmes> are the abbreviated commits reported by GitHub future proof, I know it will increase the size of the abbreviation if it can conflict with some new hash, but does it ensure the old one stays pointed at the same old thing? (asking this for versioning of a bleeding edge nixpkgs, I know it does not matter in Nix, but still would prefer using unique versions)
ckauhaus has quit [Quit: WeeChat 2.2]
<ibanja> symphorien: /bin/bash is probably not statically linked... I only have 24 files in /nix/store and none of them are shells https://paste.debian.net/1062960/
<symphorien> then disable the sandbox:
<symphorien> sandbox = false
<symphorien> To use the sandbox you need a shell to populate said sandbox
<symphorien> and this shell must be statically linked
retr has joined #nixos
<symphorien> sphalerite: oh after ./bootstrap.sh it worked! thankgs
<sphalerite> \o/
retr has left #nixos [#nixos]
<ibanja> I installed this via the void linux package manager. Maybe I should uninstall it and install directly from the nix installation guide.
<ibanja> I keep getting a "$HOME/.nix-defexpr/channels' does not exist" message
<symphorien> you can ignore this one
<ibanja> ok
<symphorien> but please, when you say "it does not work" be more precise
<ibanja> Here is the exact error: https://paste.debian.net/1062962/
<ibanja> hold... ignore that
<symphorien> can you paste nix show-config ?
<{^_^}> [nixpkgs] @ryantm merged pull request #54772 → ncpamixer: 1.2 -> 1.3 → https://git.io/fhinH
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhPus
<ibanja> this is show-config... https://paste.debian.net/1062964/ and this is my /etc/nix/nix.conf and error https://paste.debian.net/1062963/
dermetfan1 has joined #nixos
<symphorien> as you can see in nix show-config your modification has no effet
<symphorien> ah sorry
<symphorien> misread
jomik has joined #nixos
<symphorien> have you restarted the nix daemon ?
<symphorien> (if you have a multiuser installer)
<symphorien> -er
<{^_^}> [nixpkgs] @lsix opened pull request #54834 → pythonPackages.qscintilla: enable for python3 → https://git.io/fhPui
<ibanja> symphorien: oh wow... I restarted nix daemon and got a whole different message... didn't even think to restart..
<spacekookie> I'm kinda wondering if there's some docs on how to mount a zfs pool (thats not the root). https://pastebin.com/KEUEh4Q5 doesn't seem to work where `zpool import DataCore` does exactly what I want it to
<symphorien> you must install xz
<symphorien> and tar
<spacekookie> (the posted snippet kinda crashes the whole system because systemd freaks out)
<sphalerite> spacekookie: huh, how does it freak out?
<gchristensen> spacekookie: ^
<ibanja> yes... just installed xz
<spacekookie> sphalerite: one sec let me get the error message back up
<sphalerite> gchristensen: 404. Seems to be a stray c
<gchristensen> how did I do that? O.o
<spacekookie> Eh it drops me into an emergency mode and says "Job for sysinit.target canceled". I haven't looked at the persistent logs yet though
<sphalerite> ftfy
<spacekookie> Though it would maybe be something obvious or someone else knows how to run zfs
<sphalerite> spacekookie: one thing to try is putting options = ["nofail"]; in it
<gchristensen> spacekookie: we'll definitely need more logs / info, I do what you do and its fine
<ibanja> symphorien: That did it!!! Thanks so much for the help.
<spacekookie> sphalerite: gchristensen Alright I'll reboot the previous generation and do some more debugging
<spacekookie> erm..."nice" to know it's not a trivial issue I guess x)
<sphalerite> ♥ trivial boot-time rollback
<gchristensen> spacekookie: maybe `journalctl --boot -1` has some logs?`
<spacekookie> sphalerite: being able to roll back my laptop on the first day of using it made me fall in love with nix tbh :3
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « minimap2: 2.14 -> 2.15 »: https://git.io/fhPzY
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54765 → minimap2: 2.14 -> 2.15 → https://git.io/fhisF
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54701 → python37Packages.pika: 0.12.0 -> 0.13.0 → https://git.io/fh6rV
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.pika: 0.12.0 -> 0.13.0 »: https://git.io/fhPzc
<spacekookie> gchristensen: sphalerite Hmmm https://pastebin.com/ARkKdTZN
<spacekookie> Well that looks interesting
<gchristensen> ah yeah there you go :) zfs set mountpoint=legacy
<gchristensen> nixos doesn't support the default mount behavior o
<spacekookie> Hmm okay
<spacekookie> Would it be able to have an option to configure this? Instead of having it be some implicit state that I create via a CLI
<gchristensen> no, filesystem formatting is inherently stateful here
alex`` has quit [Read error: Connection reset by peer]
tmaekawa has joined #nixos
<spacekookie> Eh yea I guess it just becomes part of the formatting
<spacekookie> Well, it works now \o/
<spacekookie> Thanks :)
<gchristensen> glad to hear it!
tmaekawa has quit [Client Quit]
<spacekookie> My valuable ~backups~ movies
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54700 → python37Packages.pysam: 0.15.1 -> 0.15.2 → https://git.io/fh6rc
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.pysam: 0.15.1 -> 0.15.2 »: https://git.io/fhPz7
<elvishjerricco> spacekookie: You can in theory manually edit hardware-configuration.nix to remove that dataset. But that's generally frowned upon
maximiliantagher has quit [Remote host closed the connection]
<gchristensen> heh, yeah, I just realized I have some non-legacy ZFS datasets which aren't referenced by the configuration.nix and just depend on zfs auto-mounting them and they work okay
<gchristensen> but that is probably gross and I should probably fix that
maximiliantagher has joined #nixos
<ToxicFrog> If you do want to use zfs auto-mounting, in order for it to work reliably you pretty much have to put it in postBootCommands so it happens before systemd startup
alex`` has joined #nixos
strelok7 has quit [Remote host closed the connection]
<ToxicFrog> Otherwise, neither NixOS nor systemd know about the mountpoints and there's no guarantee zpool import/zfs mount run before services trying to use those mountpoints start up.
<{^_^}> [nixpkgs] @artemist opened pull request #54835 → one_gadget: init at 1.6.2 → https://git.io/fhPgT
<elvishjerricco> ToxicFrog: Works fine if you don't have any services using the dataset that launch at boot :P
<elvishjerricco> But is there no way to declare a systemd dependency on the mountpoint being mounted?
tmaekawa has joined #nixos
<ToxicFrog> elvishjerricco: if you're not using mountpoint=legacy, the mounts are handled entirely via `zfs mount`, not fstab or systemd mount units
tmaekawa has quit [Client Quit]
<ToxicFrog> NixOS doesn't have a systemd mount generator for ZFS datasets yet, so systemd has no idea anything is meant to be mounted there.
<ToxicFrog> I had constant issues with systemd units starting up before /srv was mounted and user units starting up before /home was
doyougnu has joined #nixos
<ToxicFrog> If you're ok using mountpoint=legacy, doing that and setting the mountpoints in configuration.nix works fine.
<ToxicFrog> If you prefer to use ZFS mount management (which is especially appealing if you have lots of datasets), you need something like this: https://gist.github.com/ToxicFrog/0c11bc16b93745742ea8bb29a5ae95c9
<ToxicFrog> And even then you need to watch out for the activation script (which runs before postBoot) creating home directories and service directories in unmounted filesystems.
<devalot> Sometime after 2019-01-13 a commit in nixpkgs-channels/18.09 completely breaks all my qemu-kvm virtual machines. Rolling back to Jan. 13 fixes my issues. I can't afford the downtime to figure out which commit causes the issue. How should I report this?
<ToxicFrog> elvishjerricco: you could try making zfs import a prerequisite of local-fs.target and then making sure your services start up after local-fs.target, but I struggled to get the dependencies for that correct for ages and never got it working reliably; it's easier to just import and mount all the datasets before systemd startup.
<{^_^}> [nixpkgs] @stites opened pull request #54836 → cmake: 3.12.1 -> 3.12.2 → https://git.io/fhPgN
superherointj has quit [Quit: Leaving]
jomik has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @LnL7 merged pull request #54481 → xorg.luit: fix darwin build → https://git.io/fh2Hg
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fhP2t
maximiliantagher has quit [Ping timeout: 268 seconds]
<Thra11> What's the quickest way to get started on a new haskell project using Nix? Is there a `cabal init` style utility? or a ready made .nix file I can drop in with minimal modifications?
EffSquared has joined #nixos
<elvishjerricco> Thra11: `with import <nixpkgs> {}; haskellPackages.callCabal2nix "foo" ./. {}` is a minimum that works like 80% of the time. You can `nix-build` it, and `nix-shell -A env` for local development.
<elvishjerricco> Thra11: Of course that assumes you've already done a `cabal init` to create the cabal project
<ibanja> How unstable is the "unstable channel"?
<symphorien> !channel
<gchristensen> ,unstable
<symphorien> ,channel ibanja
<{^_^}> symphorien: Did you mean channels?
<{^_^}> ibanja: Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
civodul has joined #nixos
<symphorien> ,which-channel ibanja
<symphorien> finally I found the factoid I wanted
<symphorien> sorry for the noise
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54725 → python37Packages.ftfy: 5.5.0 -> 5.5.1 → https://git.io/fh67J
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fhPaa
<ibanja> thanks symphorien
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54837 → facter: 3.12.2 -> 3.12.3 → https://git.io/fhPaV
agander has quit [Quit: Leaving]
jomik has joined #nixos
<{^_^}> [nixpkgs] @ck3d opened pull request #54838 → buku: 3.8 -> 4.1 → https://git.io/fhPay
<gchristensen> NixOS has appeared in, perhaps, its first kid activity book
<Thra11> elvishjerricco Cool, thanks. I'll try that. Does the file name (default.nix?) matter?
<infinisil> gchristensen: Lol nice
<elvishjerricco> Thra11: Yea you'd want to use `default.nix` Otherwise you'll have to specify the file you put that in on the command line (just a positional argument for nix-build and nix-shell, so no biggy)
<jomik> wedens: Sorry.. :D Any idea why this gives a SEGV? I am trying to fix this error `Failed to load icon from filepath firefox`. Which,, I believe, infinisil fixed here https://github.com/Infinisil/system/blob/master/config/new-modules/x/taffybar/default.nix#L44
<elvishjerricco> Thra11: Also, replace `foo` with the name of your cabal package
<jomik> postInstall didn't work, as taffybar overrides buildCommand, so I just modified buildCommand..
<gchristensen> infinisil: I especially like that NixOS is *on* the computer.
<infinisil> jomik: Where does taffybar override buildCommand?
<samueldr> gchristensen: you're one of those users where th monitor is the computer and the computer is the "???"?
<samueldr> :)
Ariakenom has quit [Read error: Connection reset by peer]
<jomik> I don't think it is an issue in your case infinisil , because you are not installing from nixpkgs, you are building your own ?
<jomik> IIUC
<spacekookie> gchristensen: that's how world domination starts!
<infinisil> jomik: Ah, that's just a wrapper for taffybar, not the taffybar build itself, but the fix should still work I think. Maybe verify that "${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache" actually exists, these hardcoded version numbers look suspicious
Ariakenom has joined #nixos
<infinisil> jomik: Yeah I built my own taffybar there
<jomik> Yup
<jomik> infinisil: I verified that before I added it, exactly for that reason
<jomik> And also after.
<Unode> hi all, is it common practice to package software that ships as .jar files in nixpkgs or is it preferred to compile from source if source is available?
<jomik> And it does indeed exist
<Twey> What's the difference between buildEnv and symlinkJoin?
Havvy has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54839 → cmst: 2018.01.06 -> 2019.01.13 → https://git.io/fhPV4
<elvishjerricco> Unode: I've never done any Java with Nix. But at least with other languages, it's preferred to build from source when reasonable.
Soo_Slow has quit [Read error: Connection reset by peer]
<jomik> Tho, I don't know how it uses that loaders.cahe.
<jomik> Don't get why it causes that error :(
<elvishjerricco> Actually I did do a little Java with Nix a while ago, and we just downloaded a bunch of jar files from maven repos with Nix. But we weren't trying particularly hard to do the right thing at the time :P
<jomik> elvishjerricco: the little Java I have done with Nix was attempting to fix the android dev environment. But nixpkgs insists on trying to accept actual licenses, which the jars have to download... So, that can not happen, since it is impure to allow them to do stuff like that! :D
<Unode> elvishjerricco: my question was more from a compatibility point of view. With binary software one has to use patchelf or wrappers, however jars are mostly system agnostic so I wondered...
<jomik> So, I made my own version of that. :D
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54840 → dhex: 0.68 -> 0.69 → https://git.io/fhPVK
<elvishjerricco> Unode: Yea, we were able to get by without any kind of binary patching by using jars from maven repos. Should be fine. JVM is pretty good about that kind of stuff
<Unode> elvishjerricco: great, giving it a try
<Unode> by the way, for the people with commit/merge access in the channel, what's the general procedure to request a merge? I have a PR ready pending for a merge for months now. Do I need to call out to specific users?
jomik has quit [Quit: WeeChat 2.2]
<gchristensen> Unode: link?
<{^_^}> #48762 (by unode, 14 weeks ago, open): Add support for burp client/server services
Havvy has joined #nixos
<Unode> It has conflicts now, probably needs another bump on the group ids
jomik has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
bryan1 is now known as sicklorkin
<Unode> gchristensen: conflicts fixed (using the github interface - hope that's ok)
<__monty__> Is this ld error common for nix installed ld on OSX? http://ix.io/1zsa
Dagger2 has quit [Excess Flood]
Dagger2 has joined #nixos
sicklorkin has quit [Quit: leaving]
jomik has quit [Quit: WeeChat 2.2]
ibanja has left #nixos ["Leaving"]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54841 → cups-filters: 1.21.6 -> 1.22.0 → https://git.io/fhPrm
freeman42y has joined #nixos
mekeor has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
_kwstas has joined #nixos
jackjennings has joined #nixos
<jackjennings> I'm seeing this today in my nixos install… not sure what could have caused it: `/nix/store/15kgcm8hnd99p7plqzx7p4lcr2jni4df-set-source-date-epoch-to-latest.sh: line 13: [: : integer expression expected`
<jackjennings> Anyone seen this before and know anything about it?
vk3wtf has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54842 → debianutils: 4.8.6 -> 4.8.6.1 → https://git.io/fhPo6
m0rphism has quit [Quit: WeeChat 2.2]
maximiliantagher has joined #nixos
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54843 → cool-retro-term: 1.1.0 -> 1.1.1 → https://git.io/fhPKZ
aither has quit [Quit: ZNC 1.7.1 - https://znc.in]
<jackjennings> Anyone? Going a bit nuts here
<symphorien> maybe disk corruption ? can you try sudo nix-store --verify --check-content ?
aither has joined #nixos
<gchristensen> I feel like I've seen that too, but it hasn't blocked me
<jackjennings> `error: unknown flag '--check-content'`
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54844 → closurecompiler: 20181210 -> 20190121 → https://git.io/fhPK6
<jackjennings> Without that flag it doesn't report any errors…
m0rphism has quit [Quit: WeeChat 2.2]
m0rphism has joined #nixos
astrofog has joined #nixos
<symphorien> ah --check-contents plural, sorry
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54845 → dar: 2.6.0 -> 2.6.1 → https://git.io/fhP6Y
m0rphism has quit [Quit: WeeChat 2.2]
m0rphism has joined #nixos
EffSquared has quit [Quit: Leaving]
<jackjennings> No errors :(
<Thra11> dneonO/o
<Thra11> Sorry. A degu walked across my keyboard
<matthewbauer[m]> jackjennings: that should just be a warning
<{^_^}> [nixpkgs] @stites opened pull request #54846 → magma: 2.0.2 -> 2.0.2, 2.3.0, 2.4.0, + mklSupport → https://git.io/fhP6H
hc1^ has quit []
<jackjennings> `nix-collect-garbage -d` maybe got rid of it?
tsrt^ has joined #nixos
<jackjennings> Now I'm stuck on an (un?)related issue
<jackjennings> :(
dbmikus_ has joined #nixos
dbmikus has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @raquelgb opened pull request #54847 → joplin-desktop: init at 1.0.120 → https://git.io/fhPiA
vk3wtf has joined #nixos
simukis has quit [Quit: simukis]
ghostinthenet has joined #nixos
ghostinthenet has left #nixos [#nixos]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #54848 → typora: 0.9.53 -> 0.9.64, remove electron blob → https://git.io/fhPPD
gagbo has quit [Quit: I'm out !]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54849 → dpkg: 1.19.2 -> 1.19.4 → https://git.io/fhPXO
tA- is now known as teeAyy
<{^_^}> [nixpkgs] @worldofpeace pushed to master « lollypop: 0.9.914 -> 0.9.915 »: https://git.io/fhPXC
<{^_^}> [nixpkgs] @primeos merged pull request #54764 → monetdb: 11.31.11 -> 11.31.13 → https://git.io/fhi3d
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fhPXb
kvda has joined #nixos
rprije has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #54689 → python37Packages.Wand: 0.4.5 -> 0.5.0 → https://git.io/fh6uX
<{^_^}> [nixpkgs] @Infinisil pushed 4 commits to master: https://git.io/fhP1V
tsrt^ has quit []
abaiste^ has joined #nixos
abaiste^ has quit [Max SendQ exceeded]
abaiste^ has joined #nixos
abaiste^ has quit [Max SendQ exceeded]
abaiste^ has joined #nixos
abaiste^ has quit [Max SendQ exceeded]
abaiste^ has joined #nixos
abaiste^ has quit [Max SendQ exceeded]
abaiste^ has joined #nixos
abaiste^ has quit [Max SendQ exceeded]
abaiste^ has joined #nixos
_kwstas has quit [Quit: _kwstas]
sigmundv_ has joined #nixos
<ddellaco_> folks, I've been hung up on getting X11 running for days now. I'm trying to get my 1050Ti card working with my thinkpad x1 Extreme per the instructions here: https://nixos.wiki/wiki/Nvidia
ryantrinkle has quit [Ping timeout: 245 seconds]
<ddellaco_> I've tried the static configuration which just gives me a black screen and cursor, and the dynamic mode, wherein the primerun script fails telling me there's an unfree package and that I need to enable it in configuration.nix...well, it's already enabled
<ddellaco_> ...and I'm not really interested in using bumblebee
<ddellaco_> not sure what to do at this point, any suggestions would be most appreciated
<symphorien> how did you enable unfree packages ?
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<ddellaco_> symphorien: nixpkgs.config.allowUnfree = true in my /etc/nixos/configuration.nix
alex`` has quit [Read error: Connection reset by peer]
<symphorien> you need to enable unfree package for nix-env as well
<symphorien> ,unfre
<{^_^}> symphorien: Did you mean unfree?
<{^_^}> You cannot install your unfree software? See https://nixos.wiki/wiki/FAQ/unfree
<ddellaco_> symphorien: that's not what the script is telling me
<symphorien> the configuration for this goes in ~/.config/nixpkgs/config.nix
<symphorien> what does it tell you then ?
<ddellaco_> I mean, it's giving me two options, I assumed it was one or the other, but it sounds like you're suggesting I need both of those (configuration.nix vs. ~/.config/nixpkgs/config.nix)?
<ddellaco_> honestly I don't even understand that wiki page, it and the script talk about running a game--it doesn't make sense to me
<symphorien> you need both
<ddellaco_> this all seems so weird and hacky
<ddellaco_> at least, the dynamic option does
<symphorien> one enables unfree package installed with nix-env and nix-build
<symphorien> the other enables unfree for things declared in configuration.nix
<ddellaco_> okay guess I'll try that, since I have no other options at this point
<symphorien> they speak about games because those are usually the most picky software, I guess
<ddellaco_> and now it says "you need to run ./primerun.sh from another console"
<ddellaco_> ah well
teehemkay[away] has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sicklork1n has joined #nixos
<symphorien> I think they mean a tty
alex`` has joined #nixos
<ddellaco_> I don't understand why I would want to run this script manually in any case when I'm just trying to set up X11 for general use
dermetfan1 has quit [Ping timeout: 245 seconds]
<symphorien> the static mode is said to drain the battery
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54850 → cryfs: 0.9.9 -> 0.9.10 → https://git.io/fhPDY
<ddellaco_> like, when do I run it? In what context? How do I set it up so that nix starts X11 up when I boot, etc.?
m15k has joined #nixos
<infinisil> ddellaco_: A simple `services.xserver.enable = true;` should do it
<symphorien> the nvidia card will only be used for programs lauched by ./primerun.sh
<symphorien> so: if you don't run the script, you get low performance, but goot battery life
jackdk has joined #nixos
<symphorien> if you run the script, you get a new tty with high performance graphics
<symphorien> hence their example about games, because usually you only do this for games
<ddellaco_> symphorien: so I run the script manually for specific applications every time?! So how do I start X11 just for like, day-to-day use? Like with a desktop manager?
<ddellaco_> infinisil: yeah that was the very first thing I tried back four days ago believe it or not
<symphorien> ddellaco_: that's what they call static mode
<symphorien> no script, low battery life, high performance for exverything
<pbb> nixos-upgrade is failing for me with `error: executing 'git': No such file or directory`. I use the builtin fetchGit in my system configuration.
<yl[m]> LnL: is there a know issue on Mac? I'm running OSX 10.14.2 fresh install, I installed nix multi-user `sh <(curl https://nixos.org/nix/install) --daemon` and I get `error: unexpected end-of-file` when I run `nix-shell -p hello --run hello` from unprivileged used
<pbb> rebuilding the system as a user works fine, even when git is not in the path
<yl[m]> s/used/user/
<symphorien> pbb: you need git in path
ryantrinkle has joined #nixos
<ddellaco_> symphorien: I understand all of this conceptual stuff. My problem is getting it to work.
<yl[m]> LnL: it works if I use root `sudo -i nix-shell -I nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixpkgs -p hello --run 'hello'`
<pbb> shouldn't fetchGit pull in git automatically?
<pbb> and how do I get git in the path of nixos-upgrade?
ToxicFrog has quit [Quit: WeeChat 2.3]
<ddellaco_> symphorien: the instructions in the wiki page for dynamic have hardware.nvidiaOptimus.disable = true;, the static config has hardware.nvidia.optimus_prime.enable = true;
<ddellaco_> this makes no snese
<ddellaco_> sense
<{^_^}> nix#2523 (by periklis, 11 weeks ago, open): darwin: nix-daemon crashes due to OBJC_DISABLE_INITIALIZE_FORK_SAFETY
<symphorien> ah you can only have one at a time
<yl[m]> LnL: oh, let me check that out
<symphorien> anyway, good luck, I gotta go.
<ddellaco_> okay clearly we are talking past each other
<ddellaco_> yep see ya
<yl[m]> LnL: yep that looks like the issue, I'll read the issue
<ddellaco_> alright, anyways, if anyone has gotten X11 working with an nvidia card via https://nixos.wiki/wiki/Nvidia I'd love to get a peek at your config
thc202 has quit [Ping timeout: 244 seconds]
<pbb> what solved my problem was changing just fetchGit to builtins.fetchGit
<pbb> interesting, huh?
iqubic has joined #nixos
<yl[m]> LnL: I see your comment on https://github.com/NixOS/nix/issues/2523#issuecomment-454902104 and I will try that out on my test machine and report back. But I'm still trying to figure out how to get this installed right after the installation from my bash script that does the full install -> https://gist.github.com/kalbasit/066183d05901e7aaf9a02cf956a42e97
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54851 → gitAndTools.diff-so-fancy: 1.2.0 -> 1.2.5 → https://git.io/fhPyT
erasmas has quit [Quit: leaving]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
ToxicFrog has joined #nixos
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54852 → dune: 1.6.2 -> 1.6.3 → https://git.io/fhPy4
<LnL> yl[m]: sudo -i nix-env -f expr.nix -i && sudo launchctl remove org.nixos.nix-daemon && sudo launchctl load /Library/LaunchDaemons/org.nixos.nix-daemon.plist
<yl[m]> LnL: Thank you!
<yl[m]> I'll give it a try
q6AA4FD has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54853 → cvs_fast_export: 1.32 -> 1.45 → https://git.io/fhPy5
<yl[m]> LnL: what's the reservation behind not using OBJC_DISABLE_INITIALIZE_FORK_SAFETY in the plist file?
dsiypl4_ has joined #nixos
q6AA4FD has joined #nixos
<yl[m]> LnL: I'm wondering because it did trigger a rebuild of many dependencies and I'm wondering if it's worth it
dsiypl4 has quit [Ping timeout: 246 seconds]
eadwu has quit [Quit: WeeChat 2.3]
<LnL> the reason it fails by default now is that it's potentially dangerous and might break stuff, also apple might start ignoring the variable at any point
<yl[m]> I see, it looks like it's going to be a complex fix
<LnL> yeah, but you can set the variable instead if you want
<LnL> it's just a workaround and not a valid solution for the issue IMHO
<gchristensen> seems weird that our memtest86+ binary doesn't support checking more than 256M of RAM
sicklork1n has quit [Ping timeout: 246 seconds]
<yl[m]> LnL: I'll probably do that for now, thanks!
<LnL> I should make some time and go through a dtrace again with that custom build and see where things go wrong
Ariakenom has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @primeos pushed to master « python37Packages.google_api_python_client: 1.7.7 -> 1.7.8 »: https://git.io/fhPSz
<jackjennings> Is it possible to get the name of the nixops deployment in the machine declaration? Does this work? `webserver = { config, name, deploymentName, ... }: {}`. I wish that it was documents somewhere what this attribute set contained
<elvishjerricco> How can I update the version of steam in nixpkgs
<elvishjerricco> ?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54854 → duply: 2.1 -> 2.2 → https://git.io/fhPS9
random_yanek has joined #nixos
random_yanek has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @Infinisil pushed to master « pythonPackages.Wand: Fix evaluation, passthru imagemagick »: https://git.io/fhPSN
random_yanek has joined #nixos
<elvishjerricco> Wait. I accidentally let it update itself and it... worked? That's bad. Where is this new version stored?
hmuser has joined #nixos
hmuser has quit [Client Quit]
<samueldr> I think on all systems the real steam is stored in your home, the package that's installed is some system glue + update downloader?
astrofog has quit [Ping timeout: 240 seconds]
<elvishjerricco> samueldr: Wait so the package in `nixpkgs` is just the steam downloader?
<samueldr> not entirely confident, but possibly, with glue to install things required, and in our case, the whole FHS thing
dsiypl4_ has quit [Ping timeout: 245 seconds]
<clever> jackjennings: this is a list of extra fields, that are passed to all nixos modules in the deployment
<elvishjerricco> how can I nuke my whole steam install?
<clever> elvishjerricco: i think the bulk of it is in ~/.local/share/Steam
<elvishjerricco> clever: what about ~/.steam?
<clever> elvishjerricco: that only has symlinks to the other, and some very small files
<elvishjerricco> clever: Oh, so it does.
<clever> registry.vdf is about the only thing that could pose an issue
<clever> at a glance, i think its emulating the windows register system
<elvishjerricco> clever: So in theory I can just nuke .steam and .local/share/Steam, and steam will be back to the system default?
<clever> i'm guessing that behind the scenes, steam saves things to the register, and they needed "a registery" on linux, to save to
<clever> elvishjerricco: yeah
<clever> lrwxrwxrwx 1 clever users 31 Jan 27 21:08 /home/clever/.steampath -> /home/clever/.steam/sdk32/steam
<clever> lrwxrwxrwx 1 clever users 29 Jan 27 21:08 /home/clever/.steampid -> /home/clever/.steam/steam.pid
<clever> i also see these symlinks, but those point into the dir your nuking
<elvishjerricco> clever: And does samueldr's idea about the nixpkgs's steam just being the downloader sound right to you?
<clever> yeah
<elvishjerricco> well that's too bad
<samueldr> IIRC steam uses vdf files on windows too
<jackjennings> clever: thanks for the confirmation
<clever> samueldr: i see HKLM and HKCU in that VDF file
<clever> samueldr: those are windows terms for the roots in the registery
<samueldr> maybe they used their own format to back what would go in the windows registry