sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
kvda has joined #nixos
<gchristensen> I think nixops' SSH key handling should be ... extensible
<clever> gchristensen: ive noticed the none and ec2 backends handle it very differently
halfbit has quit [Ping timeout: 252 seconds]
<clever> gchristensen: and ec2 can easily "forget" keys
<gchristensen> specifically not just SSH keys, but the ability to generate arbitrary pub/priv keys and sync them back to nixops' controller for distribution
<clever> the none backend gets into the machine "somehow" (password usually), then generates its own key and lets itself in via the deployed config
<gchristensen> hmm
<clever> but the ec2 backend relies ENTIRELY on the /root/.ssh/authorized_keys that was made on first-boot
<clever> also, the ec2 backend remembers the name of the keypair you used, and if you rename it, nixops will notice the name is "wrong" and choose to use no keys!
ee1943 has quit [Read error: Connection reset by peer]
<gchristensen> yikes
<clever> and then lock itself out
<clever> but it wont delete the private, so if you undo the rename, it can regain access
<clever> the other problem there, is that if you disable ~/.ssh/authorized_keys, you lock nixops out!
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #61519 → aws-sdk-cpp: fix cross compilation → https://git.io/fjlY2
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/fj4ob
<clever> so you cant enforce it being 100% declarative!
buffet_ has joined #nixos
jluttine has joined #nixos
<gchristensen> nice
<gchristensen> impressive
ee1943 has joined #nixos
buffet has quit [Ping timeout: 268 seconds]
<clever> gchristensen: another thing id like to see, is a way to SAFELY rotate ssh keys
<gchristensen> oh?
<clever> gchristensen: for example, if somebody is upset over being fired, and has a copy of ~/.nixops/deployments.nixops
<clever> they have a copy of every single ssh private key
<clever> and you can never revoke those keys (with current nixops)
<clever> so they forever have root, on everything
<clever> gchristensen: i think the safest way to do that, is to generate a new keypair, but keep the old pair, and deploy the new nixops config
<clever> but, every backend handles ssh keys differently (see ec2 above)
<clever> so some wont obey that
<clever> and you also need a way to tell ssh multiple keys you can use
Matthieu_ has joined #nixos
dansho has joined #nixos
MmeQuignon has quit [Ping timeout: 248 seconds]
<gchristensen> yes that is definitely a big problem
sheeldotme has joined #nixos
sheeldotme has quit [Read error: Connection reset by peer]
<gchristensen> the reason I mentioned ^ is for things like wireguard tunnel key exchange, and also keys used for things like znapzend
<gchristensen> keys you don't really want to take off device
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thc202 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @tadfisher opened pull request #61844 → plata-theme: 0.7.6 -> 0.8.0 → https://git.io/fj4oj
fusion809 has joined #nixos
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #61845 → solr: 0.8.0 -> 0.8.1 → https://git.io/fj4Kv
Matthieu_ has quit [Ping timeout: 258 seconds]
goibhniu1 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @aanderse closed pull request #34752 → Freeplane: init at 1.6.13 → https://git.io/vAkqe
ottidmes has quit [Ping timeout: 258 seconds]
esmerelda has quit [Ping timeout: 248 seconds]
Guanin has quit [Remote host closed the connection]
jluttine has quit [Ping timeout: 268 seconds]
selfsymmetric-mu has joined #nixos
nekroze has joined #nixos
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
esmerelda has joined #nixos
<nekroze> I am unable to get nixops to deploy to aws any resources/machines at all due to an AuthFailure which google suggests is a clock sync issue but my clock is perfectly fine. Has anyone recently used nixops to deploy to aws?
<nekroze> only other suggestion I see that even vaguely makes sense in my case is that it should use boto3 instead of boto, I see nixops has both as deps though so not sure what is happening there
kvda has joined #nixos
_ris has quit [Ping timeout: 260 seconds]
___quietlaika has quit [Ping timeout: 248 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61846 → kore: 2.0.0 -> 3.3.0 → https://git.io/fj4KY
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
jluttine has joined #nixos
nD5Xjz_ has quit [Ping timeout: 268 seconds]
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @samueldr opened pull request #61847 → Fixes meson for systemd-boot AArch64 cross-build → https://git.io/fj4Kc
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #nixos
<v0id72[m]> clever: Wow that shit still didn't work :(. However I found that creating an i3status folder under .config then saving the default of the i3status.conf file as config was the fix infinisil
<v0id72[m]> copied it and pasted into the config file that is.
moet has joined #nixos
Synthetica has quit [Quit: Connection closed for inactivity]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis_ has joined #nixos
kvda has joined #nixos
drakonis has quit [Ping timeout: 258 seconds]
acarrico has joined #nixos
nekroze has quit [Quit: Lost terminal]
orivej has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace closed pull request #55451 → gImageReader fixed missing Icons → https://git.io/fhHl9
orivej has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61848 → libdc1394: 2.2.5 -> 2.2.6 → https://git.io/fj4K6
acarrico has quit [Ping timeout: 272 seconds]
i1nfusion has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
i1nfusion has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<alienpirate5> Is anyone able to install Anbox?
srl295 has quit [Quit: Connection closed for inactivity]
Anton-Latukha has quit [Quit: Leaving.]
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
InFlames has joined #nixos
___quietlaika has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
fusion809 has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<teto> man nix.conf does not contain tarball-ttl ?!
<teto> nevermind, known issue https://github.com/NixOS/nix/issues/1115
<{^_^}> nix#1115 (by peti, 2 years ago, open): Please document "tarball-ttl" option
___quietlaika has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61849 → libpqxx: 6.4.3 -> 6.4.4 → https://git.io/fj4KF
<gchristensen> should be an easy one to write up
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61850 → libsass: 3.5.5 -> 3.6.0 → https://git.io/fj46I
gagbo has quit [Ping timeout: 258 seconds]
<{^_^}> [nix] @grahamc opened pull request #2882 → tarball-ttl: document → https://git.io/fj46L
<gchristensen> teto: ^
<teto> gchristensen: very cool. 2016 issue and I would say it's in the top 3 options on the cli so it's nice to document it
<gchristensen> top 3 options?
alexherbo23 has quit [Quit: The Lounge - https://thelounge.chat]
<teto> tarball-ttl is probably the --option I pass the most to nix , with builders and substituters
<gchristensen> ah
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 272 seconds]
slack1256 has quit [Ping timeout: 258 seconds]
esmerelda has quit [Ping timeout: 244 seconds]
o1lo01ol1o has joined #nixos
InFlames has quit [Ping timeout: 258 seconds]
drakonis has joined #nixos
st4ll1_ has quit [Ping timeout: 258 seconds]
st4ll1 has joined #nixos
alexherbo2 has joined #nixos
esmerelda has joined #nixos
orivej has joined #nixos
toppler`` has quit [Ping timeout: 245 seconds]
toppler`` has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61852 → limesuite: 19.01.0 -> 19.04.0 → https://git.io/fj46E
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
abathur has quit [Ping timeout: 248 seconds]
moet has quit [Ping timeout: 246 seconds]
___quietlaika has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #61853 → exiv2: 0.26.2018.12.30 -> 0.27.1 → https://git.io/fj46K
detran has quit [Ping timeout: 244 seconds]
InFlames has joined #nixos
detran has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
<markasoftware> where can I read about how derivation build scripts are kept isolated?
mexisme_ has quit [Ping timeout: 248 seconds]
o1lo01ol1o has joined #nixos
Supersonic has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Supersonic has joined #nixos
mexisme_ has joined #nixos
reinhardt has joined #nixos
Yakulu has joined #nixos
InFlames has quit [Ping timeout: 258 seconds]
pointfourone has joined #nixos
lostman has joined #nixos
InFlames has joined #nixos
kvda has joined #nixos
endformationage has quit [Quit: WeeChat 2.4]
<markasoftware> why do they use pkgs.writeFile for pre-configFile, when the only thing they essentially just use it for string substitutions? Why not just assign it to a variable?
___quietlaika has quit [Ping timeout: 244 seconds]
o1lo01ol1o has joined #nixos
___quietlaika has joined #nixos
rpg has joined #nixos
<markasoftware> i see that they're using awk to fiddle with the whitespace; is that the only reason?
o1lo01ol1o has quit [Ping timeout: 248 seconds]
wfranzini has quit [Remote host closed the connection]
Rusty1 has quit [Quit: Konversation terminated!]
buckley310 has quit [Ping timeout: 268 seconds]
buckley310 has joined #nixos
drakonis has quit [Quit: WeeChat 2.4]
knupfer has joined #nixos
Myhlamaeus has joined #nixos
<Mateon1> Hi, I wanted to ask, how do I change the hard ulimit for the number of open files in nixos? /etc/security does not exist on nixos, and searching through nix config options only gives the (soft) max fds setting for the ipfs service.
<Mateon1> Well, there are a lot more service-specific settings for the soft ulimit here, I can't find a way to change the hard ulimit
<Mateon1> The `ulimit -H -n` is 4096 for me right now, I'd like to change it to something like 32k or more
knupfer has quit [Ping timeout: 250 seconds]
mexisme_ has quit [Ping timeout: 248 seconds]
drewr has quit [Ping timeout: 250 seconds]
rpg has quit [Quit: Textual IRC Client: www.textualapp.com]
palo1 has joined #nixos
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
nh2 has quit [Ping timeout: 252 seconds]
drewr has joined #nixos
johs has quit [Ping timeout: 252 seconds]
eacameron has quit [Read error: Connection reset by peer]
newhoggy has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam merged pull request #61815 → homebank: 5.2.4 -> 5.2.5 → https://git.io/fj4EA
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj4in
Glider_IRC__ has joined #nixos
rodarmor has quit [Ping timeout: 252 seconds]
d1rewolf has quit [Ping timeout: 252 seconds]
mexisme_ has joined #nixos
asheshambasta_m has joined #nixos
sppky has quit [Ping timeout: 252 seconds]
elvishjerricco has quit [Ping timeout: 268 seconds]
mankyKitty has quit [Ping timeout: 276 seconds]
marcinkuzminski has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #61835 → epubcheck: 4.2.0 -> 4.2.1 → https://git.io/fj4a5
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj4iW
carter has quit [Ping timeout: 252 seconds]
lightbulbjim has quit [Read error: Connection reset by peer]
hoijui has joined #nixos
cbarrett has quit [Ping timeout: 252 seconds]
Glider_IRC_ has quit [Ping timeout: 246 seconds]
CMCDragonkai has quit [Ping timeout: 252 seconds]
feepo has quit [Ping timeout: 252 seconds]
mudri has quit [Ping timeout: 252 seconds]
parseval has quit [Ping timeout: 252 seconds]
gausby_ has quit [Ping timeout: 252 seconds]
p_l has quit [Ping timeout: 276 seconds]
johs has joined #nixos
elvishjerricco has joined #nixos
marcinkuzminski has joined #nixos
mankyKitty has joined #nixos
lightbulbjim has joined #nixos
sppky has joined #nixos
d1rewolf has joined #nixos
rodarmor has joined #nixos
eacameron has joined #nixos
CMCDragonkai has joined #nixos
cbarrett has joined #nixos
carter has joined #nixos
newhoggy has joined #nixos
mudri has joined #nixos
nh2 has joined #nixos
parseval has joined #nixos
asheshambasta_m has quit [Quit: Leaving.]
gausby_ has joined #nixos
gleber_ has quit [Ping timeout: 276 seconds]
feepo has joined #nixos
jb55 has quit [Quit: WeeChat 2.4]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
p_l has joined #nixos
gleber_ has joined #nixos
reinhardt has quit [Quit: Leaving]
Myhlamaeus has quit [Ping timeout: 252 seconds]
<clefru> Mateon1: systemd.extraConfig = "DefaultLimitNOFILE=1048576";
<clefru> There is also a method to use a pam module for that
justanotheruser has quit [Ping timeout: 268 seconds]
gagbo has joined #nixos
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61856 → libndctl: 64.1 -> 65 → https://git.io/fj4io
<pie_> Ericson2314, did you have a chance to take a look?
<Mateon1> clefru: Thank you!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61857 → ncdc: 1.21 -> 1.22 → https://git.io/fj4ii
mexisme_ has quit [Ping timeout: 245 seconds]
justanotheruser has joined #nixos
sb0 has joined #nixos
mexisme_ has joined #nixos
hyper_ch2 has joined #nixos
max4 has joined #nixos
[Leary] has joined #nixos
Lears has quit [Ping timeout: 246 seconds]
mexisme_ has quit [Ping timeout: 258 seconds]
nahamu has quit [Ping timeout: 268 seconds]
cross_ has quit [Quit: Lost terminal]
esmerelda has quit [Ping timeout: 272 seconds]
InFlames has quit [Ping timeout: 268 seconds]
hyper_ch2 has quit [Quit: Page closed]
hyper_ch2 has joined #nixos
wfranzini has joined #nixos
zupo has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/4dd5c93998d (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @cf6b88f opened pull request #61858 → freerdp: add nocaps option that turns Caps Lock into Control → https://git.io/fj4ij
thc202 has joined #nixos
tdammers has left #nixos ["WeeChat 1.6"]
kvda has joined #nixos
Serus has quit [Ping timeout: 245 seconds]
esmerelda has joined #nixos
freeman42x has quit [Ping timeout: 258 seconds]
knupfer has joined #nixos
Serus has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ef29606a820 (from 82 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
rauno has joined #nixos
lostman has quit [Quit: Connection closed for inactivity]
ottidmes has joined #nixos
schjetne has joined #nixos
orivej has joined #nixos
jackdk has quit [Ping timeout: 248 seconds]
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @dingxiangfei2009 opened pull request #61860 → Pin filesystem type on Google Compute Engine image to ext4 → https://git.io/fj4Pc
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61861 → ocamlPackages.logs: 0.6.2 -> 0.6.3 → https://git.io/fj4PC
logzet has joined #nixos
vid has joined #nixos
andreas303 has quit [Remote host closed the connection]
andreas303 has joined #nixos
ericsagnes has quit [Ping timeout: 252 seconds]
nschoe has joined #nixos
<{^_^}> [nixpkgs] @dywedir merged pull request #61857 → ncdc: 1.21 -> 1.22 → https://git.io/fj4ii
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fj4Pr
nD5Xjz has quit [Ping timeout: 272 seconds]
ericsagnes has joined #nixos
pmiddend has joined #nixos
<pmiddend> I'm curious: when I run nix-shell in a directory containing a shell.nix, is this directory automatically copied to the nix store?
fusion809 has joined #nixos
nschoe has quit [Ping timeout: 272 seconds]
<v0id72[m]> wondering if I need to make a vmware.nix file with the driver info like vmmouse and the video card etc? Or does virtualisation.vmware.guest take care of everything?
<{^_^}> [nixpkgs] @fadenb opened pull request #61862 → graylog: 3.0.1 -> 3.0.2 → https://git.io/fj4PH
knupfer has quit [Quit: knupfer]
<sphalerite> pmiddend: no, unless the contents of shell.nix cause it to be copied
<sphalerite> pmiddend: e.g. if you have src = ./.; in it
knupfer has joined #nixos
<pmiddend> sphalerite: Ah, damn. That's the case with me. I'd be fine even, if it wouldn't copy the huge .git directory, too.
<sphalerite> pmiddend: potentially just remove the src line?
___quietlaika has quit [Ping timeout: 258 seconds]
alter-schjetne has joined #nixos
<pmiddend> Hmmm, it's a buildPythonApplication derivation, not sure if it depends on it.
<sphalerite> ah, I'm not sure
<sphalerite> well you can try without :)
<pmiddend> I thought about nix-gitignore, but that gives me a weird error message.
Syndra has joined #nixos
mexisme_ has joined #nixos
goibhniu1 has joined #nixos
<sphalerite> you can also use filterSource or the various things built on top of it like cleanSource from nixpkgs, but it'll still copy stuff every time you've changed it and run nix-shell
<pmiddend> sphalerite: Ah, removing "src" seems to have worked!
<kvda> Is there a way of symlinking files/dirs temporarily for the duration of the nix-shell session?
schjetne has quit [Ping timeout: 245 seconds]
<Syndra> Hi guys, I'm new to nixos. Mostly I get that all configuration and customigation should be done through configuration.nix. But I can't get how do you guys understand which option in config is really exist and which one isn't. Like... I do want to make my sddm create wayland (sway) session option in drop-down menu in login screen. But I can't undertarnd how... Can you help me with it?
gxt has quit [Ping timeout: 250 seconds]
mexisme_ has quit [Ping timeout: 246 seconds]
pie_ has quit [Ping timeout: 259 seconds]
knupfer has quit [Ping timeout: 272 seconds]
linarcx has joined #nixos
nschoe has joined #nixos
Shoubit has joined #nixos
nD5Xjz has joined #nixos
nschoe has quit [Quit: Program. Terminated.]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61863 → ocamlPackages.ptime: 0.8.4 -> 0.8.5 → https://git.io/fj4Xq
alter-schjetne has quit [Ping timeout: 258 seconds]
reinhardt has joined #nixos
<Syndra> Guys?
Makaveli7 has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<goibhniu1> Hi Syndra, do you already know that you can see the available options with `man configuration.nix`?
<Syndra> That's brutal. No I didn't...
<Syndra> Thx. But. There is no options for sway. I found out options list in NixOS wiki page.
<goibhniu1> ah, right, sorry I don't know about sway
<Syndra> I just get only 'xterm' option in sddm. Maybe you can help me with adding options in drop-down menu in general?
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @fadenb opened pull request #61864 → [19.03] graylog: 3.0.1 -> 3.0.2 → https://git.io/fj4Xl
<Syndra> Like. I found out that in /nix/store/blablabal_sddm.conf there is a section, that pointed to wayland-session file somwhere in /nix/store/blablabla-descktops/share/
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61865 → ocsigen-i18n: 3.1.0 -> 3.4.0 → https://git.io/fj4XR
<Syndra> but those directory contains only xsessions dir and no wayland-sessions as it mentioned in sddm.config...
__monty__ has joined #nixos
toppler`` has quit [Ping timeout: 258 seconds]
<goibhniu1> Sorry, I can't help, but hopefully someone else can point you in the right direction. You could also try asking on https://discourse.nixos.org/
schjetne has joined #nixos
toppler`` has joined #nixos
m0rphism has joined #nixos
klaas_ has joined #nixos
<klaas_> I'm having a setup of NixOS with all channels removed, and various versions of nixpkgs checked out (via git) at specific locations. One of these I symlinked at /home/me/nixpkgs/system to denote it's a link to the "main system". Now, for some commands (e.g. nix-shell) I need to add "-I nixpkgs=/home/me/nixpkgs/system" (or add it to a NIX_SHELL variable); for others (e.g. nix-env) I need to do "-f /home/me/nixpkgs/system". I'm trying to u
<klaas_> erally, I'm not really grokking what the meaning of the "nixpkgs=" prefix is in the "-I nixpkgs=/home/me/nixpkgs/system". In short: stuff works for me, but I'd like to get a better understanding of why it works.
<klaas_> I'm suspecting the answer is fairly simple, but I'm having a hard time deducing it from the manuals
<etu> klaas_: nix.nixPath may help you, it's used to specify $NIX_PATH which contains nixpkgs=/path/to/nixpkgs/channel and config location etc
Synthetica has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61866 → ogre: 1.11.5 -> 1.12.0 → https://git.io/fj4Xi
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61825 → libmodsecurity: 3.0.2 -> 3.0.3 → https://git.io/fj4gL
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fj4X9
zupo_ has joined #nixos
lostman has joined #nixos
<lostman> I've made myself a VM using build-vm but that mounts my system's /nix. How can I stop it from doing that? I'd like a lightweight QEMU-based VM for development
<lostman> I also need a custom kernel. I've built that and it works but I need the sources too. Does that mean I have to re-build the stdenv?
zupo has quit [Ping timeout: 268 seconds]
nD5Xjz has quit [Ping timeout: 248 seconds]
pmiddend has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61868 → openapi-generator-cli: 3.3.4 -> 4.0.0 → https://git.io/fj4Xb
<Taneb> Is it OK to have symlinks within the nix store?
nD5Xjz has joined #nixos
<manveru> Taneb: should be no problem
<manveru> like half of the nix store are symlinks :)
<manveru> (statistic pulled out of my magic hat and without warranty)
Jetien_ has joined #nixos
esmerelda has quit [Ping timeout: 258 seconds]
<Taneb> manveru: thanks :)
<manveru> about 20% of my nix store are symlinks, just counted :)
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 246 seconds]
bennofs has joined #nixos
<adisbladis> lostman: Why would you want it to stop mounting the system /nix? That's how you get store paths in your VM.
<adisbladis> manveru: Sounds about right
<adisbladis> Nix is basically duct tape made out of symlinks (:
<adisbladis> lostman: The kernel is not a part of stdenv.
<adisbladis> So no.
esmerelda has joined #nixos
sigmundv has joined #nixos
<{^_^}> [nixops] @flokli opened pull request #1152 → remove azure backend entirely → https://git.io/fj418
mexisme_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61862 → graylog: 3.0.1 -> 3.0.2 → https://git.io/fj4PH
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fj41u
ajs124 has quit [Ping timeout: 252 seconds]
le_jonge has joined #nixos
jonge has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #61869 → coq_8_9: 8.9.0 -> 8.9.1 → https://git.io/fj41w
Jackneill has quit [Read error: Connection reset by peer]
Jackneill has joined #nixos
Syndra has quit [Quit: Page closed]
Makaveli7 has quit [Quit: WeeChat 2.4]
tbenst_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #57377 → pythonPackages.weasyprint: init at 45 → https://git.io/fhjOO
<{^_^}> [nixpkgs] @FRidh pushed commit from @elohmeier to master « pythonPackages.weasyprint: init at 45 »: https://git.io/fj41S
Makaveli7 has joined #nixos
tbenst has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61870 → openresty: 1.13.6.2 -> 1.15.8.1 → https://git.io/fj419
<lostman> adisbladis: because it mounts it read-only and it includes my systems whole /nix which also includes previous configurations. I'd like a fresh VM with only those bits that are in the configuration for that VM
<lostman> adisbladis: so the VM is usable as "preview" but I'd like it to be a lightweight development environment for some stuff
sigmundv has quit [Quit: Leaving]
klaas_ has quit [Quit: Page closed]
<lostman> maybe build-vm is not the way to do it? but if not, how can I achieve similar thing (ready made qemu vm, easy to start)
<manveru> lostman: maybe you could give arion a try?
sigmundv has joined #nixos
<adisbladis> lostman: That would mean either a union-fs and bind-mount that OR maybe add the nix-daemon sockets to your vm?
pie_ has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.4]
<manveru> but i thought /nix is only mounted in qemu, not part of the image...
<adisbladis> manveru: It is
<adisbladis> But by mounting your nix-daemon sockets you could mutate the store by using the host daemon
cfricke has joined #nixos
<manveru> ah, yeah
<manveru> there was also an option to not mount it, if i recall right?
<adisbladis> Though at that point a vm may be useless :D
<pie_> why are dock drivers still so garbage
<pie_> its a roulette of hanging my machine or crashing x11
sigmundv has quit [Client Quit]
<roberth> lostman: arion supports sharing the host store and daemon. Do you really need a separate nix store for some reason?
Makaveli7 has joined #nixos
<lostman> roberth: I want a clean VM. If I share my nix store then I can't be 100% sure what I'm building in the VM is clean
viric has quit [Ping timeout: 268 seconds]
<simpson> lostman: Hm, an interesting proposition. What's the TCB for build tools in the VM, then? How does one obtain a trusted toolchain in the first place?
bennofs has quit [Ping timeout: 252 seconds]
<lostman> simpson: I'm not worried about trusted in that sense. For example my host's /nix store has all kinds of libraries. Just want to make sure that what I build in VM doesn't have access to any of that. So it'd be best to have a clean minimal environment. Mounting my host's store breaks that, right?
<roberth> lostman: here's an arion module to run nix-daemon fully inside the container. I will probably bundle it with arion at some point
sigmundv has joined #nixos
<simpson> lostman: Sure, although in practice it's rare for folks to forge references into the store. I normally think of the store as content-addressed, so that it's not a problem to have packages *available* if they can't actually be reached in practice.
<lostman> roberth: but I don't want to run nix-daemon in a container. I want to build a clean VM! I know there are some modules to produce VirtualBox images (or Docker images). Just want same thing using the mechanism for build-vm since I find it nice and lightweight
<simpson> lostman: More practically, AIUI any attempts for a package to try to forge references at build time will be detected if they're not encoded in some original manner. One has to put in some sincere effort in order to break the encapsulation; one has to do something like blindly pattern-matching throughout the /nix/store file tree.
<simpson> So this really does come down to threat model: Are you trying to protect against your developers accidentally linking against a stray library, or are you trying to prevent malicious code from calling any gadgets it can possibly find?
<lostman> simpson: Yeah but the VM I'm building has custom kernel (added a patch with boot.kernelPatches) and I want the VM to also use the headers from that kernel. That seems a bit harder to do. And it is hard to investigate why if there's all kind of stuff in /nix store
<roberth> lostman: it's a solution for achieving a 99% fresh Nix store. It only has what is in the container image. Wasn't that the goal of the VM?
<simpson> lostman: Ah, so it's for debugging purposes. Makes sense, sort of, but not really, I guess. Anyway, I need to get sleep. Best of luck.
<lostman> simpson: no worries
civodul has joined #nixos
mexisme_ has joined #nixos
<roberth> lostman: the nix store is not meant to be scanned through. If you want to find out why you have a runtime reference, there's nix why-depends. If you want to find out what your package uses in the build process, nix-store -qR $(nix-instantiate foo.nix). If you also want to change the build dependency, you may be better of reading the Nix expression sources.
<roberth> also, I don't think you need a separate Nix store unless you're hacking on Nix itself (maybe) or if you can't trust the users of your system
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #61687 → opensc: fix cross compilation → https://git.io/fj8gj
<{^_^}> [nixpkgs] @yegortimoshenko pushed 5 commits to master: https://git.io/fj4M1
<{^_^}> [nixpkgs] @vbgl opened pull request #61871 → coqPackages.ltac2: init at 0.1 → https://git.io/fj4MM
<lostman> roberth: this is all well and good just not what I want :) for example there's a nix expression that builds a docker image. what that does is it copies the minimal /nix/store into the image. I'd like exactly that but for a VM not docker image
domogled has joined #nixos
wucke13_ has joined #nixos
ng0 has joined #nixos
<roberth> lostman: you can do something like this (import <nixpkgs/nixos> { configuration = {imports = [<nixpkgs/nixos/modules/virtualisation/qemu-vm.nix>]; }; }).config.system.build.vm
wucke13_ has left #nixos [#nixos]
<roberth> lostman: probably that module does to much and/or in the wrong way for your specific case, but it's probably a good starting point
<adisbladis> Given how nix deals with purity I don't see the point of copying store data into a vm image other than for the purpose of distributing a monolith
<lostman> roberth: thanks! that does what build-vm does. i.e. mounts my host's /nix/store. maybe there are some options there. will look at the files
johanot has joined #nixos
<roberth> adisbladis: I agree. I'm assuming he really does need a patched kernel for his purposes, which makes the VM useful. I'm not convinced that he needs a separate nix store, but that's up to him I guess
<lostman> adisbladis: I'd like a self contained VM image that isn't tied to the host. I'd like to package it up so others who may not be using NixOS would be able to run it
<johanot> anyone know where can I increase the initial size of this: "tmpfs 3.2G 148K 3.2G 1% /run/user/1000" ?
<roberth> lostman: with the NixOS tests, you have the option to use an in-vm store, which is probably available in that module too
<lostman> roberth: sweet!
<lostman> how does one override stdenv? I need to override pkgs.stdenv.glibc.linuxHeaders
buffet_ is now known as buffet
<adisbladis> lostman: glibc.linuxHeaders is inherited from top-level linuxHeaders. You can do this easily with an overlay
<adisbladis> Something like this:
<adisbladis> (import <nixpkgs> { overlays = [ (self: super: {linuxHeaders = null;}) ]; })
<adisbladis> Where null is replaced by your linuxHeaders derivation
esmerelda has quit [Ping timeout: 248 seconds]
<lostman> adisbladis: when I'm building a VM pkgs is an input to the function, I don't import it. How do I use an overlay then?
<adisbladis> lostman: { pkgs = (import <nixpkgs> { overlays = [ (self: super: {linuxHeaders = null;}) ]; }); }
<lostman> cool, let me try that!
t3hyoshi has joined #nixos
johanot has quit [Quit: WeeChat 2.4]
johanot has joined #nixos
fendor has joined #nixos
adamantium has joined #nixos
statusfa1led is now known as statusfailed
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #61872 → e2fsprogs: fix cross compilation → https://git.io/fj4DC
esmerelda has joined #nixos
ThatDocsLady has joined #nixos
mexisme_ has quit [Ping timeout: 252 seconds]
johanot has quit [Quit: WeeChat 2.4]
vid has quit [Ping timeout: 268 seconds]
kisik21 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mt-caret opened pull request #61873 → katex: init at 0.10.2 → https://git.io/fj4DE
Shoubit has quit [Quit: Leaving]
talqu has joined #nixos
max4 has quit [Ping timeout: 246 seconds]
<talqu> hi, which online service would you suggest to create a nixos machine. I've just found linode with a tutorial how to install nixos there.
lsyoyom has quit [Ping timeout: 264 seconds]
max4 has joined #nixos
iyzsong has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/de9b1003a36 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<infinisil> talqu: There's this: https://nixos.wiki/wiki/NixOS_friendly_hosters
alexherbo2 has quit [Ping timeout: 245 seconds]
alexherbo20 has joined #nixos
esmerelda has quit [Ping timeout: 272 seconds]
<talqu> infinisil: thank you
esmerelda has joined #nixos
<{^_^}> [nixpkgs] @dasJ opened pull request #61874 → nixos/icingaweb2: Fix environment.etc assignment → https://git.io/fj4Dx
<{^_^}> [nixpkgs] @endgame opened pull request #61875 → haskellPackages.hakyll: remove obsolete patch → https://git.io/fj4Dh
Neo-- has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #61876 → gdk-pixbuf: rename from gdk_pixbuf → https://git.io/fj4yv
Zer0xp has joined #nixos
Shoubit has joined #nixos
<buffet> hey, short question: if i want to auto poweroff, is it enough to enable the upower service?
adamantium has quit [Quit: Konversation terminated!]
<Zer0xp> Hey, so recently I was trying to shutdown my system and for some reason my screen keeps getting frozen whenever I try to turn off the system. Does anyone else face the same issue ?
<Shoubit> I'm trying to change my ulimit no. of file descriptors allowed to be open, setting `security.pam.loginLimits = [ { domain = "*"; type = "hard"; item = "nofile"; value = "16384"; } ];` doesn't seem to have an effect -- I've tried rebooting but `ulimit -Hn` still reports 4096
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
xantoz has joined #nixos
<infinisil> buffet: what is "auto poweroff"?
max4 has quit [Ping timeout: 248 seconds]
zupo_ has quit [Quit: Textual IRC Client: www.textualapp.com]
Zer0xp has quit [Ping timeout: 256 seconds]
Neo-- has quit [Ping timeout: 244 seconds]
ajs124 has joined #nixos
ricekrispie2 has joined #nixos
sb0 has quit [Quit: Leaving]
slyfox has quit [Ping timeout: 246 seconds]
<buffet> infinisil: on low battery, shouldnt jump between topics, mb
ricekrispie has quit [Ping timeout: 244 seconds]
<gchristensen> I believe the system will already do that for you -- mine does
o1lo01ol1o has joined #nixos
<gchristensen> tazjin: nice theme on nixery :'D
gxt has joined #nixos
<tazjin> gchristensen: heh :p
talqu has quit [Remote host closed the connection]
<genesis> is there a specific nixos embedded channel ?
<gchristensen> tazjin: I ripped mine off from some brower's Readability mode
<genesis> not enough people on this subject i imagine :)
<andi-> genesis: #nixos-aarch64 is probably closes to that
<andi-> it is more about aarch64, sbc, soc, …
<genesis> oki thanks
<gchristensen> tazjin: I figured they'd probably spent a whole lot more money working on reader comfort than I have, so...
___quietlaika has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @taku0 opened pull request #61877 → thunderbird, thunderbird-bin: 60.6.0 -> 60.7.0 → https://git.io/fj4yQ
johanot has joined #nixos
___quietlaika has quit [Ping timeout: 248 seconds]
Jackneilll has joined #nixos
acarrico has joined #nixos
zupo has joined #nixos
Jackneill has quit [Ping timeout: 272 seconds]
slyfox has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #61870 → openresty: 1.13.6.2 -> 1.15.8.1 → https://git.io/fj419
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fj4St
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61841 → iio-sensor-proxy: 2.5 -> 2.7 → https://git.io/fj4oL
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « iio-sensor-proxy: 2.5 -> 2.7 (#61841) »: https://git.io/fj4SY
<{^_^}> [nix] @edolstra pushed 4 commits to improve-flake-command: https://git.io/fj4SZ
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61845 → solr: 8.0.0 -> 8.1.0 → https://git.io/fj4Kv
<{^_^}> [nixpkgs] @c0bw3b pushed 3 commits to master: https://git.io/fj4SC
ckoparkar has joined #nixos
Shoubit has quit [Quit: Leaving]
<{^_^}> [nix] @edolstra pushed 4 commits to improve-flake-command: https://git.io/fj4SR
<pie_> im not _sure_ :p , or example i think firefox doesnt even have a dark mode <gchristensen> tazjin: I figured they'd probably spent a whole lot more money working on reader comfort than I have, so...
<pie_> or at least didnt last i looked
<tazjin> gchristensen: mine is from http://bettermotherfuckingwebsite.com/
<pie_> ok nvm it has a dark mode, but it doesnt darken the sidebar (why would you do that??)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nix] @edolstra merged pull request #2877 → FlakeCommand improvements → https://git.io/fjlhf
<{^_^}> [nix] @edolstra pushed 5 commits to flakes: https://git.io/fj4Sz
Shoubit has joined #nixos
<cbarrett> Having some trouble fetching python packages
<cbarrett> Download error on https://pypi.org/simple/Genshi/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727) -- Some packages may not be found!
<cbarrett> Download error on https://pypi.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727) -- Some packages may not be found!
<cbarrett> Couldn't find index page for 'Genshi' (maybe misspelled?)
<cbarrett> using the nix-linuxkit-builder
<dminuoso> I have a wifi network attached to a network with a delegated prefix, RA is configured. My mobile device is configured correctly, but my laptop running nixos is not self configuring with IPv6 addresses. Why might that be?
<dminuoso> (Im using networkmanager, if that is of any use)
<{^_^}> [nix] @edolstra merged pull request #2880 → doc: clarify that optional attrs in a function argument will be ignored unless specified → https://git.io/fj4So
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fj4SK
hoijui has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61878 → python37Packages.argcomplete: 1.9.5 -> 1.10.0 → https://git.io/fj4SX
zupo has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61879 → python37Packages.asciimatics: 1.10.0 -> 1.11.0 → https://git.io/fj4S1
srid6 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61880 → python37Packages.asynctest: 0.12.4 -> 0.13.0 → https://git.io/fj4SQ
dontobey has left #nixos ["Leaving"]
srid6 has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #61802 → elixir_1_8: 1.8.1 -> 1.8.2 → https://git.io/fj4W9
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fj4SF
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #61807 → google-authenticator: 1.05 -> 1.06 → https://git.io/fj4R1
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fj4Sb
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #60207 → nixos-generate-config: do not build btrfs-tools when btrfs is not used → https://git.io/fjs8D
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/fj4SN
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jmeredith has quit [Quit: Connection closed for inactivity]
zupo has joined #nixos
<yurb> So I have this package that constantly fails to update (due to #60845). Can I somehow pin it so that nix-env automatically skips it when I run --upgrade?
<{^_^}> https://github.com/NixOS/nixpkgs/issues/60845 (by yurkobb, 2 weeks ago, open): newsboat broken in single-user mode
halfbit has joined #nixos
johanot has quit [Ping timeout: 268 seconds]
acarrico has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61881 → python37Packages.azure-storage-common: 1.4.0 -> 2.0.0 → https://git.io/fj49I
acarrico has joined #nixos
johanot has joined #nixos
<kandinski> signal-desktop is now out of date on nixpkgs:master. Is there a way to get an even more up-to-date channel, a nightly or similar?
<{^_^}> [nixpkgs] @Lassulus merged pull request #61764 → tdm: init at 2.07 → https://git.io/fj4Lm
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/fj49O
turion has joined #nixos
Yakulu has left #nixos ["Error from remote client"]
Yakulu has joined #nixos
<turion> I'm getting $ nix-env -qaP 'cockroach*'
<turion> error: cannot auto-call a function that has an argument without a default value ('config')
<tilpner> kandinski: master is always newer than or as new as all channels
<kandinski> tilpner: thanks.
<etu> kandinski: If you get that warning, master needs to be updated
<tilpner> kandinski: If you find an unmerged PR, you can use that manually, but it's not going to be part of a channel
<etu> kandinski: Feel free to make the changes for that and make a PR
<kandinski> looking for an unmerged PR first :)
<etu> yeah :)
<{^_^}> [nixpkgs] @WilliButz opened pull request #61882 → grafana: 6.1.6 -> 6.2.0 → https://git.io/fj493
<kandinski> hmmm
<tilpner> I didn't see one either
knupfer has joined #nixos
<kandinski> master is 1.24.1, up to date
<kandinski> I was mistaken, I think I may have an old channel somewhere
<tilpner> Then you weren't using master
<kandinski> but thanks for the answers, I learnt something
<kandinski> I'm using unstable
<kandinski> but I have some other channel somewhere, apparently
<etu> :)
<tilpner> kandinski: Check NIX_PATH and nix-channel --list (as root and normal user)
<kandinski> yeah
toppler`` has quit [Ping timeout: 258 seconds]
<turion> How do I declaratively install a package from a different channel in home-manager?
Makaveli7 has quit [Quit: WeeChat 2.4]
<kandinski> I have 1.24 from nixpkgs in my user profile, but 1.22 from 18.09 (I had to downgrade) in the system profile.
<kandinski> solved
<kandinski> thanks, and I learnt something.
<{^_^}> [hydra] @edolstra pushed 2 commits to flake: https://git.io/fj49W
<tilpner> ,unstable turion
<tilpner> turion: That should still work
<turion> tilpner: Thanks! I'm unsure how this translates to home-manager, but I'll try :)
<{^_^}> [nix] @edolstra pushed to flakes « flake-registry: tweag/nix -> NixOS/nix »: https://git.io/fj49B
logzet has quit [Ping timeout: 252 seconds]
toppler`` has joined #nixos
<{^_^}> [nix] @edolstra pushed to check-epoch « Check the flake epoch »: https://git.io/fj490
logzet has joined #nixos
johanot has quit [Quit: WeeChat 2.4]
<{^_^}> [nix] @edolstra opened pull request #2884 → Check the flake epoch → https://git.io/fj49E
hoijui has joined #nixos
npmccallum has joined #nixos
hoijui has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61846 → kore: 2.0.0 -> 3.3.0 → https://git.io/fj4KY
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « kore: 2.0.0 -> 3.3.0 (#61846) »: https://git.io/fj49a
slyfox__ has joined #nixos
slyfox has quit [Ping timeout: 245 seconds]
zupo has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @teto merged pull request #61796 → Vim plugins → https://git.io/fj4Z2
<{^_^}> [nixpkgs] @teto pushed 6 commits to master: https://git.io/fj49K
drakonis has joined #nixos
<turion> tilpner: I'm not sure I'm doing this right. I have now: $ nix-channel --list
xelxebar has quit [Remote host closed the connection]
<lassulus> the channel should probably be called just nixos?
<turion> And my home config starts like $ nix-channel --list
xelxebar has joined #nixos
<turion> lassulus: No, I'm on unstable otherwise, I want this additional channel to be named
<lassulus> ah ok
<lassulus> nvm then
<turion> I just posted nonsense. My home config starts like: { pkgs, ... }:
<turion> lts = import <nixos-19.03> {};
<turion> let
<turion> But this gives: $ home-manager switch                                  
<turion> error: file 'nixos-19.03' was not found in the Nix search path (add it using $NIX_PATH or -I), at
<{^_^}> [nixpkgs] @NeQuissimus pushed 6 commits to master: https://git.io/fj491
<tilpner> turion: What's your NIX_PATH?
drakonis_ has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to release-19.03: https://git.io/fj49y
<turion> Why does it think it's a file if I've enclosed it <>?
<turion> tilpner: $ echo ${NIX_PATH}
<turion> /home/turion/.nix-defexpr/channels:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<tilpner> sudo nix-channel --list
<turion> It doesn't show up for root because I've installed it as user
<turion> (the channel)
<turion> But I'm running home-manager switch as user as well
<tilpner> <foo> looks for foo in NIX_PATH
max4 has joined #nixos
<tilpner> Your NIX_PATH references roots channels
<turion> Ah, weird, ls /home/turion/.nix-defexpr/channels doesn't show the channel, but nix-channel --list does
<{^_^}> [nixpkgs] @dasJ opened pull request #61883 → nixos/bepasty: Kind of modernize the module → https://git.io/fj49F
<turion> tilpner: Ah ok
<turion> I thought nix-channel mutates /nix/var/nix/profiles/per-user/turion/channels.
<tilpner> turion: It should, if you run it as turion
<tilpner> turion: But if your NIX_PATH is set to not look there, that doesn't matter
<turion> $ ls ~/.nix-defexpr/channels -l
<turion> lrwxrwxrwx 1 turion users 46 15. Mai 09:58 /home/turion/.nix-defexpr/channels -> /nix/var/nix/profiles/per-user/turion/channels
<turion> It should look there
<turion> $ nix-channel --list
<turion> nixos-unstable-newer https://nixos.org/channels/nixos-unstable
<turion> $ ls ~/.nix-defexpr/channels
<turion> binary-caches  manifest.nix  nixos-unstable-newer
<turion> Only one of the channels I've added a month ago is in the directory, not the one I just added
<turion> But still nix-channel knows I've added it... how does it know that?
vid has joined #nixos
civodul has joined #nixos
<tilpner> turion: Ahh, yes, the new nix CLI isn't consistent about unprefixed NIX_PATH items
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « docker: 18.09.5 -> 18.09.6 »: https://git.io/fj4Hv
<tilpner> turion: So if home-manager uses those, HM will be too
cizra is now known as cf6b88f
<turion> tilpner: Sorry, I think I don't understand. What's an unprefixed NIX_PATH item here?
<tilpner> NIX_PATH can have multiple entries, separate by :
<tilpner> Each entry can be /some/path or foo=/some/path
<tilpner> In the first case, Nix is supposed to search for /some/path/foo
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-19.03: https://git.io/fj4HJ
<dminuoso> Hiya. How do I fetch oraclejdk with this patch included? https://github.com/NixOS/nixpkgs/pull/60314
<{^_^}> #60314 (by livnev, 3 weeks ago, merged): oraclejdk8cpu: 8u201 -> 8u211, oracledjdk8psu: 8u202 -> 8u212
<tilpner> The new Nix CLI doesn't always(?) do that
<tilpner> nix#1865
<{^_^}> https://github.com/NixOS/nix/issues/1865 (by matthewbauer, 1 year ago, open): attribute 'nixpkgs' in selection path 'nixpkgs.hello' not found
<tilpner> turion: ^
<ajs124> dminuoso, where do you need it? in a shell? for a module?
<tilpner> dminuoso: That commit is only in unstable so far
<tilpner> ,unstable dminuoso
moet has joined #nixos
alexherbo207 has joined #nixos
alexherbo20 has quit [Ping timeout: 258 seconds]
zupo has joined #nixos
<turion> tilpner: Ah, that must be part of the problem, thanks! Still, is the behaviour of my nix-channel --add expected?
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
<tilpner> turion: Which are you referring to?
<turion> tilpner: The output of nix-channel --list is inconsistent with ls /nix/var/nix/profiles/per-user/turion/channels
<ajs124> did you run nix-channel --update?
zupo has quit [Client Quit]
<turion> ajs124: Massive facepalm. Yes, that's what I forgot. (I assumed this is done automatically on --add, but it isn't.)
<turion> Fantastic, everything worked and I've managed to downgrade the package.
<turion> tilpner, ajs124: Thanks a lot.
silver has joined #nixos
<dminuoso> tilpner: How do you know what is inside the unstable channel?
<dminuoso> tilpner: Or does everything that is pushed to github inside unstable?
<turion> dminuoso: there is nixos-unstable and nixpkgs-unstable.
<tilpner> dminuoso: I looked up the commit hash in nixpkgs-channels: https://github.com/NixOS/nixpkgs-channels/commit/60e1f2dcab7b3b3ffb774a029f80bb7073b973fc
<tilpner> dminuoso: There, you can see which channels a commit belongs to
<dminuoso> turion: Okay so this might be a silly question but.. what is the difference between those?
<turion> dminuoso: nixos-unstable runs some CI tests first
<tilpner> dminuoso: nixos-unstable receives NixOS-specific tests, while nixpkgs-unstable doesn't
<adisbladis> When those tests pass the unstable channel is bumped
<tilpner> dminuoso: There are some subtle differences, that can cause nixos-unstable to advance even when nixpkgs-unstable can't
<tilpner> dminuoso: IIRC because nixpkgs-unstable is also blocked for darwin
matklad has joined #nixos
waleee has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
___quietlaika has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #61833 → syncthing: made module more NixOps friendly → https://git.io/fj4au
<{^_^}> [nixpkgs] @Lassulus pushed commit from @mrVanDalo to master « syncthing: made module more NixOps friendly »: https://git.io/fj4HR
iyzsong has quit [Read error: Connection reset by peer]
moet has quit [Ping timeout: 268 seconds]
___quietlaika has quit [Ping timeout: 250 seconds]
logand has joined #nixos
cfricke has quit [Quit: WeeChat 2.4]
civodul has quit [Remote host closed the connection]
ng0 has quit [Quit: Alexa, when is the end of world?]
civodul has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61704 → plasma-applet-volumewin7mixer: v23 -> v24 → https://git.io/fj869
<logand> tinc module in nixos 19.03 doesnt set ip route. anybody knows how to fix tinc routing?
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fj4HH
reinhardt has quit [Quit: Leaving]
<tilpner> Can also paste resulting files if you want
<{^_^}> [nixpkgs] @romildo opened pull request #61884 → plata-theme: 0.7.6 -> 0.8.1 → https://git.io/fj4HA
<{^_^}> [nixpkgs] @7c6f434c merged pull request #60682 → [RFC] manual: rename to users and contributors manual, add some user notes … → https://git.io/fjZK4
<{^_^}> [nixpkgs] @7c6f434c pushed to master « [RFC] manual: rename to users and contributors manual, add some user notes … (#60682) »: https://git.io/fj4Hj
<logand> tilpner: thanks, but you just wrote whole new module, i was hoping that there would be an easier fix
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61683 → x264: 20170731-2245 -> 20190517-2245; add myself as maintainer → https://git.io/fj8EQ
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fj4Qk
<tilpner> logand: The workaround can be used standalone, just write those files
Jackneilll has quit [Ping timeout: 272 seconds]
matklad has quit [Remote host closed the connection]
matklad has joined #nixos
<logand> tilpner: understand, thanks a lot
Jackneilll has joined #nixos
max4 has quit [Ping timeout: 272 seconds]
srl295 has joined #nixos
max4 has joined #nixos
andreas303 has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
andreas303 has joined #nixos
drakonis_ has joined #nixos
zupo has joined #nixos
halfbit has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #61886 → signal-desktop: bumps for 19.03 → https://git.io/fj4Qr
civodul has quit [Ping timeout: 252 seconds]
dansho has quit [Ping timeout: 258 seconds]
drakonis has quit [Ping timeout: 248 seconds]
drakonis has joined #nixos
Ariakenom has joined #nixos
pointfourone has quit [Quit: Leaving]
Shoubit has quit [Ping timeout: 258 seconds]
dycan has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
drakonis1 has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
halfbit has joined #nixos
<Adluc> anyone else experiencing speed 60kB/s from cache.nixos.org?
domogled has quit [Quit: domogled]
heartman has joined #nixos
<Adluc> hmm, oh wait no, just some local problem
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
<heartman> Hey! I repartitioned my drive and thus had to wipe and reinstall the os. I did, however, keep a copy of /etc/nixos and my /home partition. After completing the installation, I reboot as per the manual, but my system freezes during the systemd init messages (I'd say it's quite close to the end, based on previous boot times). Is there any way I can check what is causing the problem? I don't know if I can access to journalctl etc in this
<heartman> state.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61887 → python37Packages.bjoern: 2.2.3 -> 3.0.0 → https://git.io/fj47e
<heartman> Also, might be worth mentioning: I did put the old data back in home and /etc/nixos, though I regenerated the hardware config.
Copenhagen_Bram has quit [Ping timeout: 252 seconds]
Elon_Satoshi has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #61842 → infiniband-diags: 2.1.0 -> 2.2.0 → https://git.io/fj4o4
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/fj47q
<tilpner> Heartman: Does it display anythingß
<heartman> Aye, the messages scroll by but they stop after a while.
Neo-- has joined #nixos
<turion> Heartman: Did you use the same nixpkgs commit?
<tilpner> Maybe you should upload a picture of any error messages/warnings
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/51202d89c3f (from 73 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<heartman> Hm? Not sure what that means, to be honest. Can you change channels when working from the boot loader? As for a picture, I could get one with a phone, I suppose? Though, first, let me try with a default generated config. That might be easier.
<heartman> Or ... maybe not. I can't remember aall the things I had to configure last time, but it was a bit of a pain.
<heartman> Also, there are no error messages or warnings in the output, it just freezes after a while.
<manveru> Heartman: maybe graphics issue?
<heartman> Yeah, seems likely. I've got an nVidia GPU, so I've had my fair share of messing with that. I'll try and see what I can disable.
amfl has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @corpix opened pull request #61888 → insomnia: 6.3.2 -> 6.5.3 → https://git.io/fj47E
<manveru> though, if it was working before... and you still use the same channel, it shouldn't break that easily
alexherbo207 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @asymmetric opened pull request #61889 → [19.03] signal-desktop: 1.22.0 -> 1.24.1 → https://git.io/fj47u
<turion> Heartman: I mean that every time you do something like nixos-update switch, it will download the latest nixpkgs and install from there. So if there was a bug introduced recently, that could be it
<tilpner> nixos-rebuild will not always download the newest nixpkgs
<manveru> Heartman: does switching to other ttys work?
<turion> tilpner: But when reinstalling from scratch?
amfl has joined #nixos
<heartman> Ah, yeah, that might be relevant. I was on the 19.03 packages before wiping, but had an 18.09 installer lying around, so I just used that. Might be some issues there? Is there a way to change that?
<turion> Ah right, that's nixos --upgrade I meant.
Myhlamaeus has joined #nixos
<heartman> manveru: no, switching to other ttys doesn't work. When it locks up it locks up.
alexherbo207 has joined #nixos
<manveru> optimus?
<turion> Well, during the installation process you have a full nixos install at hand, so you can add any channel with nix-channel --add. There should be a way to add 19.03 again.
drakonis has joined #nixos
waleee has quit [Quit: WeeChat 2.4]
<heartman> Ah, sweet. Yeah, that's cool. Thanks! Not sure the problem is solved yet, but we'll see.
jmeredith has joined #nixos
<pbb> Hi, how can I prevent mkDerivation from escaping a "$" in configureFlags?
drakonis1 has quit [Ping timeout: 264 seconds]
<dminuoso> Mmm, why is the environment containing wrapProgram not available in installPhase scripts?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @flokli merged pull request #61886 → signal-desktop: bumps for 19.03 → https://git.io/fj4Qr
<{^_^}> [nixpkgs] @flokli pushed 6 commits to release-19.03: https://git.io/fj47M
<Guest62963> pbb: preConfigure = '' configureFlagsArray+=("$FOO") '';
Guest62963 is now known as LnL
<{^_^}> [nixpkgs] @flokli closed pull request #61889 → [19.03] signal-desktop: 1.22.0 -> 1.24.1 → https://git.io/fj47u
<buffet> gchristensen: late reply (about the poweroff); doesnt work out of the box
work_ has joined #nixos
work_ has quit [Client Quit]
ajs124 has quit [Ping timeout: 252 seconds]
ckoparkar has quit [Remote host closed the connection]
matklad has quit [Remote host closed the connection]
hyper_ch2 has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @expipiplus1 opened pull request #61890 → dconf: Disable tests on armv7l-linux → https://git.io/fj45m
endformationage has joined #nixos
<{^_^}> [nixpkgs] @peti pushed commit from @tomberek to staging « openssl: fix CVE-2019-1543 »: https://git.io/fj458
<{^_^}> [nixpkgs] @peti closed pull request #61827 → openssl: cve-2019-1543 → https://git.io/fj4gW
<{^_^}> #57792 (by schmittlauch, 9 weeks ago, open): [nixpkgs-manual] wrapProgram needs clarification about required build input
ubert has joined #nixos
Shoubit has joined #nixos
<pie_> Ericson2314, alternatively, if you dont have time for this stuff maybe you can suggest someone else I can ask?
drakonis_ has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixops] @PsyanticY opened pull request #1153 → exclude timeout from one time spot request → https://git.io/fj45r
drakonis has joined #nixos
Ariakenom has joined #nixos
psyanticy has joined #nixos
<psyanticy> Hi, can someone have a look at this pr plz : (it is ready for merge) https://github.com/NixOS/nixpkgs/pull/61811
<{^_^}> #61811 (by PsyanticY, 23 hours ago, open): pythonPackages.boto3: 1.9.96 -> 1.9.152 | botocore: 1.12.96 -> 1.12.152 | awscli:1.16.106 -> 1.16.162
rpg has joined #nixos
drakonis_ has quit [Ping timeout: 264 seconds]
halfbit has quit [Quit: WeeChat 2.4]
ixxie has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61610 → graphene: init at 1.8.6 → https://git.io/fj8ej
<{^_^}> [nixpkgs] @c0bw3b pushed 3 commits to master: https://git.io/fj45A
waleee has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61892 → python37Packages.distlib: 0.2.8 -> 0.2.9 → https://git.io/fj4de
emacsomancer has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61893 → python37Packages.deluge-client: 1.7.0 -> 1.7.1 → https://git.io/fj4dI
fusion809 has quit [Remote host closed the connection]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
srid6 has quit [Ping timeout: 258 seconds]
dycan has quit [Remote host closed the connection]
genesis has quit [Remote host closed the connection]
i1nfusion has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mkenigs opened pull request #61894 → docker: fix typo → https://git.io/fj4dK
genesis has joined #nixos
<logand> tilpner: adding networking.interfaces.<dev>.ipv4.addresses is simpler
<logand> and networking.interfaces.<dev>.ipv4.routes
alexherbo2078 has joined #nixos
<{^_^}> [nixpkgs] @smaret opened pull request #61895 → gildas: 20190401_a -> 20190501_a → https://git.io/fj4dH
<tilpner> logand: I'll put that on my todo
hmpffff has quit [Quit: nchrrrr…]
erasmas has joined #nixos
alexherbo207 has quit [Ping timeout: 272 seconds]
talqu has joined #nixos
hmpffff has joined #nixos
<talqu> does it affect if i build a project on nixos 19.03 and deploy the closure to nixos 18.09?
hmpffff has quit [Client Quit]
<tilpner> It shouldn't
<tilpner> But it might, depending on details I don't have
sb0 has joined #nixos
Ariakenom has quit [Ping timeout: 268 seconds]
zupo has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61896 → python37Packages.eve: 0.8.1 -> 0.9 → https://git.io/fj4Ff
<srhb> Namely whether it has (runtime, mostly) impurities
srid6 has joined #nixos
zupo has quit [Ping timeout: 258 seconds]
mekeor has joined #nixos
BlessJah1 is now known as Blessjah
<pbb> Guest20687++
wfranzini has quit [Remote host closed the connection]
max4 has quit [Ping timeout: 272 seconds]
graphene has joined #nixos
<pie_> Ericson2314, also what is this deep overriding mentioned here https://github.com/NixOS/nixpkgs/blob/42c0ce80e6bb1c27c233ba0ec1fd136bced7b0be/lib/fixed-points.nix#L25 , usage of __unfix__ doesnt seem to be explained anywhere else
<pie_> though i assume it has some relation to fix/unfix in haskell, which i dont know much about
civodul has joined #nixos
graphene has quit [Remote host closed the connection]
ajs124 has joined #nixos
civodul has quit [Remote host closed the connection]
civodul has joined #nixos
turion has quit [Quit: Leaving.]
civodul has quit [Remote host closed the connection]
civodul has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a45bc208034 (from 87 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
esmerelda has quit [Ping timeout: 258 seconds]
max4 has joined #nixos
esmerelda has joined #nixos
Matthieu_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61897 → python37Packages.factory_boy: 2.11.1 -> 2.12.0 → https://git.io/fj4Fa
<pie_> w....wait a minute...i think i got nix repl do to something really
<pie_> weird
ubert has quit [Remote host closed the connection]
johnny101 has joined #nixos
<pie_> or not...idk. If I put an unfinished let expression in a file, like "let in", then i do a = import ./wat.nix in nix repl
<pie_> and then i eval a
<pie_> it looks like it hangs, but its not hanging, you can type something in and youll get a syntax error
Yakulu has left #nixos ["Error from remote client"]
sigmundv has quit [Ping timeout: 272 seconds]
Yakulu has joined #nixos
civodul has quit [Remote host closed the connection]
civodul has joined #nixos
civodul has quit [Remote host closed the connection]
toppler`` has quit [Ping timeout: 248 seconds]
<{^_^}> [cabal2nix] @peti merged pull request #417 → xmonad: Fix missing dollar escape quotes. → https://git.io/fj4qs
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/fj4Fy
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61898 → python37Packages.faker: 1.0.5 -> 1.0.7 → https://git.io/fj4FS
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « LTS Haskell 13.22 »: https://git.io/fj4FH
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj4F5
toppler`` has joined #nixos
<heartman> To the kind souls that helped me out earlier--tilpner, turion, and manveru--thanks a lot! Updating the channel did it after a long compile.
goibhniu1 has quit [Ping timeout: 272 seconds]
amfl has quit [Ping timeout: 248 seconds]
<srhb> pie_: Yeah, that is quite strange.
heartman has quit [Ping timeout: 248 seconds]
<mightybyte> How would I take an existing derivation generated by some arbitrary .nix file and add a new file to it's output directory?
<pie_> guess i should file an issue but i dont feel like it :/
<pie_> or search for an existing issue but im not even sure how i would look for this one
<infinisil> mightybyte: runCommand, cp -r ${old} $out
<infinisil> Then do whatever modifications you need
<mightybyte> infinisil: Where do I put that?
<infinisil> mightybyte: in a nix file :)
<pie_> ^ mightybyte, basically by making a new derivation, for which during the build provess you do that copying
<pie_> * process
<mightybyte> How? The details are not obvious to me.
amfl has joined #nixos
<infinisil> mightybyte: pkgs.runCommand "mod" {} ''cp -r ${./default.nix} $out''
gxt has quit [Ping timeout: 268 seconds]
<pie_> mightybyte, might not be the clearest thing if youre new but runcommand seems to be documented here https://nixos.org/nixpkgs/manual/#sec-trivial-builders
<infinisil> And add whatever commands you need to modify $out
<pie_> mightybyte, i highly recommend as you get more familiar with the nix language to start reading the source code in nixpkgs for functions you dont understand
<mightybyte> pie_: I'm doing that.
<mightybyte> What I don't understand is how to connect that with an existing derivation.
<pie_> the things in trivial-builders are at least generally understandable without too much digging \o/
<mightybyte> All these things seem to be given as standalone examples.
<mightybyte> I'm not seeing how to compose them with other things.
<pie_> mightybyte, sure. the bottom line is since nix is pure, youre making a completely new derivation
<pie_> so that implies you have to copy the contents of the old derivation into the new place
<pie_> and make your modifications
<pie_> alternatively, you can try to use symlinks
<mightybyte> Ahhh
<pie_> i.e. mutability is generally a no-no
<mightybyte> Hmmm....in this case, I have a bunch of existing infrastructure that uses the existing derivation. I was looking for a way to modify it to include this new file.
<pie_> a common problem
<mightybyte> So changing the name of the derivation seems like it's not a good idea.
<simpson> mightybyte: FWIW this particular sort of composition is pretty uncommon to desire; if one desires a change to an $out, then one usually changes the relevant builder!
<pie_> it might be helpful/necessary to elaborate on how said infrastructure refers to the file
<pie_> simpson, i dont follow
<tilpner> simpson: It can be useful if the original derivation is cached, but the modified one would not be
<mightybyte> I'm trying to include the git hash
<gchristensen> typically if you want a different result, the way it is usually done is changing what produced the result
<mightybyte> er, git commit
<pie_> ah, well sure i guess
jb55 has joined #nixos
<simpson> pie_, tilpner: Sure, but I'm guessing (mind-reading) that what is desired here is a relatively impure patch, or else mightybyte could just rerun the original generating Nix expression after patching it.
<mightybyte> In this case I don't have direct control over the thing that produced the result because that is being handled by reflex-platform's project function: https://github.com/reflex-frp/reflex-platform/blob/develop/project/default.nix
<mightybyte> I guess maybe the most straightforward way to accomplish that would be to fork that and make the appropriate changes?
emacsomancer has joined #nixos
<simpson> Or compose your application's store path with the extra files you want in a user environment. Might sound like overkill, but it's done regularly in e.g. the Python subsystem.
<mightybyte> simpson: How does that work?
<{^_^}> [nixpkgs] @mguentner opened pull request #61899 → matrix-synapse: 0.99.4 -> 0.99.5 → https://git.io/fj4Fp
<mightybyte> That sounds like what I was going for.
max4 has quit [Ping timeout: 248 seconds]
mekeor has quit [Ping timeout: 245 seconds]
Ariakenom has joined #nixos
<simpson> mightybyte: I don't think there's a section in the manual for it: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/buildenv/default.nix
drakonis_ has joined #nixos
goibhniu1 has joined #nixos
drakonis1 has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
max4 has joined #nixos
drakonis has quit [Ping timeout: 248 seconds]
<mightybyte> simpson: Cool, thanks!
ambro718 has joined #nixos
Ariakenom has quit [Remote host closed the connection]
<ambro718> What is the simplest way to run docker in nixos and a nixos docker container? For testing purposes.
<gchristensen> the Nixpkgs manual has some info on building docker images with Nix,is that what you want?
Ariakenom has joined #nixos
<simpson> ambro718: In your container, are you hoping for NixOS entire, or just Nix? `FROM nixos/nix` is a thing you can do in Dockerfiles if you're okay with the latter.
<ambro718> I want to test the nvidia-docket package, what would that require?
<ambro718> I'm guessing nixos in container.
<ambro718> https://nixos.wiki/wiki/Docker should be what I need, right?
<ambro718> and some commands to initialize and start the container
<simpson> systemd in containers is, AIUI, not really a thing. So you can't have full NixOS.
<ambro718> I didn't mention systemd.
<ambro718> I said nixos inside docker container, with docker running in nixos.
magnetophon has joined #nixos
Matthieu_ has quit [Ping timeout: 272 seconds]
<ambro718> simpson: I need whatever virtualisation.docker.enable is for
<simpson> ambro718: I don't think that that stuff fits inside containers, although I haven't really tried. Best of luck.
<ambro718> ah never mind, it seems like I misunderstood
<ambro718> yeah that stuff seems to go on the host, which makes it much simpler for me to test
<tazjin> gchristensen: nixery is now backed by GCS
<gchristensen> nice!
<tazjin> though without any kind of FUSE-magic, it just puts the individual layers in there with a public ACL and redirects to them
domogled has joined #nixos
rfold has joined #nixos
<tilpner> tazjin: FYI, your nixery thing might be linked in the nixos-weekly newsletter
<tazjin> oh dear :) it has a billing cap at which it'll just shut itself off, but it should take a while to reach that
esmerelda has quit [Ping timeout: 257 seconds]
<astal> anyone tried to install confluence as service?
<tilpner> tazjin: You can still stop that by telling domenkozar[m], if you want
<tazjin> no, it's fine! exposure to ideas is good, as long as there's a disclaimer that this is an experiment and not a production service that people should rely on :)
rajivr___ has quit [Quit: Connection closed for inactivity]
<dminuoso> So I have a `foo.nix` with some build and install phase. How do I install that into my nix store?
<lordcirth_> simpson, you can run systemd in containers fine, I run full Ubuntu LXC containers in production.
<lordcirth_> Or did you mean only docker?
<simpson> lordcirth_: I mean NixOS in Docker-compatible tools, specifically; AFAICT we aren't really aiming towards being able to do that.
<tazjin> dminuoso: you can probably just `nix-build foo.nix` if it evaluates straight to a derivation. If you want it in your environment and not just in the store, you could `nix-env -i -f foo.nix`
<dminuoso> tazjin: Ah so `nix-build` just throws it into my store, but that's different from having it in my environment?
<dminuoso> Alright. :)
max4 has quit [Ping timeout: 258 seconds]
<srhb> dminuoso: Each "environment" (profile) is essentially a symlink farm of some collection of store paths
esmerelda has joined #nixos
acarrico has quit [Ping timeout: 248 seconds]
drakonis has joined #nixos
mkoenig has joined #nixos
Shoubit has quit [Ping timeout: 252 seconds]
Glider_IRC_ has joined #nixos
Glider_IRC__ has quit [Ping timeout: 268 seconds]
Jetien_ has quit [Ping timeout: 246 seconds]
* pie_ runs off to catch the train home
___quietlaika has joined #nixos
viric has joined #nixos
gxt has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d35692126f3 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
acarrico has joined #nixos
knupfer has quit [Ping timeout: 252 seconds]
drakonis1 has quit [Ping timeout: 252 seconds]
pie_ has quit [Ping timeout: 258 seconds]
vid has quit [Ping timeout: 258 seconds]
asheshambasta_m has joined #nixos
alexherbo2078 has quit [Ping timeout: 258 seconds]
alexherbo2078 has joined #nixos
<gchristensen> FYI: ofborg is fine, but Github is busted: https://www.githubstatus.com/
<gchristensen> (causing ofborg to be not receiving any events and not doing anything ... but it is out of my control)
freeman42x has joined #nixos
<clever> ,locate wireguard.ko
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a45bc208034 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> Found in packages: linuxPackages.wireguard, linuxPackages_4_4.wireguard, linuxPackages_4_9.wireguard, linuxPackages_5_0.wireguard, linuxPackages_4_14.wireguard, linuxPackages_4_20.wireguard, linuxPackages_xen_dom0.wireguard, linuxPackages_latest_hardened.wireguard, linuxPackages_latest_xen_dom0.wireguard, linuxPackages_testing_bcachefs.wireguard, linuxPackages_xen_dom0_hardened.wireguard
Matthieu_ has joined #nixos
<xorAxAx> ,ifd
<{^_^}> import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is sometimes problematic because it requires evaluating some, building some, and then evaluating the build result.
nahamu has joined #nixos
<immae> xorAxAx: Thanks, I didn’t know the term for that! Do you have ways to avoid it, for instance when the derivation you want to build is a default.nix in a github repository? (so you need to pkgs.fetchFromGitHub and import from there)
Neo-- has quit [Ping timeout: 252 seconds]
<tazjin> gchristensen: I'm observing a peculiar effect, but got no time to debug right now - maybe you have an idea:
<tazjin> building an image that contains `bashInteractive` and `go` results in an image with no `bash` on the path
<tazjin> any other combination of things does not seem to suffer from this problem
<gchristensen> ....huh
<tazjin> yeah, that was my reaction, too
Ariakenom has quit [Remote host closed the connection]
<xorAxAx> immae, i dont think so
psyanticy has quit [Quit: Connection closed for inactivity]
<ambro718> ... because they are directly inserted into LD_LIBRARY_PATH: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/x11/xserver.nix#L667
<immae> ok, thanks xorAxAx :) I’m interested in workarounds since the NUR ci doesn’t allow these ifd, which prevents me from publishing my repo there
<tazjin> gchristensen: you can get an example one from `docker pull nixery.appspot.com/shell/go` - I'm gonna be gone for a few hours now, but will take another look at this tomorrow
<ambro718> i.e. not the lib directory, the paths themselves.
<gchristensen> thanks, tazjin :) I'll try and get a look at it
innnzzz6 has joined #nixos
innnzzz6 has quit [Ping timeout: 256 seconds]
domogled has quit [Ping timeout: 272 seconds]
domogled has joined #nixos
dftxbs3e has joined #nixos
domogled has quit [Client Quit]
max4 has joined #nixos
Lears has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61900 → python37Packages.flask_marshmallow: 0.10.0 -> 0.10.1 → https://git.io/fj4bV
hexa- has quit [Quit: WeeChat 2.4]
[Leary] has quit [Read error: Connection reset by peer]
<{^_^}> [nix] @edolstra merged pull request #2884 → Check the flake epoch → https://git.io/fj49E
<{^_^}> [nix] @edolstra pushed 2 commits to flakes: https://git.io/fj4b6
_ris has joined #nixos
ym555 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61901 → python37Packages.folium: 0.8.3 -> 0.9.0 → https://git.io/fj4b9
magnetophon has quit [Remote host closed the connection]
<infinisil> immae: If you use `fetchTarball` (a builtin function in the global scope) to fetch it from github, no IFD is required
hexa- has joined #nixos
<infinisil> Same with fetchGit and builtins.fetchurl
<hyper_ch> gchristensen: still online?
<immae> Oh interesting
<gchristensen> hyper_ch: yep
pie_ has joined #nixos
<hyper_ch> gchristensen: I could test now your proposed fix for wg.... you'd just need to tell me what to do/edit
<pie_> Ericson2314, ok i stared at it a bit and figured it out. I was only returning the result of applyLayer, but not merging the super and the new result
<immae> infinisil: so builtins.fetchFoo is evaluated and "downloaded" at build time?
<gchristensen> oh, awesome, hyper_ch!
<gchristensen> one sec ...
<{^_^}> [nixpkgs] @flokli pushed commit from @maralorn to master « nixos/nextcloud: Improve autoUpdateApps description string »: https://git.io/fj4bp
<{^_^}> [nixpkgs] @flokli pushed commit from @maralorn to release-19.03 « nixos/nextcloud: Improve autoUpdateApps description string »: https://git.io/fj4bj
asheshambasta_m has quit [Quit: Leaving.]
<hyper_ch> gchristensen: just fetched latest upstream from nixpkgs
<gchristensen> hyper_ch: try: systemd.services.wireguard-wg0.serviceConfig.Restart = "on-failure"; systemd.services.wireguard-wg0.serviceConfig.RestartSec = "5s";
<hyper_ch> gchristensen: where to add that?
<gchristensen> just, like, at the end of your configuration.nix
<gchristensen> (this will only impact the "wg0" wireguard interface)
<hyper_ch> well, I don't use wg0 :) I'll properly name it
<gchristensen> +1
<hyper_ch> gchristensen: trace: warning: Service ‘wireguard-wg_home.service’ with ‘Type=oneshot’ must have ‘Restart=no’
<hyper_ch> while rebuilding
<gchristensen> ouch
<hyper_ch> did complete rebuild though
<gchristensen> let's see
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61902 → python37Packages.html5-parser: 0.4.5 -> 0.4.6 → https://git.io/fj4Nu
<gchristensen> :/ not sure, that makes it much more challenging
<hyper_ch> the unit file has at the end now: ExecStart=/nix/store/k10nf19q4giz8fdax178gn8g3gwssp00-unit-script-wireguard-wg_jl-start \nExecStopPost=/nix/store/vmyj19736p3114lkr0i1w343k1qmkydy-unit-script-wireguard-wg_jl-post-stop\nRemainAfterExit=true\nRestart=on-failure\nRestartSec=5s\nType=oneshot\n\n")])
<hyper_ch> I'll reboot... bbs
Soo_Slow has joined #nixos
hhefesto has joined #nixos
acarrico has quit [Ping timeout: 258 seconds]
asheshambasta_m has joined #nixos
fenedor has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61903 → python37Packages.ipyparallel: 6.2.3 -> 6.2.4 → https://git.io/fj4Nd
<gchristensen> ouch :/
<hyper_ch> can't that "one shot" be removed?
<{^_^}> [nixpkgs] @kalbasit merged pull request #58336 → golangci-lint: 1.9.2 -> 1.16.0 → https://git.io/fjUZZ
<{^_^}> [nixpkgs] @kalbasit pushed commit from @anpryl to master « golangci-lint: 1.9.2 -> 1.16.0 (#58336) »: https://git.io/fj4AL
nD5Xjz_ has quit [Ping timeout: 258 seconds]
nD5Xjz has joined #nixos
asheshambasta_m has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61904 → python37Packages.kitchen: 1.2.5 -> 1.2.6 → https://git.io/fj4Aq
mexisme_ has joined #nixos
pie__ has joined #nixos
<gchristensen> so I *think* we want it to be oneshot
<hyper_ch> I don't know what it does :)
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fj4AG
<{^_^}> [nixpkgs] @fpletz merged pull request #61882 → grafana: 6.1.6 -> 6.2.0 → https://git.io/fj493
pie___ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61905 → python37Packages.livereload: 2.6.0 -> 2.6.1 → https://git.io/fj4Ac
<gchristensen> oneshot means the unit is "starting" while a process is running, and if RemainAfterExit, becomes "started" after all its processes exit
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @lilyball opened pull request #61906 → cocoapods: 1.6.2 -> 1.7.0 → https://git.io/fj4A4
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fj4AR
<{^_^}> [nixpkgs] @Izorkin opened pull request #61907 → tengine: 2.2.3 -> 2.3.0 → https://git.io/fj4A0
jakub has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61908 → python37Packages.marshmallow-sqlalchemy: 0.16.2 -> 0.16.3 → https://git.io/fj4Ag
<jakub> hi, i am getting 'Unable to open input' in cups log for every job (using samsung unified linux driver, user has lp group), what would you suggest I did?
<jakub> files in /var/spool/cups have root:lp rw-r----- which to me is a bit suspicious
<{^_^}> systemd/systemd#2582 (by enkore, 3 years ago, open): "Restart" and/or "RestartForceExitStatus" should work with oneshot services, too
<gchristensen> ack.
<{^_^}> [nix] @edolstra pushed 2 commits to run-in-pts: https://git.io/fj4AF
cyraxjoe has quit [Ping timeout: 246 seconds]
<dmj`> How do I add debugging symbols to my expressions
<hyper_ch> gchristensen: changing now oneshot to simple
<gchristensen> cool
<pie_> wot. did github explode
<gchristensen> yeah
<pie_> onoes~
<hyper_ch> gchristensen: well, not cool... it does compile now vbox :(
<gchristensen> wat
<hyper_ch> lastest git master...
<hyper_ch> actually, it seem sto be finished now and seems to compile zfs
<cransom> and yes, github did explode. webhooks were backlogged
<pie_> nevermind its just firefox being dumb again i think
<pie_> "Hmm. We’re having trouble finding that site." curl does give me a result.
toppler`` has quit [Ping timeout: 272 seconds]
lovesegfault has joined #nixos
<ambro718> If two nixos modules set a bool option to the same value, is that a conflict?
<srhb> ambro718: No.
<ambro718> ok great
rauno has quit [Ping timeout: 252 seconds]
<srhb> ambro718: bool = mkOptionType { name = "bool"; description = "boolean"; check = isBool; merge = mergeEqualOption; };
<srhb> Where mergeEqualOption does what you expect.
<ambro718> it doesn't work without that?
<srhb> ambro718: That's the definition of the bool type :)
<ambro718> ah okay
max4 has quit [Ping timeout: 246 seconds]
toppler`` has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #61863 → ocamlPackages.ptime: 0.8.4 -> 0.8.5 → https://git.io/fj4Xq
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fj4xY
<{^_^}> [nixpkgs] @fpletz pushed commit from @WilliButz to release-19.03 « grafana: 6.1.6 -> 6.2.0 »: https://git.io/fj4xO
rpg has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @andir pushed 33 commits to release-19.03: https://git.io/fj4xR
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/29200f05176 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #61822 → libbpf: init at 0.0.3pre114_672ae75 → https://git.io/fj4zW
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/fj4x0
<hyper_ch> gchristensen: still compiling something
<{^_^}> [nixpkgs] @Ekleog merged pull request #61899 → matrix-synapse: 0.99.4 -> 0.99.5 → https://git.io/fj4Fp
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/fj4xP
<hhefesto> hello kind nix gurus :)
<hhefesto>
<hhefesto> I am having trouble coercing a set to a string (the string is something like "${laurus-nobilis}/bla"). At least that's what the error says to my deployment-try.
<hhefesto>
<hhefesto> I know that a set may be coerced to a string if it has an `outPath` string member. Does `callPackage` create that `outPath` member? Basically `laurus-nobilis` imports default.nix which is a function wrapped around `callPackage` which calls the genereted stack2nix.nix file. But the generated stack2nix.nix file doesn't seem to have any `outPath` assignment (or it might be hidden inside a funcition there somewhere?)
<hhefesto>
<hhefesto> the error and pertinent files are here: https://gist.github.com/hhefesto/19a15e57052900bbee6067e347adf3cf
<hhefesto>
<hhefesto> Should I have put everything on one line?
<hhefesto> sorry about that
knupfer has joined #nixos
<drakonis> isn't it uppercase?
gxt has quit [Quit: WeeChat 2.4]
<drakonis> it should be laurus-nobilis instead of Laurus-nobilis
<drakonis> there's no variable with that name
<greenerworld[m]> so how long does it usually take a maintainer to review a pull request?
jakub has quit [Quit: leaving]
<pie_> Drakonis, wouldnt that yield a missing attribute or variable name or what error?
<greenerworld[m]> I know they all have lives but this is my first PR so I don't know the ropes very well
<hhefesto> i dont see any uppercase
<drakonis> ah its because the font messes things up
<drakonis> check a example of how to use that feature
<drakonis> i don't think that's how you're supposed to use it
<drakonis> since the variable doesn't contain a path
<hhefesto> the `callPackage` feature?
<drakonis> it contains default.nix
<drakonis> no
<drakonis> execstart
waleee has quit [Quit: WeeChat 2.4]
<hhefesto> so my ExecStart is wrong?
<drakonis> yes
freeman42y has joined #nixos
freeman42x has quit [Ping timeout: 258 seconds]
<hhefesto> thanks! I'll dig deeper there
<{^_^}> [nixpkgs] @Infinisil merged pull request #50618 → nixos/bitcoind: add bitcoind service → https://git.io/fpciF
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fj4xF
<pie_> hhefesto, do you know about nix repl btw
<pie_> can be helpful sometimes
<hhefesto> i wouldn't know what to do with it
<pie_> fair enough
<drakonis> you should check any existing nix package to see how they use it
<pie_> tl;dr: its a repl, you type in nix expressions, get results
<hhefesto> my top file is a function
<hhefesto> can I load it there?
* pie_ runs off
<drakonis> cups uses that
<hhefesto> thanks!
<drakonis> as you can see ${version} is replaced with the contents of the variable version
<hyper_ch> gchristensen: I'll let it finish compile and go to bed now
<drakonis> perhaps you should use {$networking.hostName} if your intention is to point to the the hostname's path
<drakonis> it would put laurus-nobilis in there
<hhefesto> when the proyect is built, it's built and put on the nix store with a hash prepended. right?
<hhefesto> somehow when a proyect is built (in this case the proyect is named `laurus-nobilis`), shouldn't "${laurus-nobilis}" give the path to where it was built?
<hhefesto> stack2nix generated a file that compiles my proyect using nix-build
stranger___ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61910 → python37Packages.pex: 1.6.6 -> 1.6.7 → https://git.io/fj4p2
<stranger___> what do you think? https://github.com/NixOS/nixpkgs/pull/57712
<{^_^}> #57712 (by gnidorah, 9 weeks ago, open): jack module: init
<hhefesto> laurus-nobilis-configuration.nix is the logical configuration that points to the magical stack2nix.nix file for it to be able to build, but how can I know where it built it?
<hhefesto> when I build it locally with nix-build it is built at /nix/store/5zmh6qr612wy6sx8s9n49f8lj3ra04hs-laurus-nobilis-0.2.0
<hhefesto> will it be built there too on the remote server?
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/29200f05176 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
gxt has joined #nixos
<{^_^}> [flake-registry] @edolstra pushed to master « Import registry from NixOS/nix »: https://git.io/fj4pw
<logand> ,locate sbcl
<{^_^}> Found in packages: sbcl, sbclBootstrap, bash-completion, lispPackages.cl-store, lispPackages.ironclad
<simpson> hhefesto: Yes, assuming that you use the same Nix expressions on the same architecture. Normally knowing the precise path of something in the Nix store is only necessary when interfacing with legacy software.
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
shabius has quit [Quit: Leaving]
<hhefesto> My proyect builds with nix-build, and I am already able to deploy a trivial valgrind documentation to Google Compute Engine. Would anyone here be interested on helping me deploy my proyect for 100 dls through PayPal?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61911 → python37Packages.persistent: 4.4.3 -> 4.5.0 → https://git.io/fj4hf
alexherbo20783 has joined #nixos
alexherbo2078 has quit [Ping timeout: 248 seconds]
ambro718 has quit [Quit: Konversation terminated!]
ixxie has quit [Ping timeout: 248 seconds]
logand has quit [Remote host closed the connection]
mexisme_ has quit [Ping timeout: 246 seconds]
rauno has joined #nixos
WhittlesJr has joined #nixos
ltc^ has quit []
eph^ has joined #nixos
hmpffff has joined #nixos
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
Ralith_ has quit [Ping timeout: 258 seconds]
shabius has joined #nixos
nikivi has joined #nixos
ddellacosta has joined #nixos
realrokka has quit [Read error: Connection reset by peer]
<WhittlesJr> Why is my kernel building from source? I've tried unstable, 19.03, and 18.09
Matthieu_ has quit [Ping timeout: 272 seconds]
gagbo has quit [Ping timeout: 258 seconds]
realrokka has joined #nixos
wfranzini has joined #nixos
<WhittlesJr> I see the linux-4.14.1XX build errors, but I'm not on ZFS and I don't have a hardened kernel
Ralith_ has joined #nixos
<{^_^}> [nixpkgs] @smaret opened pull request #61912 → gtk{2,3}-x11: build against cairo with X11 support enabled → https://git.io/fj4h1
knupfer has quit [Ping timeout: 264 seconds]
wfranzini has quit [Ping timeout: 245 seconds]
alexherbo207831 has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #60985 → libglvnd, ocl-icd, vulkan-loader: Add /run/opengl-driver(-32) to RUNPATH. → https://git.io/fj4jk
<{^_^}> [nixpkgs] @flokli pushed 4 commits to master: https://git.io/fj4jI
alexherbo20783 has quit [Ping timeout: 268 seconds]
Matthieu_ has joined #nixos
__monty__ has quit [Quit: leaving]
<arianvp> `heya
<arianvp> since I updated to nixos 19.03, webGL Stopped working on firefox on intel.
<arianvp> wondering if anybody else has similar issue?
<arianvp> I get: * Exhausted GL driver options.
cyraxjoe has joined #nixos
silver_ has joined #nixos
<NemesisD> hi all, looking for some advice on haskell projects in nix. i need to depend on a submoduled project with its own default.nix. i'm doing hpkgs = pkgs.haskell.packages.ghc864.extend(self: super: otherproject1.hpkgs // otherproject2.hpkgs // { thisproject = self.callCabal2Nix ...}), but it doesn't seem to work. is there a better way?
<Ralith> arianvp: works fine here
<NemesisD> i'm merging package sets rather than just calling cabal2nix on the submoduled project because that project's default.nix might introduce some other packages that wouldn't be picked up by just treating it like a regular package
<arianvp> hmm :/
<arianvp> I did install firefox thorugh nix-env -iA
erasmas has quit [Quit: leaving]
<arianvp> I remember openGL and nixos being finicky, wondering if that has to do with it>
<flokli> arianvp: why did you run nix-env -iA, instead of adding it to your system configuration (given you're on nixos anyway)
<Ralith> arianvp: OpenGL and nix *not* on NixOS can be finnicky, NixOS should be fine
<philipp[m]> There is currently a PR going (for quite a while now) to upgrade mesa to an alternate buid system (meson).
<Ralith> flokli: installing/updating user-level applications without root is nice
silver has quit [Ping timeout: 258 seconds]
<flokli> Ralith: true. I use home-manager for that :-)
Lisanna has quit [Quit: Lisanna]
<flokli> but it shouldn't matter. on nixos, we currently set LD_PRELOAD to include /run/opengl-driver(-32) in LD_LIBRARY_PATH
<{^_^}> [nixpkgs] @c0bw3b opened pull request #61913 → castxml: 20180403 -> 0.2.0 → https://git.io/fj4jZ
<flokli> and drop drivers there, which get picked up by mesa
<philipp[m]> This seems to block mesa upgrades, but the current version of mesa has a serious bug that leads to GPU crashes during shader compilation on some hardware (mine...).
<philipp[m]> I locally upgraded to mesa 19 and this fixed everything nicely. Should I PR this change and just ignore the build system change PR?
mexisme_ has joined #nixos
<Ralith> flokli: we set LD_LIBRARY_PATH, not LD_PRELOAD
<flokli> Ralith: yeah, I'm tired. Sorry
<flokli> I should know better, given I spent some time on #60985 :-)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/60985 (by ambrop72, 2 weeks ago, merged): libglvnd, ocl-icd, vulkan-loader: Add /run/opengl-driver(-32) to RUNPATH.
talqu has quit [Ping timeout: 248 seconds]
<flokli> this pr will make LD_LIBRARY_PATH superfluous in the future
<flokli> as libglvnd knows to fetch from /run/opengl-driver… through other means
linarcx has quit [Quit: WeeChat 2.4]
<flokli> about running nix opengl applications from non-nixos, there's https://github.com/guibou/nixGL
ThatDocsLady has quit [Ping timeout: 258 seconds]
<Ralith> ooh, nice, the LD_LIBRARY_PATH thing always struck me as a hack
zeta_wolf has joined #nixos
<flokli> it is
<flokli> it still doesn't solve the problem with running nix-built gl programs from non-nixos. relying on something in /run/opengl is an impurity nevertheless
<arianvp> flokli: i have user environment and system environment separate
<arianvp> Because I share my tools between NixOS and non-nixos machines
<Ralith> for vulkan we fall back on the FHS paths, at least
<flokli> and we can't guarantee to be compatible with whatever mesa driver the non-nixos system provides
<arianvp> But this goes wrong on a _nixos_ machine
<{^_^}> [nix] @edolstra pushed 4 commits to fetch-registry: https://git.io/fj4jB
<zeta_wolf> when i do the command to list my gpg keys, which is the public key and which is the private? i want to place the public one in home.nix(programs.git): https://hastebin.com/eqefivosok.makefile
<arianvp> Eelco working on flakes? Cool
<arianvp> zeta_wolf: list keys will only show public keys. A main key + its subkeys
<arianvp> The main key is the one you want to add
<arianvp> I think
mexisme_ has quit [Ping timeout: 248 seconds]
<{^_^}> [nix] @edolstra opened pull request #2886 → Use online global registry → https://git.io/fj4j0
<zeta_wolf> well to show you a made up one it looks somethin like this: rsa1056/1E29FE8AE1D1C1D1
selfsymmetric-mu has joined #nixos
drakonis has quit [Quit: Leaving]
<zeta_wolf> so the 1st part is the public key and the 2nd part is the private(secret) key?
Matthieu_ has quit [Ping timeout: 245 seconds]
<zeta_wolf> i just want to make sure i don't accidentily make a private key visible
<{^_^}> [nixpkgs] @volth closed pull request #61741 → [on hold] perldevel: 5.29.9 -> 5.30.0-RC2 → https://git.io/fj8N1
<zeta_wolf> i need: `The default GPG signing key fingerprint.` for the programs.git option in home.nix: https://hastebin.com/eqefivosok.makefile
<zeta_wolf> setting up ssh was very clear but this gpg is confusing
mexisme_ has joined #nixos
<alexarice[m]> is there a way to prefer a local build with nix-env
<infinisil> zeta_wolf: It doesn't matter, what you put in your config isn't the actual key, it's just a key fingerprint
<infinisil> zeta_wolf: And that fingerprint is always derived from the private part of the key anyways, there's no public fingerprint, because that's not needed
Matthieu_ has joined #nixos
<infinisil> Here is my fingerprint for example: 5B2CFBD8E6AD7FC113D675A89424360B4B85C9E7
<infinisil> Very much public information :)
<zeta_wolf> infinisil: so when i run: gpg2 --list-secret-keys --keyid-format LONG `myEmail` what part is the fingerprint that i need to paste in programs.git(home.nix)? https://hastebin.com/eqefivosok.makefile
rembo10 has quit [Quit: ZNC 1.7.3 - https://znc.in]
rembo10 has joined #nixos
<infinisil> zeta_wolf: No need for keyid-format. Just `gpg --list-secret-keys <email>`
<infinisil> Then it should be obvious what the fingerprint is
justan0theruser has joined #nixos
<infinisil> And it'll be the same length as mine
justanotheruser has quit [Ping timeout: 248 seconds]
<zeta_wolf> infinisil: i hope i set this up correctly, otherwise it would defeat the purpose of setting it up in the first place
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61914 → python37Packages.pyutilib: 5.6.5 -> 5.7.0 → https://git.io/fjBef
<zeta_wolf> infinisil: so it would be the `13EB...` part of `sec`? https://hastebin.com/isaciceyih.css
<infinisil> zeta_wolf: I think you can answer that yourself
<zeta_wolf> infinisil: i think i am way too paranoid about security
<infinisil> That's not a bad thing per-se :)
<infinisil> zeta_wolf: In any case, I can assure you that you haven't leaked anything with that paste, and that that is indeed your keys fingerprint which you need
<zeta_wolf> infinisil: thanks for checking
<{^_^}> [nixpkgs] @Infinisil merged pull request #61875 → haskellPackages.hakyll: remove obsolete patch → https://git.io/fj4Dh
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to haskell-updates: https://git.io/fjBeL
Soo_Slow has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to haskell-updates: https://git.io/fjBet
<{^_^}> [nixpkgs] @Infinisil merged pull request #61536 → configuration-hackage2nix.yaml: lattices is not broken → https://git.io/fjlWl
<{^_^}> [nixpkgs] @markuskowa merged pull request #61852 → limesuite: 19.01.0 -> 19.04.0 → https://git.io/fj46E
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjBeq
justan0theruser is now known as justanotheruser
manj-budgie has joined #nixos
<greenerworld[m]> what's the difference between riot-web and riot-desktop?
<{^_^}> [nixpkgs] @Infinisil closed pull request #61593 → haskellPackages.hakyll: remove unnecessary patch, unbreak → https://git.io/fjl7M
manj-budgie has quit [Remote host closed the connection]
dansho has joined #nixos
<infinisil> > riot-web.meta.description
<{^_^}> "A glossy Matrix collaboration client for the web"
<infinisil> > riot-desktop.meta.description
<{^_^}> "A feature-rich client for Matrix.org"
<infinisil> Hmm
<infinisil> > riot-desktop.meta.homepage
<greenerworld[m]> riot-desktop depends on riot-web
<greenerworld[m]> but riot-desktop is the one that creates the desktop entry
<infinisil> Huh weird
rfold has quit [Quit: WeeChat 2.4]
<infinisil> Oh
<infinisil> riot-web might be the files to self-host a web server?
<infinisil> And riot-desktop is a prepackaged thing
<greenerworld[m]> but why would riot-desktop would need them
<infinisil> Just a guess, but that seems likel
srid6 has quit [Read error: Connection reset by peer]
srid63 has joined #nixos
<infinisil> Well in that case riot-desktop would be a wrapper that adds the webserver stuff (via electron probably)
<infinisil> Which just serves riot-web
<greenerworld[m]> that makes sense
<greenerworld[m]> since it builds electron with yarn
<zeta_wolf> infinisil: i don't know if you remember helping me setup and install: `all-hies.latest` in home.nix, but anyways i integrated it with emacs and it seems to be working correctly the only problem i am having is: i always have to manually do: `lsp-workspace-folder-add` and `C-u M-x lsp`, i wish it would do this automatically when i open a haskell(.hs) file?
tkral has quit [Ping timeout: 264 seconds]
lovesegfault has quit [Ping timeout: 252 seconds]
<infinisil> zeta_wolf: That has nothing to do with NixOS. Ask in #haskell-ide-engine or #emacs instead
<greenerworld[m]> inifinisil what is the average time for my pr to be reviewed by a member?
<zeta_wolf> infinisil: and hovering over text to show haddock(hoogle) documentation is very convienient, instead of having to look it up on the web
<greenerworld[m]> this is my first pr so I don't know the avg time span, not trying to rush
<infinisil> greenerworld[m]: Hmm, maybe a couple days? Not sure, but if you mention the PR here somebody might take a look :)
<greenerworld[m]> well here goes my shameless plug
lovesegfault has joined #nixos
<greenerworld[m]> also how often do the channels update?
ddellacosta has quit [Ping timeout: 245 seconds]
Yakulu has left #nixos ["Error from remote client"]
<zeta_wolf> i overheard you guys talking about riot, is the `riot-desktop` package almost stable? that would be very useful(i am getting into freelancing)
<greenerworld[m]> well it looks stable, using it ATM
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61915 → python37Packages.rasterio: 1.0.22 -> 1.0.23 → https://git.io/fjBeW
mekeor has joined #nixos
<mekeor> hello. does anybody have an example configuration for services.tt-rss? :) – i am afraid the only one i could find could be outdated or bloated: https://gist.github.com/zohl/05c1e5830dc0c898a8808204fedbf76b
<zeta_wolf> should i do the workaround to get `riot-desktop` unstable(19.09) to work in my stable nixos(19.03) or should i just wait until it comes onto the stable channel? i don't want it to break my system, or have some sort or security problem
jackdk has joined #nixos
stranger___ has quit [Quit: Connection closed for inactivity]
<infinisil> greenerworld[m]: The stable channel might update after a day, but unstable might take a couple days or even longer than a week
Soo_Slow has joined #nixos
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
<greenerworld[m]> yeah just changed to nixpkgs-unstable :D
<infinisil> mekeor: How is it outdated or bloated?
dansho has quit [Ping timeout: 272 seconds]
<greenerworld[m]> zeta I would just use something like rambox
<greenerworld[m]> it's an electron app after all
<infinisil> zeta_wolf: Yeah there's no problem with using a package from unstable, it can't break anything
tkral has joined #nixos
selfsymmetric-mu has joined #nixos
<mekeor> infinisil: the gist is 3 years old; nginx is configured manually via services.nginx.config; also i wondered whether the tt-rss service was enhanced in such a way that there's less needed beside `tt-rss.enable = true` :D
<zeta_wolf> ok, i have never heard of rambox and that riot-desktop looks nice
<infinisil> I remember somebody posting a search engine for NixOS configurations here recently, but I can't remember the url of it anymore..
<alexarice[m]> is there any advantage to using the electron app for riot over just having a browser tab open
<greenerworld[m]> well for me the advantage is I can close the browser after reaching 50th tab
hmpffff has quit [Quit: nchrrrr…]
<greenerworld[m]> but for electron apps there's usually little to no advantage
<greenerworld[m]> not sure about riot tho
sigmundv has joined #nixos
<jackdk> or you mean entire configurations? if so, I dunno sorry
<{^_^}> [nixpkgs] @flokli opened pull request #61916 → nixosTests.signal-desktop: add test → https://git.io/fjBeg
<infinisil> Yeah entire configs
<infinisil> AHh found it: https://search.tx0.co/
<infinisil> I knew about this wiki page, and this search is linked from there: https://nixos.wiki/wiki/Configuration_Collection
<infinisil> ,configsearch = https://search.tx0.co/
<{^_^}> configsearch redefined, was defined as To search public NixOS/Nixpkgs/NixOps configs, use https://search.tx0.co (Ping ${"til" + "pner"} if it acts up again)
<zeta_wolf> please forgive me for being off topic, but if i understand correctly: the `riot-desktop` is an open source alternative to whatsapp, and skype, is that correct? (i may have to do video and text chatting and i don't want to pay for that)
v0|d has quit [Ping timeout: 252 seconds]
<infinisil> zeta_wolf: You'll get much better responses if you ask question in their appropriate channels. For this that would be #matrix
fenedor has quit [Quit: Leaving]
mbrgm_ has joined #nixos
<infinisil> ,configsearch = To search public NixOS/Nixpkgs/NixOps configs, use https://search.tx0.co (Ping ${"til" + "pner"} if it acts up again)
<{^_^}> configsearch redefined, was defined as https://search.tx0.co/
<infinisil> Hehe didn't even notice at first, was already defined
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61917 → python37Packages.rpmfluff: 0.5.6 -> 0.5.7.1 → https://git.io/fjBeP
<zeta_wolf> i am in the process of joining the open source project to work on the ghc compiler, i would also like to join an open source project where i would learn nix really well, do you guys know of any nixos projects? i am learning haskell, so maybe something related to that?
o1lo01ol1o has quit [Remote host closed the connection]
<Ralith> helping maintain packages is generally a good start
danielrf[m] has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #61838 → adds nodejs_latest packages → https://git.io/fj4w5
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fjBey
mmlb has quit [Ping timeout: 245 seconds]
<greenerworld[m]> ty for the merge :)
jackdk has quit [Ping timeout: 268 seconds]
sigmundv has quit [Ping timeout: 248 seconds]
<infinisil> :)
<zeta_wolf> ok, i think i read a link somewhere that was asking for help in maintaining the haskell packages in nixos but i can't seem to find that link
<zeta_wolf> or would it be best for me to stick with the: `nix pills` while i am learning?
<simpson> zeta_wolf: I wouldn't worry about it; it seems to be the case that folks often learn Nix out of obligation to work on some specific Nix-related project, like nixpkgs. If you don't have such a desire/need, then it's probably not a big deal.
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61844 → plata-theme: 0.7.6 -> 0.8.0 → https://git.io/fj4oj
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjBed
<simpson> That is, people don't hack on nixpkgs to learn Nix, but learn Nix to hack on nixpkgs.
<greenerworld[m]> also what is the difference between nixos-unstable and nixpkgs-unstable channels?
<zeta_wolf> simpson: well, i am currently learning haskell so how similar is nix to haskell?
<infinisil> greenerworld[m]: nixos-unstable only gets nixpkgs versions that passed the NixOS tests, so it's safe to use on NixOS, you don't have to worry about grub breaking your boot loader or so
<simpson> zeta_wolf: They both have functions and a `let` keyword; other than that, I'd say that there's not much overlap.
mexisme_ has quit [Ping timeout: 248 seconds]
<infinisil> And I guess they're both purely functional
<greenerworld[m]> ah ok, better test assurance then
<greenerworld[m]> ty for making that one clear :D
<infinisil> ,which-channel
<infinisil> I think this describes it too
<simpson> infinisil: Maybe; I'm not willing to define "purely functional" today. They do have similarities in execution, since GHC Haskell is quite lazy and Nix is fully (maximally?) lazy.
<nh2> when I use `nix build`, and it hides the output, is there a way or hack I can see the output as it streams by?
<infinisil> simpson: I mean, purely functional doesn't have anything to do with lazy vs strict though. Nix is purely functional because same inputs to a function means same output
<infinisil> (ignoring escape hatches)
<infinisil> nh2: Legend says running a separate `nix log` on the same derivation gives you logs, but I'm not 100% sure of that
<simpson> infinisil: Monte would be more purely functional than either Nix or Haskell, then, since it has this basic functional property *and* no escape hatches. FWIW in PLT channels like #proglangdesign we've failed to come to any understanding about what it means, and I strongly suspect at this point that "purely functional" is mostly a Haskell meme.
<infinisil> simpson: Hmm, I'll join there to discuss
Matthieu_ has quit [Ping timeout: 245 seconds]
<greenerworld[m]> btw is there anything for nix that provides notification like `You have X updates`? I don't want to do autoUpgrad but want to know when it's available.
<simpson> greenerworld[m]: Counting the updates sounds like an interesting challenge. In general, you can assume that if your channel has updated, then it contains something fresh for you.
nD5Xjz_ has quit [Ping timeout: 248 seconds]
nD5Xjz has joined #nixos
justanotheruser has quit [Ping timeout: 272 seconds]
goibhniu1 has quit [Ping timeout: 245 seconds]
toppler`` has quit [Ping timeout: 258 seconds]
freeman42y has quit [Ping timeout: 258 seconds]
m0rphism has quit [Ping timeout: 258 seconds]
ottidmes has quit [Ping timeout: 272 seconds]
jackdk has joined #nixos
toppler`` has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #61918 → python37Packages.sniffio: 1.0.0 -> 1.1.0 → https://git.io/fjBvm
Soo_Slow has quit [Remote host closed the connection]
gchristensen has quit [Quit: Connection closed for inactivity]
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
bepvte has joined #nixos
sir_guy_carleton has joined #nixos
<zeta_wolf> i've been using nixos for about 2 months now, i think i am finally getting the hang of it.
ryantm has quit [Remote host closed the connection]
Rusty1 has joined #nixos
acarrico has joined #nixos
<zeta_wolf> i first started learning haskell in debian and the dependency hell was brutal, in nixos not having to deal with dependency hell and easy declarative package management is a breath of fresh air
<zeta_wolf> (:
<rizary> anyone familiar with cabal2nix willing to help my issue here: https://github.com/NixOS/cabal2nix/issues/419 ?
<{^_^}> cabal2nix#419 (by Rizary, 1 hour ago, open): URL using bad/illegal format or missing URL (3)
selfsymmetric-mu has joined #nixos
ym555 has quit [Ping timeout: 258 seconds]