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
<{^_^}> [nixpkgs] @marsam opened pull request #63487 → prometheus_2: 2.9.2 -> 2.10.0 → https://git.io/fjVmm
zeta_0 has joined #nixos
zeta_0 has quit [Client Quit]
kvda has joined #nixos
clacke_movim has left #nixos [#nixos]
alex`` has quit [Read error: Connection reset by peer]
lovesegfault has joined #nixos
lovesegfault has quit [Client Quit]
qubasa_ has joined #nixos
thc202 has quit [Ping timeout: 268 seconds]
alex`` has joined #nixos
qubasa has quit [Ping timeout: 248 seconds]
zeta_0 has joined #nixos
alex`` has quit [Read error: Connection reset by peer]
<zeta_0> hello guys, is there an easy way to install and setup protonvpn in home.nix?
<zeta_0> do i need to setup openvpn first or does that already come bundled with protonvpn,
<zeta_0> do any of you guys have protonvpn installed in nixos?
ericsagnes has quit [Ping timeout: 268 seconds]
alex`` has joined #nixos
ricekrispie has quit [Read error: Connection reset by peer]
ricekrispie has joined #nixos
clacke_movim has joined #nixos
zeta_0 has quit [Remote host closed the connection]
freeman42y has joined #nixos
<{^_^}> [nixpkgs] @jbedo opened pull request #63488 → octopus: init 0.6.3-beta → https://git.io/fjVmD
orivej has quit [Ping timeout: 272 seconds]
freeman42x has quit [Ping timeout: 252 seconds]
ricekrispie has quit [Read error: Connection reset by peer]
ricekrispie has joined #nixos
ricekrispie has quit [Read error: Connection reset by peer]
jluttine has quit [Ping timeout: 244 seconds]
clacke_movim has left #nixos [#nixos]
Netsu has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjVm5
<{^_^}> [nixpkgs] @jonringer opened pull request #63490 → Bump uproot → https://git.io/fjVmd
zachk has quit [Quit: Leaving]
jluttine has joined #nixos
<Netsu> clefru: still can't get how to override ocamlPackage overlay in way that it will use different dune version https://gist.github.com/Pitometsu/34743536a65f6f33c2d14c81e91807bf (point to inject dune version for https://github.com/NixOS/nixpkgs/blob/f3282c8d1e0ce6ba5d9f6aeddcfad51d879c7a4a/pkgs/top-level/ocaml-packages.nix#L15)
jgt1 has joined #nixos
ericsagnes has joined #nixos
lpsmith has joined #nixos
acarrico has quit [Ping timeout: 245 seconds]
jgt1 has quit [Ping timeout: 252 seconds]
ris has quit [Ping timeout: 260 seconds]
<jtojnar> worldofpeace: hmm, just noticed that tracker-miners switched to meson features, so we are not building any miners
dump has joined #nixos
dump is now known as Guest50456
<Guest50456> if I'm on Koi, which nixpkg branch am I following?
<Guest50456> *git branch
<ottidmes> Guest50456: maybe try: nix-instantiate --eval --expr 'with import <nixpkgs/lib>; trivial.version'
acarrico has joined #nixos
<ottidmes> Guest50456: is also mentioned in the release notes: https://nixos.org/nixos/manual/release-notes.html#sec-release-19.03 so its 19.03
lord| has quit [Read error: Connection reset by peer]
clacke_movim has joined #nixos
<Guest50456> Thanks
lord| has joined #nixos
Guest50456 has quit [Quit: Page closed]
m0rphism has quit [Ping timeout: 245 seconds]
psy3497 has joined #nixos
<worldofpeace> lol
<worldofpeace> jtojnar: we should probably enable auto features
<worldofpeace> also how's the meson bump going over there? couple of weeks ago I ran the systemd test fine
<jtojnar> worldofpeace: will probably need a hydra jobset set up
<jtojnar> since lot of stuff will start failing
<worldofpeace> it'd be nice to have that continually
<jtojnar> worldofpeace: the few things I build listed in the issue succeeded
<jtojnar> now I am building a gnome VM but it is slow due to downloads failing all the time with https://github.com/NixOS/nix/issues/2952
<{^_^}> nix#2952 (by jtojnar, 16 hours ago, open): error 9 while decompressing xz file
ricekrispie has joined #nixos
<worldofpeace> I actually tried to build a GNOME vm and had the same problem and gave up
Guanin has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar opened pull request #63491 → gnome3.tracker-miners: enable auto_features → https://git.io/fjVYB
<jtojnar> worldofpeace: it is really inconvenient. I cannot even upgrade my system without manually fetching all the srcs > ~30 MB
<worldofpeace> jtojnar: yeah that would do it. I actually use nesting.clone to have both a system generation of gnome3 and pantheon for testing
<pie__> jtojnar, i think gchristensen was messing with making sure that stuff behaves correctly at some point, but was probably unrelated
alex`` has quit [Ping timeout: 245 seconds]
<worldofpeace> hopefully someone comes around to configure a jobset, I've been looking out for the meson bump for like a while now
<worldofpeace> or more appropriate an account :)
jluttine has quit [Ping timeout: 245 seconds]
<jtojnar> worldofpeace: I am pretty confident it works, as I have build the majority of meson packages successfully
<jtojnar> I would be more interested in jobset for auto_features=enabled
orivej has joined #nixos
alex`` has joined #nixos
<jtojnar> worldofpeace: interesting, did not know about testing
<jtojnar> s/testing/nesting/
<{^_^}> [nixpkgs] @marsam opened pull request #63492 → ctop: 2017-05-28 -> 0.7.2 → https://git.io/fjVYR
lovesegfault has joined #nixos
<worldofpeace> it's actually an unmerged feature #45345 jtojnar
<{^_^}> https://github.com/NixOS/nixpkgs/pull/45345 (by vmandela, 43 weeks ago, open): nixos/install-grub: include child configs in grub menu
hamishmack has joined #nixos
<jtojnar> was there anything missing from https://github.com/NixOS/nixpkgs/pull/54398?
<{^_^}> #54398 (by nh2, 21 weeks ago, open): gstreamer-1.16.0
<stepcut> whenever I try to use ssh-ng:// substituters I get a lot of "error: unexpected end-of-file". But it is not a hard fail -- it is sometimes able to successfully copy files if I ran the command enough times
clacke_movim has left #nixos [#nixos]
clacke_movim has joined #nixos
<worldofpeace> jtojnar: I actually didn't get a chance to review properly. I should have a chance now though.
jluttine has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
polman has quit [Ping timeout: 248 seconds]
polman has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #63493 → meson: enable auto_features by default → https://git.io/fjVYg
<{^_^}> [nixpkgs] @marsam merged pull request #63472 → yarn: 1.16.0 -> 1.17.0 → https://git.io/fjVTH
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVY2
<{^_^}> [nixpkgs] @marsam merged pull request #63470 → xmr-stak: 2.10.4 -> 2.10.5 → https://git.io/fjVT2
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVYa
jgt1 has joined #nixos
dustinm- has quit [Quit: Leaving]
ivan has quit [Quit: lp0 on fire]
<worldofpeace> jtojnar: We should set `wrap-mode nodownload` as well for meson. forgot about that one.
jgt1 has quit [Ping timeout: 252 seconds]
dustinm has joined #nixos
hamishmack has joined #nixos
<jtojnar> will that not be forced by sandboxing?
<monokrome> ok
<monokrome> so who wants to help me learn how we can make secureboot a thing
* monokrome pokes gchristensen
<jtojnar> but I guess it cannot hurt
<samueldr> monokrome: https://github.com/NixOS/nixpkgs/pull/53901 but you probably know about it
<{^_^}> #53901 (by grahamc, 22 weeks ago, open): WIP: Sign systemd boot EFI images for secure booting.
<monokrome> samueldr: I don't know about it! Thanks :) :)
<samueldr> ah, figured so since you poked graham directly :)
* monokrome maybehugs gchristensen
<worldofpeace> jtojnar: yes but It just behaves as expected. last time I checked other distros with sandboxed builds do that
<monokrome> Does NixOS have SELinux / AppArmor / similar?
<monokrome> or is it something I need to add?
<{^_^}> rfcs#41 (by e-user, 14 weeks ago, open): [RFC 0041] SELinux Support
<monokrome> oooh nice
ivan- has joined #nixos
<monokrome> thnx samueldr <3
ivan- is now known as ivan
<monokrome> .locate rkhunter
<samueldr> (it's a comma)
<monokrome> thnx again <3
<monokrome> ,locate rkhunter
<{^_^}> Couldn't find in any packages
<monokrome> what would we do without samueldr y'all
<samueldr> you know for at least 8h per day, when I sleep :)
<monokrome> ya but "wait for samueldr" isn't a good answer =P
<monokrome> omg {^_^} is the best nickname
<monokrome> I guess rkhunter would maybe be weird / need custom changes for NixOS
<jtojnar> worldofpeace: while at it, I added plain buildtype, hopefully the world will not burn
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
troydm has joined #nixos
<{^_^}> [nixpkgs] @jbaum98 opened pull request #63494 → WIP: framac: 18 -> 19 and update why3 → https://git.io/fjVY1
<samueldr> isn't it more that rootkits would be weird or need custom change for NixOS (mostly joking)
sindrip has quit [Ping timeout: 256 seconds]
<monokrome> lol - but also not if they are part a package you install or an overlay
<monokrome> oh wait
<monokrome> I get it now
* monokrome is sleepy
<monokrome> also lol
<{^_^}> [nixpkgs] @jtojnar merged pull request #63491 → gnome3.tracker-miners: enable auto_features → https://git.io/fjVYB
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fjVYM
<worldofpeace> jtojnar: for the auto_features it will probably just be us disabling a lot of features explicitly. so maybe plain buildtype would be the more flamable change
<worldofpeace> But it's just like change I'd like to see here so I still would like to try
<jtojnar> we could also reuse thr gnome branch
orivej has quit [Ping timeout: 258 seconds]
<worldofpeace> 👍️ (i forgot)
ottidmes has quit [Quit: WeeChat 2.4]
<jtojnar> too bad GH does not support renaming branches
drakonis has joined #nixos
selfsymmetric-mu has joined #nixos
jasongrossman has joined #nixos
clacke_movim has left #nixos [#nixos]
xkapastel has quit [Quit: Connection closed for inactivity]
georges has joined #nixos
justanotheruser has joined #nixos
dbmikus has quit [Ping timeout: 248 seconds]
<monokrome> go
<monokrome> oops
<monokrome> sorry type
<monokrome> tfw you typo the word "typo"
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jgt1 has joined #nixos
jb0nd38372 has joined #nixos
freeman42y has quit [Ping timeout: 252 seconds]
<jb0nd38372> Hello all
jgt1 has quit [Ping timeout: 252 seconds]
Synthetica has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #63486 → gvfs: security fixes → https://git.io/fjVqj
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjVYA
jasongrossman has quit [Ping timeout: 245 seconds]
jb0nd38372 has quit [Quit: Leaving]
<Netsu> clever: so I rewrite ocamlPackages as an overlay, but still not able to override neither dune nor ezjsonm dependency here https://gist.github.com/Pitometsu/34743536a65f6f33c2d14c81e91807bf
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
<Netsu> could you suggest what I'm doing wrong, please?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #63481 → [19.03] gvfs: security fixes → https://git.io/fjVq8
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to release-19.03: https://git.io/fjVYh
alex`` has quit [Quit: WeeChat 2.5]
alex`` has joined #nixos
selfsymmetric-mu has joined #nixos
cjpbirkbeck has joined #nixos
<Netsu> How can I check is something in store path? E.g. let channel = <channel> || ./channel.nix
<Netsu> *let channel = <channel> || import ./channel.nix;
<Netsu> ?
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #63495 → ctypes_sh: init at 1.1 → https://git.io/fjVOJ
hyper_ch has joined #nixos
qubasa_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
wucke13 has quit [Quit: ZNC 1.7.2 - https://znc.in]
mumuluxi has quit [Quit: ZNC 1.7.2 - https://znc.in]
qubasa has joined #nixos
wucke13 has joined #nixos
layus has joined #nixos
mumuluxi has joined #nixos
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #63496 → discord-rpc: init at 3.4.0 → https://git.io/fjVOO
ricekrispie2 has joined #nixos
ricekrispie has quit [Ping timeout: 245 seconds]
hyper_ch has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #63497 → oppai-ng: init at 3.2.2 → https://git.io/fjVOC
<ryantm> Netsu: builtins.tryEval <blah>
<ryantm> nix-repl> if (builtins.tryEval <channel>).success then <channel> else import ./channel.nix
jgt1 has joined #nixos
Supersonic has quit [Ping timeout: 248 seconds]
jgt1 has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/d6da20c1949 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
hyper_ch has joined #nixos
jasongrossman has joined #nixos
Supersonic has joined #nixos
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #63498 → cum: init at 0.9.1 → https://git.io/fjVOE
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
ym555 has quit [Quit: leaving...]
vk3wtf has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
psque has joined #nixos
<psque> If I use nix to build a project, the output ends up in a `result` and a symlink is created which prevents this from being garbage collected. Is there any convenient way of specifing that all of the dependencies used in that build process also shouldn't be garbage collected?
<ryantm> psque: The ones used during build but not used in the output?
<psque> ryantm: Correct. E.g. the purescript compiler if it's a purescript project
stepcut has quit [Ping timeout: 248 seconds]
<psque> ryantm: And the build output is the js bundle
<ryantm> psque: The reason I ask is because the dependencies of the result output won't be garbage collected.
<psque> ryantm: Right. But as I understand it, in cases like the one I described where the output has no runtime dependencies (because it's just files), all the build tooling gets GCed
<tdeo_> i know lorri does this
<psque> Oh, interesting. I will look around there and see what they do
<psque> Thanks
<ryantm> psque: If you save a gc root of the .drv file, it will ensure the dependencies are not garbage collected. You can find the .drv path with drvpath `pkgs.hello.drvpath`
dbmikus has joined #nixos
cjpbirkbeck has quit [Quit: Quitting now.]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a5e5377202e (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<ryantm> psque: You can make a derivation like writeTextFile { name = "deps"; text = ''${pkgs.hello.drvPath}'';} and when you build it, it will make a gc root that protects the dependencies of hello.
mexisme_ has quit [Ping timeout: 245 seconds]
psque has quit [Ping timeout: 244 seconds]
reinhardt has joined #nixos
alex`` has quit [Quit: WeeChat 2.5]
dump has joined #nixos
dump is now known as Guest41369
<Guest41369> Hi, how should I get nixops to rebuild the machine? Do I have to destroy it first? When I change the configuration files, nixops deploy -d trivial doesn't change the running machine.
jgt1 has joined #nixos
drakonis has quit [Quit: WeeChat 2.5]
nD5Xjz has quit [Ping timeout: 246 seconds]
nD5Xjz has joined #nixos
jgt1 has quit [Ping timeout: 252 seconds]
mexisme_ has joined #nixos
Rusty1 has joined #nixos
hamishmack has joined #nixos
<ivan> Guest41369: does nixops tell you anything at the end of your deploy?
orivej has joined #nixos
adamantium has joined #nixos
<Guest41369> Works now. Sorry
Guest41369 has quit [Quit: Page closed]
dbmikus has quit [Ping timeout: 252 seconds]
clacke_movim has joined #nixos
domogled has joined #nixos
MrCCoffee has quit [Quit: Lost terminal]
ajirx has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
mexisme_ has quit [Ping timeout: 268 seconds]
dbmikus has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
dansho has joined #nixos
o1lo01ol1o has joined #nixos
wfranzini has quit [Remote host closed the connection]
Netsu has quit [Ping timeout: 256 seconds]
<clacke_movim> jtojnar: Hm, what would that entail? Announcing the rename to other services?
o1lo01ol1o has quit [Ping timeout: 245 seconds]
dbmikus has quit [Ping timeout: 252 seconds]
mexisme_ has joined #nixos
mexisme_ has quit [Ping timeout: 245 seconds]
jgt1 has joined #nixos
<tdeo> should python applications be fetched from github or pypi? it's my understanding that libraries should be from pypi and applications should be from the source, no?
nD5Xjz has quit [Quit: ZNC 1.7.1 - https://znc.in]
nD5Xjz has joined #nixos
jgt1 has quit [Ping timeout: 258 seconds]
sb0 has quit [Quit: Leaving]
kim0 has quit [Quit: Connection closed for inactivity]
rycwo_ has joined #nixos
hamishmack has quit [Read error: Connection reset by peer]
domogled has quit [Quit: domogled]
ericsagnes has quit [Ping timeout: 252 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/be7c1a3e6b7 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
vmandela has joined #nixos
WizBright has joined #nixos
Wimpress has joined #nixos
cfricke has joined #nixos
judson_ has joined #nixos
endformationage has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #63501 → discord-{ptb,canary}: init; add `update-discord` → https://git.io/fjV3H
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
ericsagnes has joined #nixos
palo1 has joined #nixos
zupo has joined #nixos
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
Profpatsch has joined #nixos
alp has quit [Ping timeout: 258 seconds]
<dminuoso> tdeo: I'd pick everything from source.
<dminuoso> It's tons easier to fix mistakes and hardwired assumptions (and python libraries seem to be full of them)
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 258 seconds]
Mateon2 is now known as Mateon1
jgt1 has joined #nixos
jgt1 is now known as jgt
polman has quit [Ping timeout: 248 seconds]
polman has joined #nixos
zupo has quit [Read error: Connection reset by peer]
zupo has joined #nixos
mexisme_ has joined #nixos
_e has joined #nixos
_e has quit [Client Quit]
Yakulu has quit [Quit: Gateway shutdown]
_e has joined #nixos
cfricke has quit [Ping timeout: 246 seconds]
drewr has quit [Ping timeout: 248 seconds]
Yakulu has joined #nixos
Yakulu has left #nixos [#nixos]
Yakulu has joined #nixos
qqlq has quit [Ping timeout: 268 seconds]
qqlq_ has joined #nixos
drewr has joined #nixos
rsa has joined #nixos
wfranzini has joined #nixos
<ambro718> Why is nix-build for single user install putting build directories into /run/user/<pid>? That's typically a tmpfs and will run out of space quickly.
cfricke has joined #nixos
<tilpner> ambro718: I'm just guessing, but it could be that without the higher-privileged daemon running it can't properly protect the build directory from other users
<tilpner> Which doesn't really make sense, so it's probably something else
Anton-Latukha has joined #nixos
mexisme_ has quit [Ping timeout: 245 seconds]
kvaster has joined #nixos
<{^_^}> [nixpkgs] @BadDecisionsAlex opened pull request #63502 → python3Packages.django-crispy-forms: init at 1.7.2 → https://git.io/fjVsB
<{^_^}> [nixpkgs] @dmvianna opened pull request #63503 → pythonPackages.pycategories: init at 1.1.0 → https://git.io/fjVs0
asheshambasta_m has joined #nixos
kvaster has quit [Ping timeout: 246 seconds]
ambro718 has quit [Quit: Konversation terminated!]
qqlq_ has quit [Read error: Connection reset by peer]
<clever> tilpner: i think it just always obeys $TMPDIR, and users have a different value then services
m0rphism has joined #nixos
qqlq has joined #nixos
Netsu has joined #nixos
<Netsu> ryantm: thanks!
nD5Xjz has quit [Quit: ZNC 1.7.1 - https://znc.in]
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @BadDecisionsAlex opened pull request #63504 → python3Packages.django-filter: init at 2.1.0 → https://git.io/fjVsV
<gchristensen> A.
<gchristensen> ~.
hunner_ has joined #nixos
<gchristensen> oops
hunner_ is now known as Guest19317
<Guest19317> Hello there
veske2 has joined #nixos
<Guest19317> Anyone have experience with a black screen on boot while installing the iso?
Jackneill has joined #nixos
Guest19317 has quit [Quit: Page closed]
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos
Jackneill has quit [Remote host closed the connection]
<jasongrossman> Guest4937: I haven't. If you tell us what hardware you're using, it might poke somebody's memory.
Jackneill has joined #nixos
veske2 has quit [Quit: This computer has gone to sleep]
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #63505 → Update kernels 4.14 and 5.1 → https://git.io/fjVsF
<tilpner> clever: Yeah, probably
veske has joined #nixos
linarcx has joined #nixos
alp has joined #nixos
hmpffff has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
<{^_^}> [nixpkgs] @sikmir opened pull request #63506 → qtpbfimageplugin: init at 1.4 → https://git.io/fjVGJ
<sphalerite> Guest4937: do you get the boot menu? If so, maybe try the nomodeset option.
<sphalerite> oops wrong Guest
<{^_^}> [nixpkgs] @elseym opened pull request #63507 → plex: 1.15.8.1198 -> 1.16.0.1226 → https://git.io/fjVGY
asheshambasta_m has quit [Quit: Leaving.]
veske has joined #nixos
asheshambasta_m has joined #nixos
mexisme_ has joined #nixos
jasongrossman has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @BadDecisionsAlex opened pull request #63508 → python3Packages.ez_setup: init at 0.9.0 → https://git.io/fjVG3
goibhniu1 has joined #nixos
sb0 has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @BadDecisionsAlex opened pull request #63509 → python3Packages.hiredis-py: init at 1.0.0 → https://git.io/fjVGG
<cizra> Hello! Steam fails to launch Torchlight 2 under NixOS: ERROR UTF-8 Charset not available. Check your LANG, LC_CTYPE, or LC_ALL
ilmu has joined #nixos
<cizra> How could I debug it? I most definitely have a en_US.UTF-8 locale.
ciil has joined #nixos
vidbina has joined #nixos
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #63463 → terraform-providers: bump versions → https://git.io/fjVUa
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fjVGu
kvaster has joined #nixos
<{^_^}> [nixpkgs] @cw789 closed pull request #55712 → beamPackages.hex: 0.17.1 -> 0.19.0 → https://git.io/fh7I8
wfranzini1 has joined #nixos
vidbina has quit [Ping timeout: 268 seconds]
wfranzini has quit [Read error: Connection reset by peer]
wfranzini1 is now known as wfranzini
mexisme_ has quit [Ping timeout: 245 seconds]
Shoubit has joined #nixos
karetsu has joined #nixos
johanot has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b5cf5ff20f9 (from 19 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
kvaster has quit [Ping timeout: 245 seconds]
vidbina has joined #nixos
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/fjVG9
<{^_^}> [nixpkgs] @flokli merged pull request #63037 → google-cloud-sdk: kubeconfig: don't store absolute path to gcloud binary → https://git.io/fj2eu
<gchristensen> andi- ^
mexisme_ has joined #nixos
hellrazor has quit [Quit: WeeChat 2.5]
hellrazor has joined #nixos
<mpickering> Do so libraries get stripped by default during installation?>
Izorkin_ has joined #nixos
pie__ has quit [Ping timeout: 252 seconds]
Izorkin_ has quit [Client Quit]
<karetsu> if I wanted to combine all of the attributes of a set of .nix files in a directory what would my default.nix look like?
Izorkin_ has joined #nixos
fusion809 has joined #nixos
lassulus has joined #nixos
Izorkin has quit [Ping timeout: 245 seconds]
Izorkin_ is now known as Izorkin
<mpickering> karetsu: Combine them in what sense?
<mpickering> you import them all into one file
<mpickering> and then it depends what you want to do
<mpickering> for example, all-packages.nix
thc202 has joined #nixos
<karetsu> suppose I have two files keys.nix and apps.nix and they contain a lot of the same attributes e.g. keys has a foo.bar and apps has a foo.baz declaration, I want to 'compile' them in such a way that I end up using all of those things
<andi-> gchristensen: grr I both hate and love it :P
<gchristensen> andi-: which? :)
<gchristensen> I meant the channel bump
<karetsu> mpickering: i.e. here - https://gitlab.com/karetsu/nix-overlays/tree/master/etc/i3 in my home.nix I want to just import ./etc/i3/common.nix which then deals with the combining of all of the options across all the other files
<andi-> Ahh, I the gce sdk
ajirx has quit [Remote host closed the connection]
<andi-> But it probably isn't what I did fear.. I thought flokli might have packaged all the cpp sdk deps but he didnt
<karetsu> I don't know what that common.nix should look like because its definitely not doing all of it
<gchristensen> ah
Ariakenom has joined #nixos
__monty__ has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @etu merged pull request #63498 → cum: init at 0.9.1 → https://git.io/fjVOE
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fjVZJ
aswanson has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @gebner closed pull request #47992 → Upgrade FreeCAD to qt5, maybe fix seg fault → https://git.io/fxscW
asheshambasta_m has quit [Quit: Leaving.]
astrofog has joined #nixos
Synthetica has joined #nixos
vidbina has quit [Ping timeout: 246 seconds]
hellrazor has quit [Quit: WeeChat 2.5]
elgoosy has joined #nixos
MmeQuignon has joined #nixos
justanotheruser has quit [Ping timeout: 272 seconds]
<flokli> andi-: gchristensen I'm having enough fun with GCP in $dayjob already ;-)
alp has quit [Ping timeout: 272 seconds]
hellrazor has joined #nixos
mexisme_ has quit [Ping timeout: 244 seconds]
nschoe has joined #nixos
<andi-> flokli: ha, just a bit less biking ;)
ajirx has joined #nixos
civodul has joined #nixos
psy3497 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #63512 → python.pkgs.faker: lift restrictive dependencies → https://git.io/fjVZ2
ThatDocsLady_ has joined #nixos
justanotheruser has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
michas has joined #nixos
fendor has joined #nixos
thc202 has quit [Ping timeout: 252 seconds]
karetsu has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @madjar merged pull request #63320 → openfortivpn: 1.9.0 -> 1.10.0 → https://git.io/fja2d
<{^_^}> [nixpkgs] @madjar pushed 2 commits to master: https://git.io/fjVZo
thc202 has joined #nixos
elgoosy has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vbgl merged pull request #63088 → gappa: update and add Coq support library → https://git.io/fj28q
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/fjVZy
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #63142 → linux: Enable kernel config option for raw HID devices → https://git.io/fj27v
<{^_^}> [nixpkgs] @teto pushed 2 commits to master: https://git.io/fjVZ5
cfricke has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @teto merged pull request #63495 → ctypes_sh: init at 1.1 → https://git.io/fjVOJ
<{^_^}> [nixpkgs] @teto pushed commit from @tadeokondrak to master « ctypes_sh: init at 1.1 »: https://git.io/fjVZN
elgoosy has joined #nixos
psyanticy has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @timokau pushed to master « python.pkgs.faker: lift restrictive dependencies (#63512) »: https://git.io/fjVnf
<{^_^}> [nixpkgs] @timokau merged pull request #63512 → python.pkgs.faker: lift restrictive dependencies → https://git.io/fjVZ2
karetsu has joined #nixos
<elgoosy> hi, after changing nixos-channel to 19.03 and `nixos-rebuild switch --upgrade`, rebooting, nixos-version command still outputs 18.09
hio has joined #nixos
<clever> elgoosy: sudo nix-channel --list
<karetsu> trying to start polybar as a service via systemctl, how would I fix the problem of 'systemctl not found' https://paste.debian.net/1088431/
orivej has quit [Ping timeout: 248 seconds]
<karetsu> is this a raising an issue or have I just missed something obvious?
<clever> elgoosy: looks like everything is working as it should
alp has joined #nixos
<gchristensen> karetsu: why is polybar trying to call systemctl?
<karetsu> because I'm running it as a service like https://rycee.gitlab.io/home-manager/options.html#opt-xsession.windowManager.i3.config.startup
<gchristensen> that does not explain why polybar is trying to *call* systemctl
zupo_ has joined #nixos
<karetsu> its not, its polybar_start which is trying to
<karetsu> which is the derivation for the service?
<gchristensen> right, it doesn't explain that
<gchristensen> why does the script to execute polybar need to call systemctl?
<karetsu> are you assuming that I wrote that package?
<gchristensen> I think I'm asking the question which needs to be asked :P
<elgoosy> clever: wow, dont get it. I've added nix-channel --add https://nixos.org/channels/nixos-19.03 nixos. Why does it show 18.09? Is it because i had 18.03 and you cant upgrading hopping 2 versions?
pie__ has joined #nixos
<clever> elgoosy: did you run --add with or without sudo?
<clever> elgoosy: compare `nix-channel --list` and `sudo nix-channel --list`
<{^_^}> [nix] @backuitist opened pull request #2958 → Binary cache - improve error message when trying to copy partial closure → https://git.io/fjVnk
<karetsu> gchristensen: I have almost 0 clue why it does it that way, I think its probably to avoid having a default launch.sh?
zupo has quit [Ping timeout: 248 seconds]
<{^_^}> [nix] @CSVdB opened pull request #2959 → Check whether flag registry is compeletely used → https://git.io/fjVnI
<clever> karetsu: what command are you running, to cause the error message?
<elgoosy> clever: oh, thanks. What is the important difference i should know about channel on root and user?
weedloser has joined #nixos
<clever> elgoosy: nixos-rebuild always uses the channels on root, and you typically only need the user channels if you lack root or want to avoid sudo more
<{^_^}> [nixpkgs] @aanderse merged pull request #63413 → gitea: 1.8.2 -> 1.8.3 → https://git.io/fja5I
<{^_^}> [nixpkgs] @aanderse pushed 3 commits to master: https://git.io/fjVnO
<karetsu> clever: systemctl --user start polybar
<karetsu> sorry, -start+restart
<clever> karetsu: and your running that directly in a shell?, what does `type systemctl` say?
<karetsu> `systemctl is /run/current-system/sw/bin/systemctl`
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> karetsu: can you pastebin your home-manager config?
<elgoosy> clever: thanks a lot
<karetsu> clever: the content of polybar start is: https://paste.debian.net/1088434/ yet when I try to use that as me it works fine :/
<clever> karetsu: systemd runs services with a different PATH
<karetsu> clever: I keep my config here https://gitlab.com/karetsu/nix-overlays the command is in etc/i3/apps.nix
<clever> karetsu: that line is why its trying to run systemctl from the service
<clever> try using /run/current-system/sw/bin/systemctl instead of normal systemctl
<clever> karetsu: but note, that may just lead to infinite recursion, starting polybar restarts polybar, which restarts polybar....
Makaveli7 has quit [Quit: WeeChat 2.5]
<Unode> hi all, if I want to create a systemd service in configuration.nix that should be launched at boot once, do I still need to configure a timer for it?
<clever> karetsu: i would delete the line i linked to
<karetsu> script is required, I'll just make it my own launch.sh
<clever> Unode: nope, timers are only needed for scheduling based on time
<Unode> clever: do I need to set some enable flag or something ? I don't even see the service with 'systemctl list-units'
<clever> karetsu: then you probably want start, not restart
<clever> Unode: you need to set wanted-by
clacke_movim has left #nixos [#nixos]
<Unode> ah
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<clever> Unode: that will result in multi-user.target, wanting snmpd.service
<clever> so when you boot, and enter multi-user mode, systemd will bring up snmpd
<Unode> clever: cool, all other services I had were controlled by timers which had their own wanted_by clauses.
<clever> Unode: you also dont have to touch systemd.timers
<clever> Unode: if you set the startAt on a service, nixos will auto-generate a timer of the same name, and link the timer&service for you
<{^_^}> [nixpkgs] @lheckemann merged pull request #63479 → dcm2niix: 1.0.20170130 -> 1.0.20190410 → https://git.io/fjVI8
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/fjVnV
<karetsu> clever: even with script set to anything else it still fails, I'll just not use systemctl for it
<clever> karetsu: you want to replace systemctl with /run/current-system/sw/bin/systemctl
sigmundv has joined #nixos
<karetsu> I've done that, but the problem comes from the fact that polybar.service is in /nix/store and its that version which is failing rather than my home-manager config
<karetsu> :(
elgoosy has quit [Remote host closed the connection]
Neo-- has joined #nixos
<clever> karetsu: you had systemctl in 2 nix files on your repo
<clever> karetsu: did you also replace this one?
<karetsu> yeah, I updated it in both versions and running it from command line directly fails in teh same way
<clever> karetsu: did you tell home-manager to rebuild?
<karetsu> yes
<{^_^}> [nixpkgs] @lheckemann pushed to release-19.03 « dcm2niix: 1.0.20170130 -> 1.0.20190410 (#63479) »: https://git.io/fjVn1
<clever> karetsu: cant think of what else to check
<karetsu> its fine, I'll take the path of least resistence and just use launch.sh
zupo has joined #nixos
<karetsu> if its just me then I've probably messed something up somewhere
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/d77e3bd6613 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<karetsu> I'll find the closure etc. and take it to the issues
<gchristensen> andi-: ^
<andi-> thanks!
<{^_^}> [nixpkgs] @primeos merged pull request #63260 → gpgme: 1.13.0 -> 1.13.1 → https://git.io/fja4k
<{^_^}> [nixpkgs] @primeos pushed 2 commits to staging: https://git.io/fjVn7
pie__ has quit [Read error: Connection reset by peer]
dermetfan has joined #nixos
dermetfan has quit [Client Quit]
<balsoft[m]> Hello! I've noticed some nixos users (me included) are having some issues with curl
<balsoft[m]> warning: unable to download 'https://cache.nixos.org/nar/<hash>.nar.xz': HTTP error 200 (curl error: Timeout was reached); retrying in 346 ms
<balsoft[m]> error 9 while decompressing xz file
<clever> ,cache balsoft[m]
<gchristensen> hmmm timeout interesting
<gchristensen> balsoft[m]: does that then exit?
<balsoft[m]> Yep
<balsoft[m]> That's very annoying
<gchristensen> no retry?
<balsoft[m]> Yep
<balsoft[m]> Even more annoying: it does that consistently
<gchristensen> okay, cool. I was trying to recreate this problem before and was unable. thank you
<balsoft[m]> That only happens for big files, though
fendor has quit [Ping timeout: 245 seconds]
<balsoft[m]> <=7b^_^=7d "balsoft: https://discourse.nixos"> That doesn't seem to be the case
<balsoft[m]> I don't use ipv6 at all
<gchristensen> this one is a different issue than ipv6
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> unfortunately it seems that Users -> Fastly -> S3 periodically see timeouts
<gchristensen> a possible next step to experiment with is Users -> Fastly -> CloudFront -> S3
<balsoft[m]> So... This is very annoying.
<balsoft[m]> I can't even work because of that.
asheshambasta_m has joined #nixos
Makaveli7 has joined #nixos
<balsoft[m]> And I can't update to latest nixpkgs-unstable, too.
<gchristensen> hmm how many times have you seen it in the last 2 hours?
<balsoft[m]> I'm seeing this consistently for the last three days
<gchristensen> yes, but how many times over the last 2 hours?
<balsoft[m]> Like... A lot?
<gchristensen> 10 times? 100,000,000 times?
<balsoft[m]> I have it running on while true; do nix-build -A ghcjs.common; done
<balsoft[m]> For about 2-3 hours now
<balsoft[m]> And it didn't succeed to download it even once
<balsoft[m]> I'd guess on the order 100 times
<gchristensen> cool
<gchristensen> okay, can you run `traceroute cache.nixos.org` and send me the results?
<balsoft[m]> http://ix.io/1MbC
<balsoft[m]> I am currently on a mobile connection, but it reproduces on broadband
<gchristensen> okay, can you visit with privacy blockers disabled http://www.fastly-debug.com/ and send me the base64 bits?
ubert has joined #nixos
<balsoft[m]> http://ix.io/1MbD
<manveru> balsoft[m]: is `r` an alias for `NIX_AUTO_RUN=1`?
alp has quit [Ping timeout: 257 seconds]
<gchristensen> okay I filed an issue upstream, balsoft[m]
<balsoft[m]> <manveru "balsoft: is `r` an alias for `NI"> Nope, its a function r(){nix run $1 -c $1}
<manveru> ah, ok :)
<balsoft[m]> <gchristensen "okay I filed an issue upstream, "> Thank you very much
<balsoft[m]> Whoops, sorry for the replies, on a matrix bridge
<gchristensen> no worries
awado has joined #nixos
<balsoft[m]> What can I do in the meantime?
<balsoft[m]> I mean, I have to get some stuff done
<balsoft[m]> Is there perhaps some sort of mirror or something?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7fd23d128b1 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<manveru> balsoft[m]: does it work with --fallback ?
<balsoft[m]> Oh, thanks, forgot about that :)
<balsoft[m]> I would hope it does
<manveru> otherwise `--option substituters ""`
cfricke has joined #nixos
<gchristensen> also I have mirrored it here http://gsc.io/03dhqsszj6s4sm6xabv081yrdqnihd2b8z8dv98x1bhdqqlfaj8x.nar.xz which may work for you
awado has quit [Ping timeout: 256 seconds]
<gchristensen> if you trust my random server without https for some reason
<balsoft[m]> or perhaps --no-substitute
<balsoft[m]> gchristensen: I do :)
<balsoft[m]> Thank you very much!
clacke_movim has joined #nixos
ericsagnes has quit [Ping timeout: 246 seconds]
<clever> gchristensen: the narinfo also has a hash of the .nar.xz, and that hash is signed by the hydra keys
<clever> gchristensen: so theres not much you can do, other then exploiting xz directly, lol
<balsoft[m]> <manveru "otherwise `--option substituters"> Yeah that does actually work, thank you everyone for your help!
<infinisil> Or there's also --option substitute false
the-kenny has joined #nixos
<clever> i tend to have many caches, so u ise `--option substituters ...` to exclude the faulty one and keep using others
tsrt^ has quit []
eph^ has joined #nixos
filedesless has quit [Ping timeout: 245 seconds]
ashkitten has quit [Ping timeout: 268 seconds]
asheshambasta_m has quit [Quit: Leaving.]
xkapastel has joined #nixos
jasongrossman has joined #nixos
ashkitten has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #63492 → ctop: 2017-05-28 -> 0.7.2 → https://git.io/fjVYR
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVc1
rauno has joined #nixos
ericsagnes has joined #nixos
alp has joined #nixos
ashkitte1 has joined #nixos
ashkitten has quit [Ping timeout: 268 seconds]
filedesless has joined #nixos
<{^_^}> [nixpkgs] @talkara opened pull request #63514 → pythonPackages.z3c_checkversions: init at 1.1 → https://git.io/fjVcd
ashkitten has joined #nixos
<karetsu> how do I find out what my monitor identifiers are for polybar?
<karetsu> I have the identifier for the monitor I don't want but not the one I do >_<
ashkitte1 has quit [Ping timeout: 246 seconds]
<karetsu> ah got it, nvm
ericsagnes has quit [Ping timeout: 252 seconds]
fendor has joined #nixos
rauno has quit [Ping timeout: 252 seconds]
Mister_Magister has joined #nixos
<{^_^}> [nixpkgs] @abbradar merged pull request #63465 → xiccd: 0.2.4 -> 0.3.0 → https://git.io/fjVUh
<{^_^}> [nixpkgs] @abbradar pushed commit from @r-ryantm to master « xiccd: 0.2.4 -> 0.3.0 »: https://git.io/fjVCe
hyper_ch2 has joined #nixos
v88m has quit [Ping timeout: 258 seconds]
ericsagnes has joined #nixos
weedloser is now known as epicman
<Unode> clever: thanks, I see the unit now
epicman is now known as weedloser
kim0 has joined #nixos
weedloser is now known as epicman
pie__ has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjVCq
epicman is now known as eqeqe
eqeqe has quit [Quit: Leaving]
weedloser has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
hmpffff has quit [Quit: nchrrrr…]
nD5Xjz_ has joined #nixos
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/fjVCB
<{^_^}> [cabal2nix] @peti merged pull request #422 → Run hpack in prePatch phase → https://git.io/fjae6
filedesless has quit [Ping timeout: 248 seconds]
nD5Xjz has quit [Ping timeout: 244 seconds]
filedesless has joined #nixos
<{^_^}> [cabal2nix] @peti pushed to master « Bump version number to 2.14.4 for release. »: https://git.io/fjVCE
<{^_^}> [cabal2nix] @peti pushed 0 commits to refs/tags/v2.14.4: https://git.io/fjVCu
<{^_^}> [cabal2nix] @peti closed pull request #380 → Add `isSimpleBuild` to generated derivations → https://git.io/fxWid
Yakulu has left #nixos ["Disconnected: Replaced by new connection"]
Yakulu has joined #nixos
oida has joined #nixos
knupfer has quit [Ping timeout: 252 seconds]
johanot has quit [Quit: WeeChat 2.4]
johanot has joined #nixos
weedloser has quit [Quit: Leaving]
weedloser has joined #nixos
mariel__ has joined #nixos
ThatDocsLady_ has quit [Remote host closed the connection]
judson__ has joined #nixos
mariel__ has quit [Remote host closed the connection]
mariel__ has joined #nixos
judson_ has quit [Ping timeout: 252 seconds]
sb0 has quit [Quit: Leaving]
pie__ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #57767 → meson: 0.49.1 → 0.50.1 → https://git.io/fjv3q
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/fjVCS
ThatDocsLady_ has joined #nixos
astrofog has quit [Remote host closed the connection]
pie__ has joined #nixos
jgt has joined #nixos
mariel__ has quit [Read error: Connection reset by peer]
ajirx has quit [Remote host closed the connection]
orivej has joined #nixos
<{^_^}> [systemd] @gloaming opened pull request #28 → Revert "units: order systemd-user-sessions.service after network.target" → https://git.io/fjVC7
knupfer has joined #nixos
jgt has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to staging: https://git.io/fjVCF
hmpffff has joined #nixos
<arianvp> Heya. Anybody any luck with an apple Thunderbolt 3 to thunderbolt 2 converter on NixOS?
<arianvp> Linux just gives me "Cannot enable. Maybe USB cable is bad?"
<arianvp> This is on a ThinkPad t490
<arianvp> I'm trying to connect to a displayport monitor using it
<exarkun> I see there are a number of terraform providers packaged for nixos ... but installing them doesn't let terraform use them. are they meant to be used by the nixos packaged terraform? or are they for something else and I should let the terraform cli install plugins its own way?
<clever> exarkun: you must use terraform.withPlugins to patch it into supporting them, https://github.com/input-output-hk/iohk-ops/blob/master/terraform/terraform.nix#L22-L26
<clever> exarkun: the example i linked gets local and template from nixpkgs,and then fetches a custom aws provider version
vmandela has left #nixos ["Leaving"]
<exarkun> ah, thanks!
Soo_Slow has joined #nixos
hoek has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #63356 → python37Packages.falcon: 1.4.1 -> 2.0.0 → https://git.io/fjaPQ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVCp
weedloser_ has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #63050 → cloud-nuke: init at 0.1.7 → https://git.io/fj2tS
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVWe
<otini> is it normal that the critical security fix for Firefox is not yet in unstable nixpkgs?
weedloser_ has quit [Max SendQ exceeded]
weedloser_ has joined #nixos
<hyper_ch2> yes
weedloser has quit [Quit: Leaving]
weedloser_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @teto merged pull request #63108 → Lua/luarocks packaging improvements → https://git.io/fj2gX
<{^_^}> [nixpkgs] @teto pushed 10 commits to master: https://git.io/fjVWf
weedloser has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #63466 → xmrig: 2.14.1 -> 2.14.4 → https://git.io/fjVTl
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVWk
hmpffff has quit [Quit: nchrrrr…]
<{^_^}> [flake-registry] @edolstra pushed to master « Add nixos-homepage flake »: https://git.io/fjVWq
dansho has quit [Quit: Leaving]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/30a82bba734 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @marsam merged pull request #63298 → mill: 0.4.0 -> 0.4.1 → https://git.io/fja0N
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVWR
<{^_^}> [hydra] @nlewo opened pull request #656 → hydra-server: add limit parameter on search path → https://git.io/fjVW0
iyzsong has joined #nixos
aswanson has joined #nixos
alex`` has joined #nixos
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #63515 → nheko: 0.6.3 -> 0.6.4, mtxclient: 0.2.0 -> 0.2.1 → https://git.io/fjVWz
<{^_^}> [nixpkgs] @worldofpeace merged pull request #63204 → localtime: use upstream unit, fix polkit rules → https://git.io/fjaY8
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjVW2
Yakulu has left #nixos ["Disconnected: Replaced by new connection"]
Yakulu has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
weedloser has left #nixos ["Leaving"]
<{^_^}> [nixos-homepage] @edolstra pushed 2 commits to flake: https://git.io/fjVWV
nD5Xjz_ has quit [Ping timeout: 268 seconds]
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #63314 → now-cli: 15.3.0 -> 15.5.0 → https://git.io/fjazf
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVWw
karetsu has quit [Quit: WeeChat 2.4]
cfricke has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @marsam merged pull request #63309 → ncdc: 1.22 -> 1.22.1 → https://git.io/fjauf
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVWP
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/83ba5afcc96 (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
o1lo01ol1o has joined #nixos
knupfer has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #63487 → prometheus_2: 2.9.2 -> 2.10.0 → https://git.io/fjVmm
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVWy
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/fjVWS
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-19.03: https://git.io/fjVW9
<{^_^}> [nixpkgs] @NeQuissimus closed pull request #63505 → Update kernels 4.14 and 5.1 → https://git.io/fjVsF
rprije has quit [Ping timeout: 248 seconds]
jgt has joined #nixos
<otini> Well it was just merged.
o1lo01ol1o has quit [Remote host closed the connection]
hex4 has quit [Ping timeout: 245 seconds]
Anton-Latukha has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @Lassulus merged pull request #58834 → rocksdb: 5.11.3 -> 6.1.2 → https://git.io/fjIBh
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/fjVWb
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
hlavaty has joined #nixos
fpob has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
fpob has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #63520 → setup.sh: add dontConfigure → https://git.io/fjVlJ
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixos-homepage] @edolstra pushed to flake « Generate packages / options »: https://git.io/fjVlL
stepcut has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @basvandijk opened pull request #63521 → cargo-graph: init at 0.2.0-d895af1 → https://git.io/fjVlG
JosW has joined #nixos
reinhardt has quit [Quit: Leaving]
ottidmes has joined #nixos
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #nixos
adamantium has quit [Remote host closed the connection]
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #63522 → vscodium: Symlink backwards-compabible `vscodium` executable → https://git.io/fjVlP
karetsu has joined #nixos
<exarkun> cool, nixos packaged version of terraform aws provider panics when reading my terraform state.
alp has quit [Remote host closed the connection]
<fendor> incredible upgrade speed for firefox and thunderbird, thumbs up!
<clever> exarkun: might be why the example i linked is changing the aws version
<exarkun> hm indeed
Makaveli7 has quit [Quit: WeeChat 2.5]
karetsu has quit [Quit: WeeChat 2.4]
<exarkun> hm looks like not so much :/
<exarkun> unless attempting to read the state with that version corrupted it so that now reading it with the new version also crashes
<exarkun> (not obviously)
<exarkun> or maybe changing versions of a plugin just makes terraform angry... re-init fixes the issue. maybe that was also the problem before, too.
<hyper_ch2> what's terraform?
<exarkun> a ... provisioning tool
<hyper_ch2> hmmm, isn't that what nixops does?
<hyper_ch2> <-- just an average home computer user
<exarkun> there is some overlap
<exarkun> terraform supports about 100x more kinds of things than nixops
<hyper_ch2> oh well, I don't know too much about that :)
<hyper_ch2> good luck with figuring out the issues though :)
<exarkun> (but of course nixops has more support for things you might want to do with nixos)
jgt has joined #nixos
<hyper_ch2> (my notebook runs nixos, my home server runs nixos, my office server runs nixos, another office server runs nixos, my vpn server runs nixos, my other vpn server runs nixos, and my mail/webserver runs debian)
<exarkun> it looks like it's working now ... I think the problem was always just changing around the plugin version without re-initializing terraform
jbgi has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #63523 → luarocks: 3.0.4 -> 3.1.3 → https://git.io/fjV8c
<tilpner> hyper_ch2: How many servers do you guess the average home computer user has?
<hyper_ch2> 5? :)
<tilpner> I wish
<hyper_ch2> they have a nas
<clever> tilpner: i have 5 machines in the house currently
<hyper_ch2> they have windows... which is so open that it counts as server ;)
<clever> hyper_ch2: your guess was dead on!
<tilpner> clever: My point was that you can't go to #nixos and search for average computer users
<clever> :D
<hyper_ch2> tilpner: but I am an averager computer user :)
<tilpner> :/
<exarkun> the distribution of computer users is probably so lumpy and smeared out that "average" is a meaningless statistic
<samueldr> (do I want to be a lumpy nixos user?)
<exarkun> lumps are alright
sb0 has joined #nixos
<hyper_ch2> tilpner: btw, wb to #zfs :)
<hyper_ch2> s/wb/welcome/
xkapastel has joined #nixos
<hyper_ch2> (didn't notice you in #zfs before)
<tilpner> Oh, I ask stupid questions from time to time :)
<hyper_ch2> I do that all the time
<jbgi> Here is my scenario: nix start building large derivation that is not binary-cached by our remote hydra, I stop the build. Then hydra finish its job and the derivation is available remotely. I retry the nix build locally but it appears nix does retry to download from the binary cache... :( How do I force nix to retry binary caches?
<hyper_ch2> and sometimes I anger devs so much that they perma-ban me
<tilpner> hyper_ch2: You should try the special device thing, you can remove them from the pool at any time
<jbgi> *does not retry
<hyper_ch2> tilpner: will have a look
<tilpner> jbgi: nix show-config | grep negative-ttl
<tilpner> jbgi: Assuming that's 3600, and the unit is seconds, it would cache the absence of a narinfo for an hour
<tilpner> jbgi: You could try nuking ~/.cache/nix
<hyper_ch2> let's have a read https://github.com/zfsonlinux/zfs/pull/5182
<{^_^}> zfsonlinux/zfs#5182 (by don-brady, 2 years ago, merged): Metadata Allocation Classes
ThatDocsLady_ has quit [Quit: Leaving]
<tilpner> (Specifically binary-cache-v6.sqlite)
ThatDocsLady has joined #nixos
ThatDocsLady has quit [Client Quit]
<jbgi> tilpner: thanks! perfect!
ThatDocsLady has joined #nixos
<tilpner> jbgi: A potentially more elegant solution would be --option narinfo-cache-negative-ttl 0
nahamu has joined #nixos
ThatDocsLady has quit [Client Quit]
ThatDocsLady has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #63524 → rclone: 1.47.0 -> 1.48.0 → https://git.io/fjV8i
ThatDocsLady has quit [Client Quit]
ThatDocsLady has joined #nixos
vmandela has joined #nixos
<clever> jbgi: you can also remove ~/.cache/nix/binary-cache-v6.sqlite to make it forget about things once, without having to change the ttl
tjg1 has joined #nixos
ThatDocsLady_ has joined #nixos
mariel__ has joined #nixos
ThatDocsLady_ has quit [Remote host closed the connection]
<tilpner> I suggested exactly that :c
ThatDocsLady has quit [Quit: Leaving]
hlavaty has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
ThatDocsLady has quit [Client Quit]
ThatDocsLady has joined #nixos
qqlq has quit [Quit: ZNC 1.7.3 - https://znc.in]
orivej has joined #nixos
qqlq has joined #nixos
lordcirth has joined #nixos
iyzsong has quit [Read error: Connection reset by peer]
<Mic92> (untested)
CapsLock has left #nixos ["WeeChat 2.3"]
xacktm has quit [Ping timeout: 252 seconds]
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
mariel__ has quit [Quit: Leaving]
ThatDocsLady has quit [Quit: Leaving]
abbec has joined #nixos
sb0 has quit [Ping timeout: 245 seconds]
ThatDocsLady has joined #nixos
<abbec> hey, I am trying to install vim with python3 support using `nix-env`. However, no matter how I use `--arg` or `--argstr` it does not make a difference
orivej has quit [Ping timeout: 245 seconds]
vmandela has quit [Remote host closed the connection]
jtojnar has quit [Ping timeout: 248 seconds]
<abbec> for example `nix-env -i vim_configurable --argstr features tiny` still gives me the huge version
vmandela has joined #nixos
<abbec> am I missing/misunderstanding something?
<clever> abbec: --arg doesnt work like that
<clever> abbec: its best to use something like an overlay to do things like this
<clever> abbec: self: super: { tiny-vim = super.vim_configurable.customize { features = "tiny"; }; }
<abbec> ah, ok that is what I suspected...
<abbec> how does --arg work then?
<clever> abbec: then you can nix-env -iA nixos.tiny-vim
<clever> abbec: one minute
<clever> abbec: when nix loads a given file, it will check if the top-level value was a function (the root nixpkgs function in this case), and call it with any args it can accept
<clever> which allows, nix-env -iA nixos.whatever --arg config '{ allowUnfree = true; }'
<clever> and then, for every attr in the -A foo.bar.baz, it will repeat that again
<clever> vim_configurable is not a function, so it wont try to call it with any arguments
<clever> and unused args are silently ignored
lsyoyom has joined #nixos
<abbec> ah, it is not a function, got it
<clever> `nix-env -iA nixos.vim_configurable.customize --argstr features tiny` may work, but then you have another downside, youll forget the magic incantation, and 6 months down the road, you wont remember how to get the new tiny vim when upgrading
<clever> putting it all into an overlay forces you to keep a hard record of what the trick is, and you can just nix-env -iA nixos.tiny-vim any time you want to upgrade it
domogled has joined #nixos
<abbec> and I put it in ~/.config/nixpkgs/overlays.nix?
sb0 has joined #nixos
<abbec> this is on non-nixos
<clever> abbec: i think so, or the overlays directory
<clever> abbec: ive not used overlays outside of nixos
Ariakenom_ has joined #nixos
<abbec> ye, cool, thanks a lot
Ariakenom has quit [Ping timeout: 248 seconds]
hmpffff_ has joined #nixos
hmpffff has quit [Ping timeout: 244 seconds]
endformationage has joined #nixos
hmpffff_ has quit [Quit: nchrrrr…]
<{^_^}> [hydra] @edolstra merged pull request #656 → hydra-server: add limit parameter on search path → https://git.io/fjVW0
<{^_^}> [hydra] @edolstra pushed 3 commits to master: https://git.io/fjV4M
<stepcut> how do I upgrade to a newer version of nixos-rebuild?
jtojnar has joined #nixos
<hyper_ch2> nixos-rebuild boot|switch --upgrade
<stepcut> I get loads of errors like, error: cannot start daemon worker: current Nix store schema is version 10, but I only support 7
<stepcut> nix-env --version reports 2.2.2. But the nixos-rebuild script seems to have some hardcoded references to nix-1.10
endformationage has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « git-annex: update sha256 for version 7.20190615 »: https://git.io/fjV4A
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: disable builds that are broken on Hydra »: https://git.io/fjV4p
MmeQuignon has quit [Ping timeout: 244 seconds]
<infinisil> stepcut: Can you run `nix-shell -p nix-info --run nix-info`? What does it output?
<yorick> how do I override ocaml packages?
sigmundv has quit [Quit: Leaving]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjVBk
<infinisil> stepcut: What about `systemctl cat nix-daemon`?
<{^_^}> [nixpkgs] @Infinisil merged pull request #63163 → doc/idris: Fix install instructions → https://git.io/fj2pp
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjVB3
o1lo01ol1o has joined #nixos
<eraserhd> I'm trying to build something on Mac and it's getting an error that it needs 10.12... I thought that updating stdenv to 10.12 was merged already, though?
sheeldotme has joined #nixos
zachk has joined #nixos
drakonis has joined #nixos
jabranham has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjVBM
<{^_^}> [nixpkgs] @peti pushed to master « ghc-8.8.x: bump version to alpha 2 »: https://git.io/fjVBD
<{^_^}> [nix] @CSVdB opened pull request #2961 → Added tests for the `nix flake` CLI → https://git.io/fjVBy
hyper_ch2 has quit [Quit: Page closed]
<stepcut> infinisil: nm. I seriously hacked up the nixos-rebuild script and got things working
Soo_Slow has quit [Remote host closed the connection]
drakonis_ has joined #nixos
xelxebar_ has joined #nixos
johanot has quit [Quit: WeeChat 2.4]
xelxebar has quit [Ping timeout: 256 seconds]
<{^_^}> [nix-mode] @jabranham opened pull request #82 → Silence byte compiler warnings in nix-shell → https://git.io/fjVBd
<{^_^}> [nixpkgs] @midchildan opened pull request #63525 → sourcetrail: 2019.1.11 -> 2019.2.39 → https://git.io/fjVBh
endformationage has joined #nixos
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
domogled has quit [Quit: domogled]
<infinisil> stepcut: What did you do? For future log searchers
ambro718 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-stack: clean up deep overrides »: https://git.io/fjVRq
<{^_^}> [nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/fjVRO
ddellacosta has joined #nixos
<pbb> Hi, how do you guys unlock your luks root partition via ssh in initrd? I can unlock it but how can I continue the boot process from the ssh session?
<pbb> the init script uses bash read to get the password, and then hands it to cryptsetup, so there is no cryptsetup process I can kill
<stepcut> infinisil: edited the script so that it did not try to use nix-daemon and set the PATH to favor /root/.nix-profile/bin, and maybe some other things
alex`` has quit [Ping timeout: 245 seconds]
alex`` has joined #nixos
jtojnar_ has joined #nixos
jtojnar has quit [Ping timeout: 252 seconds]
jtojnar_ is now known as jtojnar
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
<{^_^}> [nix-mode] @matthewbauer pushed 2 commits to master: https://git.io/fjVR4
<{^_^}> [nix-mode] @matthewbauer merged pull request #82 → Silence byte compiler warnings in nix-shell → https://git.io/fjVBd
erasmas has joined #nixos
orivej has joined #nixos
<{^_^}> [rfcs] @edolstra pushed to accepted « "accepted" directory -> "rfcs" directory »: https://git.io/fjVRB
<ambro718> How do I set the directory where build directories are created in nix.conf?
<{^_^}> [rfcs] @edolstra opened pull request #48 → "accepted" directory -> "rfcs" directory → https://git.io/fjVRR
<{^_^}> [nixpkgs] @marsam merged pull request #63217 → bazelisk: 0.0.4 -> 0.0.7 → https://git.io/fjaOp
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVR0
<clever> ambro718: nix will obey TMP or TMPDIR i believe
<clever> pbb: one minute
domogled has joined #nixos
<clever> pbb: i think you can just `killall cryptsetup`
orivej has quit [Ping timeout: 268 seconds]
sigmundv has joined #nixos
<clever> pbb: the stage-1-init.sh will treat that as having gotten the wrong pw, and try again, then i think it will notice its already open and keep going?
Thra11 has joined #nixos
dm9 has joined #nixos
<ambro718> clever: right, but I can't set it in nix.conf?
<ambro718> That seems nonsensical.
zachk has quit [Ping timeout: 245 seconds]
dbmikus has joined #nixos
<clever> ambro718: looking...
<ambro718> I'm dealing with https://github.com/NixOS/nix/issues/2957 and I want to figure out what to tell people so that they won't run into problems.
wfranzini has quit [Remote host closed the connection]
<{^_^}> nix#2957 (by ambrop72, 9 hours ago, open): Single-user install should not use /run/user/<pid> for build directories.
<clever> ambro718: this is where it actually makes /tmp/nix-build-x
<clever> it calls tempName, with the root set to an empty string
<clever> which is defined up about 15 lines
<clever> yeah, it can only use $TMPDIR
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> when using multi-user nix, nix-daemon is ran by systemd, and then it doesnt point into /run/user/1000/
<ambro718> clever: Any idea how it could end up using /run/user/<pid> when TMPDIR is *not* set?
<ambro718> clever: I just installed nix via the install script, does that end up with a multi-user install?
<clever> ambro718: i think only darwin does multi-user, but gchristensen should be able to confirm
<clever> ambro718: `ps aux | grep nix-daemon` ?
<ambro718> clever: Nothing.
<clever> ambro718: echo $TMPDIR ?
<Shoubit> Sort of related: what's the best way to get a multi-user Nix up and running outside NixOS? Last time I did it I had to download an old dpkg version of Nix and upgrade through several versions until I got to the latest release.
sigmundv has quit [Quit: Leaving]
<ambro718> clever: TMPDIR is not set. If I run nix-build then, it ends up using /run/user/pid. If I set TMPDIR=/tmp prior, it uses that.
<nahamu> flag to the installer should just work...
<{^_^}> [nixpkgs] @xrelkd opened pull request #63526 → eksctl: 0.1.35 -> 0.1.36 → https://git.io/fjVRP
sheeldotme has joined #nixos
<clever> ambro718: one sec
sigmundv has joined #nixos
<clever> ambro718: if TMPDIR is not set, it will use XDG_RUNTIME_DIR, if that is also not set, it will use /tmp
<clever> ambro718: it will then overwrite TMPDIR, TEMPDIR, TMP and TEMP, with the choice it made
<ambro718> clever: Indeed XDG_RUNTIME_DIR is set to /run/user/1000
<clever> ambro718: clearing that too should force it back to /tmp/
<ambro718> It's set by the fedora default setup, don't want to mess with it.
<clever> ambro718: and note, you want `unset`, not `export XDG_RUNTIME_DIR=`
<clever> ambro718: you may need a PR to nix, to add an option
<clever> ambro718: libstore/build.cc looks like the best place, change the "" to point to the option, and if the option is "", the old behaviour returns
<ambro718> It just sucks I can't tell people to install nix with the installed and build my software, because it's going to fail when it ends up using the small tmpfs, and I also can't tell them to edit a config file. Only setting TMPDIR in bashrc or whatever would fix it, which will affect other programs.
<clever> ambro718: related, one of my old machines had a persistant /tmp, but it cleared it on bootup, and one day after an unplanned reboot, it didnt come up right away
<clever> ambro718: i went over to the console, to discover there was 20gig of garbage in /tmp, and the boot waits until its all cleaned up before continuing, lol
Ariakenom_ has quit [Ping timeout: 258 seconds]
<clever> ambro718: if you get them to use a binary cache service (either your own, or cachix), then they can just download a pre-built copy
<clever> ambro718: and there tmp dir wont be as loaded as heavily
<ambro718> I just set the option to purge /tmp on startup on my system.
<clever> it will also make things build much faster for them
<ambro718> Don't really want to maintain a binary cache, the point of using nix is to reduce maintentance effort.
<ambro718> And it doesn't help when everyone could have different nixpkgs.
<clever> ambro718: your default.nix would need to specify which nixpkgs to use
filedesless has quit [Ping timeout: 245 seconds]
ddellacosta has quit [Quit: WeeChat 2.2]
<stepcut> I am trying to use an ssh-ng:// substituter, but the ssh connection is not finding the right set of keys or connection to ssh-agent or something. Is there anyway to get nix-daemon to run the substituter with ssh -v and log the output somewhere?
<clever> stepcut: nix-daemon is running under systemd, so it likely wont find your agent, you could use /root/.ssh/ssh_config to force which key to use, or just have /root/.ssh/id_rsa lack a passphrase
hmpffff has joined #nixos
<clever> stepcut: checking some source...
<stepcut> if `/root/.ssh/ssh_config` forces a key -- that does not help with the passphrase issue does it ?
<clever> stepcut: aha, modify the systemd service to set `NIX_SSHOPTS = "-v"`
<stepcut> k
alex`` has quit [Ping timeout: 246 seconds]
<clever> stepcut: systemd.services.nix-daemon.environment.NIX_SSHOPTS = "-v";
<stepcut> in my NIX_PATH I have these bits, ssh-auth-sock=/tmp/ssh-1ymFiHoK6B/agent.9176:ssh-config-file=/home/stepcut/nix-seereason/ssh-config, but I have concerns about ssh-auth-sock working correctly because ssh-agent does not like it when the euid and uid don't match
<clever> stepcut: similarly, you could just systemd.services.nix-daemon.environment.SSH_AUTH_SOCK = "/whatever";
<clever> stepcut: ssh-auth-sock in NIX_PATH only works for pkgs.fetchGitPrivate, and wont help with ssh-ng://
<stepcut> k
<clever> stepcut: i also have a hack with nc to fix the uid problem you just mentioned
<clever> stepcut: but that likely wont be needed in this case, root is an exception in ssh-agent
<stepcut> so for ssh-ng:// if I want to use ssh-agent, do I need to somehow start an ssh-agent for root and then also set the SSH_AUTH_SOCK path?
alex`` has joined #nixos
orivej has joined #nixos
<clever> stepcut: aha, you can do ssh-ng://host?ssh-key=/path/to/key
<clever> but passphrase is still an issue
<stepcut> yeah, I saw the ssh-key thing. The passphrase is the big troublemaker
<clever> stepcut: one min
sigmundv has quit [Ping timeout: 272 seconds]
<clever> stepcut: this will authorized a given pubkey to read the store, but not modify it, and not be able to run anything
<clever> stepcut: would that be enough to make you confortable without a passphrase?
<stepcut> it would be an improvement, but still not ideal. There are things in the /nix/store that I'd prefer people not read
<clever> stepcut: the attacker would still need to steal both your id_rsa, and know the storepath of the secret
orivej has quit [Ping timeout: 248 seconds]
drakonis has quit [Quit: WeeChat 2.5]
<clever> stepcut: i dont think ssh-serve allows listing the store, so they would have to know what to ask for
michas has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ilmu has quit [Ping timeout: 272 seconds]
<clever> nix copy --to file://./cache-test/ /nix/store/5bi5qvvn7j3jw3j177xa1q907wfj37sy-file-5.36
<clever> stepcut: this is another option, it will just create a directory suitable for http:// cache operations, throw an http-server of your choice at it, and your up-and-running
<clever> stepcut: you may also want to mix nix sign-paths in also
ubert has quit [Remote host closed the connection]
<stepcut> I did not see a way to do authentication for http:// caches
<clever> stepcut: ah, yeah, you would need to use firewall or vpn stuff to restrict access
Soo_Slow has joined #nixos
v88m has joined #nixos
drakonis has joined #nixos
<clever> stepcut: you may also be able to adjust ssh-serve some....
<clever> stepcut: this is forcing ssh to run nix-store --serve or nix-daemon --stdio depending on version
gratto has quit [Read error: Connection reset by peer]
<clever> stepcut: if you modify it, to use nix-store --serve --store local?root=/second/store/
pointfourone has joined #nixos
<clever> stepcut: then it can only share what is in /second/store/nix/store
<clever> and youll want nix copy --to local?root=/second/store/ /nix/store/foo to populate it with a subset
gratto has joined #nixos
<samueldr> hmm, I don't think there's a way to have patchShebangsAuto skip a directory
<stepcut> not sure that helps me. I do want to share some private stuff, but only with people who have the ssh key and know the passphrase
drakonis_ has quit [Ping timeout: 258 seconds]
pointfourone has quit [Remote host closed the connection]
d10n-work has joined #nixos
vmandela has left #nixos ["Leaving"]
pointfourone has joined #nixos
<clever> stepcut: this would let you restrict what they can access, when they do have the ssh key
<samueldr> I'd like to have my cake and eat it too :/ scripts are being patched while they are runtime artifacts for foreign systems (without nix) in vagrant
jbgi has quit [Ping timeout: 246 seconds]
<stepcut> clever: well, if they have the key and know the passphrase, then I want them to be able to access everything in /nix/store. They already have login access to the machine anyway. Hence the desire to have a passphrase on the key in the first place
o1lo01ol1o has quit [Remote host closed the connection]
pie__ has quit [Ping timeout: 246 seconds]
<clever> stepcut: ahh, i was thinking of a 2nd key, that can only read the store, via nix.sshServe
<stepcut> so, I could have developers create a second key that does not have a passphrase and can only access /nix/store, but they'd still need to be able to access everything in there
<clever> and then since its read-only, its safer to lack a passphrase
<clever> yeah
<clever> stepcut: i think your best option is to just run a hydra with an s3 bucket
<stepcut> it is safer, but less safe than using the agent
<clever> stepcut: s3 buckets support auth much better
ThatDocsLady_ has joined #nixos
<stepcut> I've considered the hydra+s3 route
o1lo01ol1o has joined #nixos
<clever> stepcut: though you can also use `nix copy --to s3://bucket /nix/store/foo` and skip the hydra half
<clever> stepcut: and just put s3://bucket into the cache list
<ambro718> How can a program check if nix is using single or multi user mode?
<clever> ambro718: nix itself checks by seeing if it has write to /nix/var/nix/db/ and also checking $NIX_REMOTE
<ambro718> thanks
<clever> NIX_REMOTE=daemon forces it to use the daemon
<clever> auto is the default when unset, and that will test write access to figure out daemon vs local
<clever> older versions lack auto, and will actually fail with permission errors if you dont set NIX_REMOTE
<clever> and newer nixos wont set it if nix is new enough, causing old nix to break
ZeDestructor has joined #nixos
ThatDocsLady has quit [Ping timeout: 252 seconds]
<ambro718> I have a package that builds a gcc cross-compiler from source and someone has been experiencing a very strange build error: https://github.com/ambrop72/aprinter/issues/34#issuecomment-503030120
<ambro718> Any clue? I think they are running nix without sandbox, could this be the cause? It is not happening on my NixOS with the same nixpkgs.
<clever> ambro718: it helps to quote the output with ``` in the comment
Ariakenom has joined #nixos
<clever> ambro718: did you check free inodes? df -i
o1lo01ol1o has quit [Ping timeout: 248 seconds]
<ambro718> It's not me getting the error, I am trying it in a fedora VM but it's still building.
<clever> ah, i see your one reply down
<ambro718> The error is very strange, just "collect2: error: ld returned 1 exit status"
<clever> looks like your username has a rounding error though, lol
nschoe has quit [Ping timeout: 245 seconds]
<ambro718> lol, no different usernames. Unfortunately changing a username on github is quite annoying.
<clever> looks more like 71.8 got rounded up to 72
Netsu has quit [Ping timeout: 256 seconds]
<ambro718> Since the build is saying it's building in /build (leaving directory etc), does that imply sandbox is used?
<clever> ambro718: yeah, i believ it would leak /tmp/nix-build-name/ if it wasnt sandboxed
o1lo01ol1o has joined #nixos
ddellacosta has joined #nixos
<ambro718> Hm, it seems sandbox on is the default. On this user install on Fedora, it's saying /build without any manual setup.
asheshambasta_m has joined #nixos
<ambro718> Now I am really clueless why this build could be failing.
<stepcut> clever: perhaps I could modify this file so that nix-daemon is wrapped inside an ssh-agent?
<clever> stepcut: i dont think thats used on nixos machines
<clever> stepcut: you probably want systemd.services.nix-daemon.environment.SSH_AUTH_SOCK = "/whatever";
<clever> stepcut: and then tell ssh-agent to use a given path, rather then making a dynamic one
<stepcut> clever: well, however nix-daemon gets started. Though in my particular use case, the developers are actually on ubuntu machines with nix installed on top
<{^_^}> [nixpkgs] @LnL7 closed pull request #49226 → firefox: fix darwin build → https://git.io/fx9AL
<clever> stepcut: single-user nix runs everything as a child-proc of nix-build, and it will just inherit access to the agent with no trouble
<{^_^}> [nixpkgs] @KaiHa opened pull request #63527 → tor-browser: remove --no-remote option → https://git.io/fjV0u
<stepcut> clever: except some of the machines are multi-user nix installs on ubuntu :)
mariel__ has joined #nixos
<stepcut> clever: but, ignoring the finer details, it seems like I have the option to start an ssh-agent that the nix-daemon knows about
ThatDocsLady_ has quit [Ping timeout: 252 seconds]
alex`` has quit [Ping timeout: 258 seconds]
rfold has joined #nixos
Xal has quit [Ping timeout: 268 seconds]
alex`` has joined #nixos
Neo-- has quit [Ping timeout: 252 seconds]
drakonis_ has joined #nixos
Xal has joined #nixos
Thra11 has quit [Quit: WeeChat 1.9.1]
dm9 has quit [Ping timeout: 252 seconds]
dm9 has joined #nixos
ThatDocsLady has joined #nixos
ThatDocsLady has quit [Client Quit]
dsx has joined #nixos
<nh2> vaibhavsagar: regarding https://twitter.com/vbhvsgr/status/955796377082118145 -- do you render out nix as terraform config files?
<{^_^}> [nixpkgs] @samueldr opened pull request #63529 → vagrant: Don't patch salt provisioner's shebang → https://git.io/fjV0Q
<vaibhavsagar> nh2: this was my previous job, but yes
<vaibhavsagar> JSON is a valid terraform input format, and we just used builtins.toJSON
<vaibhavsagar> and used Nix for templating
<nh2> vaibhavsagar: OK, that would have been my next question, hcl or json
dm9 has quit [Quit: WeeChat 2.5]
zachk has joined #nixos
<vaibhavsagar> the escaping is a bit fiddly, but manageable
<{^_^}> [nixpkgs] @matthewbauer pushed to master « emacsPackages.irony: add clang for Linux builds »: https://git.io/fjV05
<nh2> vaibhavsagar: makes sense, I think the limitations of HCL are pretty bad, very hard to create multiple `resource`s from a map of stuff, nix does that way better
<manveru> isn't there terranix?
<vaibhavsagar> manveru: the team I was part of had been doing this for a few years
<vaibhavsagar> that tweet is from 1.5 years ago :)
<manveru> ah, ok :)
<manveru> haven't done a ton with terraform myself yet, but it's a really neat combo with nix :D
<nh2> manveru: that looks just like what I need, looks like my googling wasn't good enough. Thanks!
<vaibhavsagar> terranix looks pretty great though, very similar to what we were doing
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<manveru> palo: you around?
<vaibhavsagar> manveru: it's entirely possible that my colleague is the one who inspired this, he lives in Berlin and is active on IRC occasionally
nschoe has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjVEt
asheshambasta_m has quit [Quit: Leaving.]
ris has joined #nixos
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/fjVEq
fendor has quit [Ping timeout: 245 seconds]
gratto has quit [Ping timeout: 245 seconds]
veske has quit [Quit: This computer has gone to sleep]
Izorkin has quit [Quit: ZNC 1.7.3 - https://znc.in]
<palo> manveru: I'm around
<palo> currently fiddeling on a new example for terranix
Izorkin has joined #nixos
gratto has joined #nixos
<palo> vaibhavsagar: you wanna talk about terranix? or need some help?
<{^_^}> [nixpkgs] @Ekleog merged pull request #63515 → nheko: 0.6.3 -> 0.6.4, mtxclient: 0.2.0 -> 0.2.1 → https://git.io/fjVWz
<{^_^}> [nixpkgs] @gnidorah opened pull request #63530 → haskellPackages.hakyll-images: unmark as broken → https://git.io/fjVEC
hyper_ch has quit [Read error: Connection reset by peer]
<vaibhavsagar> palo: just wondering if you got any ideas from tv :)
<palo> vaibhavsagar: yeah had the inital seed, and used nix-instantiate, I'm using nix-build now (so you can use <nixpkgs>) but tv was on board from the beginning :D
hyper_ch has joined #nixos
skykanin has joined #nixos
<vaibhavsagar> haha nice
<vaibhavsagar> I saw that you use krops so I guessed he was involved :)
<palo> Right now I'm teasing him, that change krops to configure ssh to use a different configuration than ~/.ssh/config
<palo> I'm trying to use overlays but no luck so far
<palo> vaibhavsagar: I'm currently fiddeling on plops :D my krops abstraction :D
* palo love theses names
<manveru> what's krops? the link in the readme was dead
<skykanin> So I'm trying to make an overlay for the openjdk11 package to add openjfx support and I've managed to get the openjfx derivation building. I've also modified the openjdk11.nix file and added openjfx as an argument to the function. In the all-packages.nix file I'm supplying that value which is pointing to the openjdk derivation, but when I try to build openjdk11 I get an error "attribute openjfx missing", which
<skykanin> I don't understand cause I'm supplying it in the all-packages.nix file
<vaibhavsagar> ha
<manveru> ah sweet
<manveru> i could use something like that :)
<palo> the article is quite old now, and nixops has some features which are not named in the vs part
<manveru> yeah
<manveru> atm i'm using a thin wrapper around nixos-rebuild instead of nixops anyway...
linarcx has quit [Quit: WeeChat 2.5]
<manveru> it's a mess though, so i'd love something that helps me structure it
thePirateKing has joined #nixos
trevorriles has joined #nixos
<palo> manveru: I'm very happy with krops
o1lo01ol1o has quit [Remote host closed the connection]
<manveru> i'll try it combined with flakes and terranix :D
<manveru> should be fun
o1lo01ol1o has joined #nixos
<vaibhavsagar> does terranix have any support for the AWS provider?
<palo> vaibhavsagar: it just generates JSON for terraform, you can use the full AWS api.
<vaibhavsagar> ah, I see
<vaibhavsagar> but then why is there specific support for github or cloudflare?
<palo> vaibhavsagar: but I did not generate any modules for any provider, because of reasons :D
eraserhd has quit [Quit: WeeChat 2.4]
gratto has quit [Read error: Connection reset by peer]
alp has joined #nixos
eraserhd has joined #nixos
<palo> vaibhavsagar: just a sec
gratto has joined #nixos
<vaibhavsagar> fair enough :)
o1lo01ol1o has quit [Ping timeout: 246 seconds]
elibrokeit has joined #nixos
linarcx has joined #nixos
<palo> vaibhavsagar: ah, ... these modules are not optinionated provider modules, I used them before so I put them in there. But if you look at them you can see, they just set providers.github = { ... }; You can do always the same. :D
<vaibhavsagar> right, I see
<manveru> i'll use hetzner and vpsfree anyway, plus gandi (and one day i'll get around to write a provider for nearlyfreespeech)
<palo> vaibhavsagar: I'm not happy with the provider nameing, I would like to call them like api.cloudflare or terranix.cloudflare or terranix.api.cloudflare for the not opinionated modules.
<manveru> oh there is https://github.com/adamdecaf/terraform-provider-nearlyfreespeech already, nevermind :)
<manveru> gchristensen: i'm getting timeouts now as well :(
stranger___ has joined #nixos
<manveru> this is getting way too common
Jackneill has quit [Quit: Leaving]
<stranger___> after updating to latest nixos-unstable i'm getting "Detected unsafe path transition /var/log → /var/log/journal during canonicalization of /var/log/journal" any idea?
<vaibhavsagar> I've been meaning to write a blog post about how `nix-copy-closure --to <config> && nix-env --profile /nix/var/nix/profiles/system --set <config> && /nix/var/nix/profiles/system/bin/switch-to-configuration switch` is good enough for 90% of all deployments
<palo> manveru: if you want a blueprint of a shell.nix to add customer providers to your terraform https://github.com/mrVanDalo/nix-shell-mix/blob/master/terraform/shell.nix
<manveru> vaibhavsagar: doesn't that download first on the host?
<vaibhavsagar> manveru: yes, you push the system closure onto the host
<manveru> why not `nixos-rebuild --build-host <foo> --target-host <foo> switch` :)
<vaibhavsagar> then set it as the current profile
<vaibhavsagar> then activate that profile
<{^_^}> [nixpkgs] @jonringer opened pull request #63531 → pythonPackages.ndg-httpsclient: 0.4.2 -> 0.5.1 → https://git.io/fjVEF
<vaibhavsagar> manveru: you don't usually want the remote host to have the same configuration as the local machine
<vaibhavsagar> and you don't want it to be a build worker as well
<manveru> yeah, i pass NIXOS_CONFIG
<manveru> if the target already is a full nixos install, i don't see why it shouldn't build
<tilpner> manveru: Does that line copy the system back to the local machine?
<tilpner> That can be a problem in some situations
<manveru> tilpner: haven't seen that yet
alex`` has quit [Ping timeout: 245 seconds]
<manveru> but i'm sure there's a reason people use complicated stuff like nixops instead
<vaibhavsagar> manveru: easier to configure :)
<manveru> i have 200Kb/s upload, so any time i save on that is worth gold :)
<{^_^}> [nixpkgs] @veprbl merged pull request #63490 → pythonPackages.uproot: 3.4.19 -> 3.7.0 → https://git.io/fjVmd
<{^_^}> [nixpkgs] @veprbl pushed 5 commits to master: https://git.io/fjVEx
alex`` has joined #nixos
<tilpner> manveru: Copying derivations to the deploy target and then instantiating those remotely works very well here, but that might be exactly what nixos-rebuild does too
<manveru> exactly
xelxebar_ has quit [Remote host closed the connection]
xelxebar has joined #nixos
<tilpner> Well, except when the ssh connection dies mid build
<tilpner> Only way to recover from that is restarting the daemon IME
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 244 seconds]
pie__ has joined #nixos
<Izorkin> please check PR ##63355
<Izorkin> * #63355
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63355 (by Izorkin, 2 days ago, open): mariadb: 10.3.15 -> 10.3.16
jbgi has joined #nixos
<{^_^}> [nixpkgs] @guibou opened pull request #63532 → bazel: 0.26.1 -> 0.27.0 → https://git.io/fjVun
mexisme_ has joined #nixos
puetho has joined #nixos
cyphase has joined #nixos
o1lo01ol1o has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
mexisme_ has quit [Ping timeout: 245 seconds]
skykanin has quit [Quit: WeeChat 2.4]
jgt has quit [Ping timeout: 252 seconds]
ris has quit []
ris has joined #nixos
dbmikus has quit [Quit: WeeChat 2.5]
turion has joined #nixos
Shoubit has quit [Ping timeout: 268 seconds]
shibboleth has joined #nixos
puetho is now known as psque
wfranzini has joined #nixos
kim0 has quit [Quit: Connection closed for inactivity]
domogled has quit [Ping timeout: 268 seconds]
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sheeldotme has quit [Ping timeout: 245 seconds]
Czen has joined #nixos
Czen has quit [Remote host closed the connection]
Mateon1 has quit [Ping timeout: 244 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a9166c763d8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
v88m has quit [Read error: Connection reset by peer]
v88m has joined #nixos
mexisme_ has joined #nixos
<psque> I'm trying to prevent my build dependencies from getting garbage collected. Last night, someone suggested I could do something like `writeTextFile { name = "deps"; text = ''${foo.drvPath}'';}` and this would make a GC root to protect the dependencies. However, when I build a derivation like the above, it looks like it downloads a bunch of stuff beyond what was required to originally build the package `foo`. What's going on?
laalf has joined #nixos
domogled has joined #nixos
Czen has joined #nixos
NinjaTrappeur has quit [Quit: WeeChat 2.4]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
mariel__ has quit [Ping timeout: 272 seconds]
trevorriles has joined #nixos
<djahandarie> Hey folks, I'm trying to install-multi-user on a machine and I get: building '/nix/store/2c4l83wkdfrj7ra9k07l0aqvym1d5z20-user-environment.drv'... error: opening directory '/nix/store/hbhdjn5ik3byg642d1m11k3k3s0kn3py-nix-2.2.2': Permission denied
<djahandarie> The command does seem to be getting run as sudo, and if I can `sudo ls` that directory just fine, etc.
<djahandarie> Does anyone know what to look into here?
<djahandarie> s/and if/and/
<ivan> psque: nix.extraOptions keep-outputs = true
laalf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
laalf has joined #nixos
<djahandarie> stracing it, it looks like a child process does try to openat the directory and is getting permission denied: [pid 27557] openat(AT_FDCWD, "/nix/store/hbhdjn5ik3byg642d1m11k3k3s0kn3py-nix-2.2.2", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 EACCES (Permission denied)
psyanticy has quit [Quit: Connection closed for inactivity]
<djahandarie> It looks like at some point in the process forking, there is a setuid(30001), which is one of the nix daemon users IIRC.
<djahandarie> But /nix/store/2c4l83wkdfrj7ra9k07l0aqvym1d5z20-user-environment.drv is root/root drwxr-x---.
<djahandarie> So it's not surprising the error is happening, but why are the permissions so messed up?
<manveru> djahandarie: so it was a single-user install before?
<djahandarie> Nope, no nix at all, just a standard Ubuntu box. I just rm -rf'd /nix entirely and it ends up in the same state when I try again
tmaekawa has joined #nixos
<manveru> what commands do you run with sudo?
<manveru> because you shouldn't use sudo at all with nix in your case
<djahandarie> Personally? None, I just run ./install --daemon.
<manveru> hmm
bgamari has joined #nixos
justbeingglad1 has joined #nixos
tmaekawa has quit [Client Quit]
jgt has joined #nixos
freeman42x has joined #nixos
<djahandarie> I see that the installer sudo rsync's a bunch of files (including the problematic one) into /nix/store. Why would we expect that to result in permissions that would allow for a nixbld user to read it?
justbeingglad1 has left #nixos [#nixos]
<manveru> what user is nix-daemon running as?
<manveru> should be root
<djahandarie> nix-daemon isn't running yet.
<manveru> can you maybe paste a log of what happens with a clean slate? from the `./install --daemon` to where you see the issue?
<manveru> i'm having troubles understanding how that's possible
jgt has quit [Ping timeout: 252 seconds]
<djahandarie> From as clean as I can get it: https://pastebin.com/jzjyyasu
shibboleth has quit [Quit: shibboleth]
<manveru> thanks
<djahandarie> I guess I might be wrong and nix-daemon is running, though it no longer is after the script finishes
Ariakenom has quit [Quit: Leaving]
<manveru> hm
<manveru> `grep: /etc/profile.d/nix.sh: Permission denied`
<djahandarie> That's probably somewhere I failed to sufficiently clean up the first failed attempt
<djahandarie> Would it be safe to just delete that?
<manveru> https://nixos.org/nix/manual/#sect-multi-user-installation has the cleanup instructions
<manveru> would be nicer if that was just in the script, but i guess it's good to know anyway :)
<djahandarie> That doesn't include rm'ing /etc/profile.d/nix.sh
Mateon1 has joined #nixos
<djahandarie> The script does also suggest cleanup instructions, but those *also* don't rm it
<djahandarie> Anyways, I'll just rm it.
<manveru> yeah
<djahandarie> Same output but without the grep error.
<manveru> as which user do you run this?
<djahandarie> My personal user ('djahanda')
<djahandarie> Either way, when I strace, it's clear the thing that is attempting to open the directory is uid 30001, which indeed doesn't have sufficient perms to open that directory (due to the other 0 perms)
<manveru> yeah
<djahandarie> Those perms seem to be copied due to the rsync -p
<manveru> somehow it's not communicating with the daemon
<manveru> or i got it all wrong :)
<djahandarie> And the source directory (which came from a extracted tar) does have the other 0 perms in its store
<pie__> im on nixos
<pie__> $ ls -alh /nix/store/001s7m9kkiwhw1yr70cyf474hs2iayc1-freeglut-3.0.0.drv
<pie__> -r--r--r-- 1 root root 2.5K Jan 1 1970 /nix/store/001s7m9kkiwhw1yr70cyf474hs2iayc1-freeglut-3.0.0.drv
<manveru> yeah, it's all read/only and root:root
<manveru> except for the /nix/store directory itself
<pie__> ps aux says nix-daemon runs as root
<djahandarie> Figured it out.
<djahandarie> $ getfacl ~
<djahandarie> group::r-x
<djahandarie> user::rwx
<djahandarie> # group: users
<djahandarie> # owner: djahanda
<djahandarie> # file: u0/djahanda
<djahandarie> getfacl: Removing leading '/' from absolute path names
<djahandarie> other::---
<djahandarie> I extracted the tar into my home directory, which has that acl.
<manveru> duh
<djahandarie> Therefore the perms on the base nix/store get messed up, and the rsync preserves them
<manveru> and they say the curl instructions are bad :P
orivej has joined #nixos
<djahandarie> In this case I couldn't curl anyways (due to no outbound network), but it does sound like it would have saved me, maybe
<manveru> good find though, didn't think of it at all
<djahandarie> It sounds like the installer should really set its perms explicitly such that this can't even happen though
<manveru> indeed
<djahandarie> Well, that was fun. Thanks for the helping thinking it through!
qqlq has quit [Quit: ZNC 1.7.3 - https://znc.in]
Jackneill has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.5]
<psque> I just ran `nix-collect-garbage && nix-build --option keep-outputs true && nix-collect-garbage && nix-build`. The second gc deletes a bunch of newly built stuff that the second nix-build rebuilds. I thought `keep-outputs` was supposed to avoid this?
NinjaTrappeur has joined #nixos
<tilpner> psque: keep-outputs is only used during gc, but you only pass it during building
<tilpner> psque: You need to set it in nix.conf for it to have any effect on GC
hyper_ch has quit [Read error: Connection reset by peer]
<psque> Ahh. So the conf flag is basically about respecting builds that are "tagged" that way?
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<psque> tilpner: ^
hyper_ch has joined #nixos
<tilpner> psque: I don't think there's any tagging going on
<psque> tilpner: What does passing the flag during building actually do then?
<tilpner> See man nix.conf, I'd only be paraphrasing that
<psque> tilpner: Okay. I was also hoping to be able to apply `keep-outputs` for just one package but I guess I'll give up on that for now
<manveru> psque: for nix-shell?
Diagon has joined #nixos
<psque> manveru: For a purescript project where the build output is a JS bundle but I don't want the purescript compiler GCed
pointfourone has quit [Quit: Leaving]
hyper_ch has quit [Client Quit]
<manveru> then you could make a gc root for the compiler
<manveru> gchristensen: something's really up with the cache today :|
genesis has joined #nixos
<psque> manveru: Yeah, I'm simplifying a bit. There are also the purescript dependencies, etc that get garbage collected
hyper_ch has joined #nixos
<manveru> well, basically the derivation
<tilpner> (What ever happened to cowsay.pw?)
<psque> manveru: Yeah, that's the idea I started with based on someone's idea last night (`writeTextFile { name = "deps"; text = ''${foo.drvPath}'';}`) but it ended up building a whole bunch of irrelevant stuff (10s of GB)
<monokrome> Yo! Does anyone here know why xrandr on a 3rd monitor would have a crtc error even though it sets up 2nd monitor fine?
<manveru> psque: that sounds strange...
<nh2> well here comes my first terranix PR: https://github.com/mrVanDalo/terranix/pull/2
<{^_^}> mrVanDalo/terranix#2 (by nh2, 24 seconds ago, open): Return exit code on failure, use safe bash options
<psque> manveru: Agreed. The thing I hoped or expected was that it would be a very quick build that would just add the already built dependencies as GC roots. Instead, it ended up downloading e.g. 3 versions of ghc
<manveru> psque: i'd do something like `mkDerivation rec { ...; passthru = { inherit buildInputs; }; }`, and then `nix-instantiate ./whatever.nix --indirect --add-root ./keep-this-from-gc`
<manveru> err
<manveru> `nix-instantiate ./whatever.nix -A buildInputs --indirect --add-root ./keep-this-from-gc`
<manveru> something like that
<manveru> haven't really tested it :)
Jackneill has quit [Remote host closed the connection]
<clever> manveru: you dont need passthru to access the buildInputs
<manveru> true that
teej has joined #nixos
<rfold> Where did the Packages button go on the homepage?
<rfold> Oh I first have to select NixOS from the menu now.
<manveru> rfold: the new landing page has just been released
<psque> manveru: Okay, I'll try that second thing. Thanks
<manveru> rfold: used to be the NixOS was selected by default :)
cjpbirkbeck has joined #nixos
<rfold> manveru: thanks, I'll figure out how to configure Firefox to redirect me directly to NixOS so my workflow remains
wfranzini has quit [Remote host closed the connection]
<manveru> i can recommend `nix search` otherwise
PLPD-Bot has joined #nixos
<manveru> but yeah, depends on what you're looking for
<clever> i visit https://nixos.org/nixos/options.html so often, that just typing `ni` into the address bar auto-completes it
<manveru> i still use the manpage...
<palo> nh2: haha nice, thankx, but I just fixed that, but I did not release it yet.
<manveru> only using the site when i want to show someone
<palo> nh2: https://git.ingolf-wagner.de/palo/terranix/src/develop/lib.nix#L59 < but I think I like your approach better
linarcx has quit [Quit: WeeChat 2.5]
<mac10688> Whoever wrote the nix pills stuff is a really good author
<mac10688> I would have paid money for this content
Guanin has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/fjVzd
jgt has joined #nixos
<drakonis_> lethalman did it
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjVzb
nschoe has quit [Ping timeout: 245 seconds]
<gchristensen> manveru: what are you seeing?
<manveru> stuff like that for hours now
jgt has quit [Ping timeout: 252 seconds]
<gchristensen> shit
<gchristensen> manveru: can you curl that URL okay?
<manveru> yes
<{^_^}> [nixpkgs] @BadDecisionsAlex opened pull request #63534 → pythonPackages.redis-py: init at 3.1.0 → https://git.io/fjVzx
<gchristensen> hrm
<gchristensen> it fully fetches/
<{^_^}> [nixpkgs] @peti pushed 6 commits to haskell-updates: https://git.io/fjVzp
linarcx has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjVzj
<{^_^}> [nixpkgs] @peti pushed 8 commits to haskell-updates: https://git.io/fjVgv
<gchristensen> I mean using curl directly on the problematic URL(s)
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fjVgJ
<{^_^}> [nixpkgs] @peti pushed 5 commits to master: https://git.io/fjVgU
stranger___ has quit [Quit: Connection closed for inactivity]
<manveru> well, i'm trying :)
<manveru> will take some minutes at least
<gchristensen> ok
<{^_^}> [nixpkgs] @BadDecisionsAlex closed pull request #63534 → pythonPackages.redis-py: init at 3.1.0 → https://git.io/fjVzx
<manveru> gchristensen: seems to work, afaict
<manveru> maybe something strange about how nix uses curl?
<gchristensen> hrm
bgamari_ has joined #nixos
<gchristensen> that is very ugly
<gchristensen> manveru: can you send me fastly-debug.com info?
bgamari has quit [Ping timeout: 245 seconds]
<psque> You can write a default.nix that refers to executables in the `buildPhase` that aren't in `buildInputs` or `nativeBuildInputs`. Even though everything works, this is to be discouraged and semantically suspect?
<gchristensen> probablyyeah :)
jtojnar has quit [Remote host closed the connection]
nschoe has joined #nixos
<mac10688> hey guys, sorry if this question is obvious. I've been trying to read up on it and watch youtube videos but people aren't explicitely stating it. Let's say I am developing a haskell app that has the three layers of frontend, server and database. Do I build environments for each layer that will have the tools I need to build and run each one? So I would have a postgresql nix environment that I open a shell
<mac10688> with, a haskell environment that has its own shell and a purescript environment with its own shell?
MichaelRaskin has joined #nixos
trevorriles has joined #nixos
hyper_ch has quit [Read error: Connection reset by peer]
<psque> mac10688: You could do either one
fusion809 has quit [Remote host closed the connection]
<ashkitten> i'm still pretty confused as to why networkmanager stops resolving dns after a rebuild-switch
<ashkitten> OH
<ashkitten> activating the configuration overwrites resolv.conf which networkmanager automatically generates on connecting
<nh2> (how) can I escape the $ of ${interpolation} in normal "nix strings"
<nh2> I know I can do it with ''$ in ''multiline strings''
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 245 seconds]
Mateon2 is now known as Mateon1
<symphorien> ,escape"
<{^_^}> " double quote: \" backslash: \\ bash curly bois: \${} newline: \n tab: \t "
justbeingglad1 has joined #nixos
<symphorien> > "\${test}"
<{^_^}> "${test}"
<nh2> ah thanks!
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lovesegfault has joined #nixos
Mateon1 has quit [Ping timeout: 245 seconds]
Mateon1 has joined #nixos
drewr has quit [Quit: ERC (IRC client for Emacs 26.2)]
justbeingglad1 has left #nixos [#nixos]
ddellacosta has quit [Ping timeout: 258 seconds]
nschoe has quit [Quit: Program. Terminated.]
<{^_^}> [nixpkgs] @romildo opened pull request #63536 → mate.marco: 1.22.1 -> 1.22.2; mate.mate-themes: 3.22.19 -> 3.22.20 → https://git.io/fjV2T
linarcx has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @BadDecisionsAlex opened pull request #63537 → pythonPackages.channels_redis: init at 2.4.0 → https://git.io/fjV2k
shabius has joined #nixos
domogled has quit [Ping timeout: 258 seconds]
hyper_ch has joined #nixos
turion has quit [Ping timeout: 252 seconds]
trevorriles has joined #nixos
<{^_^}> [nixpkgs] @BadDecisionsAlex opened pull request #63538 → pythonPackages.google-appengine: init at 1.5.1 → https://git.io/fjV2n
<{^_^}> [nixpkgs] @ivan opened pull request #63539 → usbguard-nox: init at 0.7.4 → https://git.io/fjV2c
orivej has quit [Ping timeout: 258 seconds]
jgt has joined #nixos
<{^_^}> [nixpkgs] @BadDecisionsAlex closed pull request #63538 → pythonPackages.google-appengine: init at 1.5.1 → https://git.io/fjV2n
lord| has quit [Ping timeout: 245 seconds]
ambro718 has quit [Ping timeout: 246 seconds]
jgt has quit [Ping timeout: 250 seconds]
<{^_^}> [nix] @edolstra pushed to flakes « Initialize Command::_name »: https://git.io/fjV2E
gratto has quit [Ping timeout: 272 seconds]
gratto has joined #nixos
Yakulu has left #nixos ["Disconnected: Replaced by new connection"]
Yakulu has joined #nixos
hyper_ch has quit [Read error: Connection reset by peer]
hyper_ch has joined #nixos
<{^_^}> [nixpkgs] @ivan opened pull request #63540 → nixos/prometheus-node-exporter: fix systemd unit for systemd 242 → https://git.io/fjV22
lord| has joined #nixos
justanotheruser has quit [Ping timeout: 272 seconds]
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
trevorriles has joined #nixos
trevorriles has quit [Client Quit]
drakonis_ has quit [Read error: Connection reset by peer]
__monty__ has quit [Quit: leaving]
<zachk> would nix-env -i htop install htop? if so why does it or any nix-env -qa seem to take forever
jabranham has joined #nixos
<qyliss> nix-env -i is slow because it does a search
<qyliss> do nix-env -iA htop
<clever> ,-A zachk
<{^_^}> zachk: You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
rfold has quit [Quit: WeeChat 2.4]
<clever> `nix-env -i htop` will search every single package to see if the name patches htop
<clever> nix-env -iA nixos.htop will just go directly to htop
<zachk> wow, whats a good way to kill a running nix-env, ctrl-c doesnt seem to work
<zachk> I have been using ctrl-z to background it then ps aux | grep nix-env then kill -9 processNumberHere
Yakulu has left #nixos ["Error from remote client"]
<manveru> zachk: pkill nix-env
alex`` has quit [Ping timeout: 268 seconds]
<zachk> ty
<manveru> also ctrl+\ might do it
adamantium has joined #nixos
rfold has joined #nixos
alex`` has joined #nixos
alp has quit [Ping timeout: 258 seconds]
justanotheruser has joined #nixos
<zachk> pkill doesnt seem to work all the time, and whats ctrl+\ do?
markus1189 has joined #nixos
<clever> zachk: sends SIGQUIT
<zachk> ah never knew
<clever> same
<clever> i just ran `strace sh` and then whacked ctrl+\ to see what happened
<clever> in xterm, you can hold control, and hold left-mouse, to get a menu
<clever> you have the option to send stop, cont, int hup, term, and kill!
<clever> but kill is send to the shell itself i think, so the whole terminal dies
rfold has quit [Quit: WeeChat 2.4]
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
<manveru> do you know how to add a .nar.xz to /nix/store when i downloaded it manually?
<manveru> since i already got them, i might as well save myself trying to re-run nixos-rebuild another 100 times :P
<clever> manveru: i think you could maybe put both the .nar.xz and the .narinfo into a directory, and then use `nix copy --from file:///path/to/dir /nix/store/path`
<clever> manveru: use --to to make such a dir, and see what the file layout should be
<manveru> hmm, i don't have narinfo or what the path for them should be :|
nDuff has joined #nixos
<clever> > "${hello}"
<{^_^}> "/nix/store/rq17dz8iaj99nmax47584xkmp1cjwyfg-hello-2.10"
<clever> manveru: the above path, has the narinfo at https://cache.nixos.org/rq17dz8iaj99nmax47584xkmp1cjwyfg.narinfo
<clever> manveru: and within the narinfo file, is the path that the .nar.xz is at, relative to the narinfo
wfranzini has quit [Remote host closed the connection]
<manveru> ah, thanks
wfranzini has joined #nixos
<manveru> let's try that
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
jgt has joined #nixos
growpotkin has joined #nixos
erasmas has quit [Quit: leaving]
drakonis_ has joined #nixos
<growpotkin> Hey could someone help clear up a few question I have about submitting PRs
<growpotkin> ?
<growpotkin> I have about 6 or 7 python modules I am trying to submit and some of them depend on each other. Is it best to make multiple PRs or submit 1?
<infinisil> growpotkin: One PR with many commits is better
selfsymmetric-mu has quit [Remote host closed the connection]
ddellacosta has joined #nixos
<growpotkin> Also I have tried a few times over the last year or so on past PRs to add myself to the maintainers list and I'm always told "to do it on a separate commit". In the past I submitted a separate PR to do this and claim my old packages there; but this was rejected. This time I tried making 2 commits in a single PR. One adds the package with no maintainer and the second adds me to the maintainers list and claims the SINGLE package. I w
<growpotkin> as just told today not to do this either... So like, how should I add myself to maintainers? When I do how should I claim my old PRs?
jgt has quit [Ping timeout: 252 seconds]
<Church-> Hmm how would I restrict a user from accessing certain dirs?
<growpotkin> infinisil: When I make a single PR is something like "pythonPackages.{foo,bar,baz}: init at {1,2,3}" an acceptable PR message? Within that PR should I have multiple commits to add each module/package individually or should I just do 1 commit to keep the log relatively clean?
<Church-> Is there a way for me to encode that under users.extraUsers?
<growpotkin> Church-: I have seen folks do this with an "activation script" before. Home Manager is a good point of reference.
<growpotkin> Church-: I don't know of an existing option for this off the top of my head though.
<infinisil> growpotkin: Who told you you shouldn't do that? I've seen it many times, and I encourage this myself, to add oneself as a maintainer in the same PR, as a first commit. A separate PR for claiming maintainership might be good though.
lovesegfault has quit [Ping timeout: 248 seconds]
<infinisil> growpotkin: PR message doesn't matter much imo, so whatever title that gives a good overview seems fine
<infinisil> growpotkin: Oh, but commit messages do matter, and you should absolutely use a single commit for every package and module you add
<growpotkin> infinisil: this time it was "matthiasbeyer"
<{^_^}> [nixpkgs] @jameysharp opened pull request #63541 → NixOS config option to disable networking entirely → https://git.io/fjVar
<growpotkin> infinisil: He added that as a revision on two of my most recent PRs. I could look up who it was for the older ones from months ago. I couldn't decifer what the "correct" way was after these revision requests lol.
<infinisil> You mean he force pushed to keep it a single commit or?
<growpotkin> infinisil: I think I will close my existing slew of PRs and aggregate them into one.
<{^_^}> [nixpkgs] @jonringer opened pull request #63542 → pythonPackages.msrestazure: 0.6.0 -> 0.6.1 → https://git.io/fjVai
<Church-> Hey what's the current way to set up steam on nix?
<growpotkin> infinisil: I originally had 1 commit that both added the modules and added me as maintainer. Then after the request I split them into two commits under 1 PR first adding the module and then a second adding me to the maintainers list and to the new package.
<Church-> Since it seems to no longer work on my laptop
<ivan> Church-: add steam to systemPackages
<growpotkin> infinisil: neither seemed to be acceptable to him. He followed up on the second complaining again.
<Church-> ivan: I have it added
<growpotkin> infinisil: #63509
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63509 (by BadDecisionsAlex, 14 hours ago, open): python3Packages.hiredis-py: init at 1.0.0
<ivan> what do you get when you run steam?
fadenb has joined #nixos
<Church-> That's weird, it no longer appears in rofi now...
<infinisil> growpotkin: Ah, it seems that he wants to have each commit touch only a single file
<infinisil> growpotkin: If you add you as a maintainer in a first commit, you can already reference it in the one that adds the package
<infinisil> It's a bit nicer I guess
<growpotkin> infinisil: okay so I'm going to close all of those old PRs. I'll make a new one that first adds me to maintainers in a commit. Then a series of commits that add each individual module. Does that sound reasonable?
fadenb has quit [Remote host closed the connection]
<Church-> ivan: Is where I import it via home manager. https://paste.rs/gmc
drewr has joined #nixos
<Church-> Think I fixed it
<Church-> games.nix wasn't imported into my home manager conf
fadenb has joined #nixos
<Church-> Hmm has steam been updated?
<Church-> Lot of the downloads are erroring out?
<Church-> I'm also on nixos 18.09
<andi-> You should probably update
<infinisil> growpotkin: How big are the modules?
<infinisil> growpotkin: Because if they're big and unrelated then separate PR's make sense
<infinisil> I'd say
thePirateKing has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @armijnhemel closed pull request #26105 → WIP: hackish script to compare JSON from Guix and Nix → https://git.io/vHspl
<zacts> interesting patch
<qyliss> o_O
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @nicknovitski opened pull request #63543 → Update fastlane → https://git.io/fjVap
o1lo01ol1o has joined #nixos
d10n-work has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @jtojnar pushed to master « haskellPackages.llvm-hs: fix build »: https://git.io/fjVah
jbgi_ has joined #nixos
jbgi has quit [Ping timeout: 272 seconds]
das_j has quit [Quit: "Bye!";]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
das_j has joined #nixos
<emilsp> hrm, has anyone had issues running steam with gnome3+wayland ?
seanparsons has joined #nixos
jgt has joined #nixos
polman has quit [Ping timeout: 248 seconds]
polman has joined #nixos
<infinisil> emilsp: You I assume?
jgt has quit [Ping timeout: 257 seconds]
zachk has quit [Quit: Leaving]
Soo_Slow has quit [Remote host closed the connection]
ddellacosta has quit [Ping timeout: 272 seconds]
jbgi_ has quit [Ping timeout: 268 seconds]
<jackdk> I am tinkering with some Cabal-3 / GHC 8.8.1alpha2 stuff, and cabal2nix won't build because of deps that are not ready for Cabal-3 (notably, `language-nix`). Is there a way to callCabal2nix that uses cabal2nix built by a different haskell toolchain?
ricekrispie2 has quit [Read error: Connection reset by peer]
polmaan has quit [Read error: Connection reset by peer]
<infinisil> jackdk: The cabal2nix comes from pkgs.buildPackages.cabal2nix, which in turn comes from pkgs.cabal2nix. So you can add an overlay for that to change it
ricekrispie has joined #nixos
<infinisil> Probably
<jackdk> I am filled with renewed hope, and will try this now.
<infinisil> (I looked at the source of callCabal2nix, which calls callCabal2nixWithOptions, which calls haskellSrc2nix, which uses cabal2nix)
lambda-11235 has joined #nixos
nixy has joined #nixos
<{^_^}> [nixpkgs] @BadDecisionsAlex closed pull request #63509 → python3Packages.hiredis-py: init at 1.0.0 → https://git.io/fjVGG
mbrgm_ has joined #nixos
<{^_^}> [nixpkgs] @BadDecisionsAlex closed pull request #63537 → pythonPackages.channels_redis: init at 2.4.0 → https://git.io/fjV2k
polman has quit [Excess Flood]
<{^_^}> [nixpkgs] @BadDecisionsAlex closed pull request #63508 → python3Packages.ez_setup: init at 0.9.0 → https://git.io/fjVG3
mbrgm has quit [Ping timeout: 250 seconds]
mbrgm_ is now known as mbrgm
<jackdk> infinisil: neat, so pulling in haskellPackages.cabal2nix seems to have me moving again
<jackdk> infinisil++
<{^_^}> infinisil's karma got increased to 104
<infinisil> :D
ricekrispie has quit [Read error: Connection reset by peer]
polmaan has joined #nixos
<infinisil> jackdk: Btw, I recently also tried out ghc > 8.8.1 (HEAD), and these are some overrides I needed for libraries: https://github.com/Infinisil/arvy/blob/ghcHEAD/default.nix
<infinisil> Maybe they'll be useful for you
jluttine has quit [Ping timeout: 258 seconds]
<jackdk> infinisil: tyvm
kvda has joined #nixos
kvda has quit [Client Quit]
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f399f890dd4 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
infinisil has joined #nixos
nDuff has quit [Quit: zzz]
polmaan has quit [Ping timeout: 244 seconds]
polmaan has joined #nixos
polman has joined #nixos
o1lo01ol1o has joined #nixos
ddellacosta has joined #nixos
polman has quit [Ping timeout: 244 seconds]
jluttine has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<ashkitten> how would yall suggest installing nixos on an ovh dedi?
<clever> ashkitten: i would try my kexec stuff from the rescue console
aoeu has joined #nixos
<ashkitten> what's that?
<clever> ashkitten: nix-build a magic tar, upload it to the rescue console, unpack it to / and run /kexec_nixos
<aoeu> quick question. is there any way to install the nix package manager without admin privs on macos?
<clever> within ~3 minutes, it will be running full nixos, purely from ram
<clever> ashkitten: you can then ssh back in, and treat it like you had booted from a USB stick, and install as-normal
<ashkitten> sweet
<ivan> I extract a filesystem to /mnt and chroot into it and finish the install