worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || 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/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
maddo has quit [Quit: See ya]
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos
LevelChart8 has joined #nixos
justanotheruser has joined #nixos
noudle has quit []
charego has quit [Remote host closed the connection]
shabius_ has quit [Remote host closed the connection]
<clever> ,libraries mmchen
<{^_^}> mmchen: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
shabius_ has joined #nixos
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
KindOne has quit [Quit: K-Lined]
orivej has joined #nixos
<mmchen> clever: what's weird is that it compiles fine but the lsp server doesn't seem to recognize the header
NobbZ[m] has quit [Ping timeout: 246 seconds]
NobbZ[m] has joined #nixos
ngerstle[m] has quit [Ping timeout: 246 seconds]
limpid-kzonix[m] has quit [Ping timeout: 246 seconds]
citizenzibb[m] has quit [Ping timeout: 246 seconds]
adit[m] has quit [Ping timeout: 246 seconds]
wedens[m] has quit [Ping timeout: 246 seconds]
ksevelyar[m] has quit [Ping timeout: 246 seconds]
dtz has quit [Ping timeout: 246 seconds]
metheflea has quit [Ping timeout: 246 seconds]
leward[m] has quit [Ping timeout: 246 seconds]
cellofhuman[m] has quit [Ping timeout: 246 seconds]
piotrszegda[m] has quit [Ping timeout: 246 seconds]
loupinfre[m] has quit [Ping timeout: 246 seconds]
hsngrmpf[m] has quit [Ping timeout: 246 seconds]
d4rkshad0w has quit [Ping timeout: 246 seconds]
wildtrees[m] has quit [Ping timeout: 246 seconds]
rfglinux[m] has quit [Ping timeout: 246 seconds]
Luigi[m] has quit [Ping timeout: 246 seconds]
antpic01[m] has quit [Ping timeout: 246 seconds]
counterfactual[m has quit [Ping timeout: 246 seconds]
Jonas[m]3 has quit [Ping timeout: 246 seconds]
Criena has quit [Ping timeout: 246 seconds]
faya[m] has quit [Ping timeout: 246 seconds]
lycium[m] has quit [Ping timeout: 246 seconds]
morr[m] has quit [Ping timeout: 246 seconds]
PkmX[m] has quit [Ping timeout: 246 seconds]
f0i[m] has quit [Ping timeout: 246 seconds]
virtusviri7321[m has quit [Ping timeout: 246 seconds]
tbenst[m] has quit [Ping timeout: 246 seconds]
dittofan[m] has quit [Ping timeout: 246 seconds]
anarchomoh[m] has quit [Ping timeout: 246 seconds]
dpc has quit [Ping timeout: 246 seconds]
mt[m] has quit [Ping timeout: 246 seconds]
hsiktas[m] has quit [Ping timeout: 246 seconds]
dngray has quit [Ping timeout: 246 seconds]
<clever> mmchen: is the lsp server running under nix-shell?
rycee has quit [Ping timeout: 265 seconds]
ggpeti[m] has quit [Ping timeout: 265 seconds]
chrismatheson has quit [Ping timeout: 265 seconds]
tamwile[m] has quit [Ping timeout: 265 seconds]
mkg20001 has quit [Ping timeout: 265 seconds]
axx[m] has quit [Ping timeout: 265 seconds]
Yakulu[m] has quit [Ping timeout: 246 seconds]
aparkerdavid has quit [Ping timeout: 246 seconds]
comrandroxaos[m] has quit [Ping timeout: 246 seconds]
gcoakes[m] has quit [Ping timeout: 265 seconds]
kazzimazzi[m] has quit [Ping timeout: 265 seconds]
kozova1[m] has quit [Ping timeout: 265 seconds]
srid has quit [Ping timeout: 265 seconds]
gueorgui has quit [Ping timeout: 272 seconds]
puzzlewolf has quit [Ping timeout: 246 seconds]
maralorn has quit [Ping timeout: 246 seconds]
<energizer> i see anbox is in nixpkgs. is it possible to run android apps with it in nixos?
matthewcroughan has quit [Quit: Connection closed]
<clever> energizer: i believe mobile-nixos is already able to do that as well
pamplemousse has quit [Ping timeout: 264 seconds]
ngerstle[m] has joined #nixos
virus_dave has quit [Quit: virus_dave]
tamwile[m] has joined #nixos
<energizer> clever: i mean in regular nixos though
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfrAy
<gchristensen> energizer: I don't think it can, I think running android apps is out of scope for now
gueorgui has joined #nixos
<energizer> alright
ggpeti[m] has joined #nixos
kozova1[m] has joined #nixos
<gchristensen> oops
rycee has joined #nixos
gcoakes[m] has joined #nixos
chrismatheson has joined #nixos
<gchristensen> sorry that was about mobile-nixos
srid has joined #nixos
kazzimazzi[m] has joined #nixos
KindOne has joined #nixos
mkg20001 has joined #nixos
axx[m] has joined #nixos
maralorn has joined #nixos
dngray has joined #nixos
mt[m] has joined #nixos
dittofan[m] has joined #nixos
hsiktas[m] has joined #nixos
<jtojnar> clever turns out I cannot just use flake inputs in my configuration (makes sense since I do not pass them to eval-config.nix)
leward[m] has joined #nixos
pamplemousse has joined #nixos
<bqv> energizer: I've done it
d4rkshad0w has joined #nixos
ksevelyar[m] has joined #nixos
cellofhuman[m] has joined #nixos
<jtojnar> I need to pass it `specialArgs = { inherit (inputs) nixpkgs; };`
metheflea has joined #nixos
wildtrees[m] has joined #nixos
<bqv> it isn't perfect but works
adit[m] has joined #nixos
lycium[m] has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #89064 → nixos/modules/system/boot/networkd: enable socket activation → https://git.io/JfrAN
<energizer> bqv: is it like 3 commands away (anything else is probably more than i want to bother with atm)
faya[m] has joined #nixos
tbenst[m] has joined #nixos
anarchomoh[m] has joined #nixos
piotrszegda[m] has joined #nixos
PkmX[m] has joined #nixos
loupinfre[m] has joined #nixos
citizenzibb[m] has joined #nixos
antpic01[m] has joined #nixos
hsngrmpf[m] has joined #nixos
Luigi[m] has joined #nixos
<bqv> Enable anbox and its "done", but you have to install apks manually, and not everything works
dtz has joined #nixos
wedens[m] has joined #nixos
<keithy[m]> hi guys, sed is confusing me... on mac os, I have /Users/keith/.nix-profile/bin/sed --version
<keithy[m]> /Users/keith/.nix-profile/bin/sed (GNU sed) 4.8
f0i[m] has joined #nixos
dpc has joined #nixos
virtusviri7321[m has joined #nixos
counterfactual[m has joined #nixos
<keithy[m]> ok, needed reload of session...
morr[m] has joined #nixos
Criena has joined #nixos
limpid-kzonix[m] has joined #nixos
Jonas[m]3 has joined #nixos
rfglinux[m] has joined #nixos
aparkerdavid has joined #nixos
comrandroxaos[m] has joined #nixos
<keithy[m]> it wasnt showing up, even though the path was ok.
puzzlewolf has joined #nixos
Yakulu[m] has joined #nixos
cyphase has quit [Ping timeout: 256 seconds]
<infinisil> duck++
gustavderdrache has joined #nixos
<lux2> hi
<lux2> can anyone help me to set up wireguard?
<lux2> I followed this: https://nixos.wiki/wiki/Wireguard
simba2 has joined #nixos
<lux2> and it works, however it seems I only have IPv6
<lux2> but I would like to have IPv4 as well
jlv_ has joined #nixos
simba1 has quit [Ping timeout: 264 seconds]
Rusty1 has joined #nixos
thc202 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89065 → cargo-tarpaulin: 0.12.4 -> 0.13.2 → https://git.io/JfrpJ
<mmchen> :clever i think so? the nix-shell has clang-tools which the dev environment runs it
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<mmchen> right now i just have `nix-shell -p gcc clang-tools`. The LSP still can't find bits/stdc++.h in a simple file with main, yet it compiles successfully
<{^_^}> [nixpkgs] @ryantm merged pull request #87464 → libsForQt5.quazip: 0.8.1 -> 0.9 → https://git.io/JfW3y
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfrpS
Heirlung has quit [Ping timeout: 256 seconds]
Heirlung has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
jlv_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89066 → catch2: 2.12.1 -> 2.12.2 → https://git.io/Jfrhx
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/35eda4aede5 (from 5 days ago, history: https://channels.nix.gsc.io/nixos-19.09)
jlv_ has joined #nixos
KindTwo has joined #nixos
KindOne has quit [Ping timeout: 240 seconds]
<Ashy> simpson: there's some notes about cross compiling on the nixos wiki that I'll try next
rogue_koder has quit [Ping timeout: 265 seconds]
KindTwo is now known as KindOne
<andi-> Do builtin fetchers, that have a hash/sha256 parameter set, also consult the binary caches before trying to download from the original URL?
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
rogue_koder has joined #nixos
jlv_ has quit [Ping timeout: 272 seconds]
proofofk_ has joined #nixos
proofofkeags has quit [Read error: No route to host]
proofofkeags has joined #nixos
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
cyphase has joined #nixos
<samueldr> let's say that, without patching the systemd derivation, I wanted to cancel out these rules in nixos? https://github.com/systemd/systemd/blob/master/rules.d/60-persistent-v4l.rules
<samueldr> what's the better approach
h0m1 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89067 → checksec: 2.1.0 -> 2.2.1 → https://git.io/Jfrji
<samueldr> it looks like I can't just remove a rule from services.udev.packages
<samueldr> (for xy question purposes, v4l_id hangs on some mobile devices at boot)
<samueldr> (I believe it's because the nodes under /dev are made even if the device is not ready, probably lacking firmware)
h0m1 has joined #nixos
proofofk_ has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/711890f1313 (from 11 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<andi-> eval the config twice, assign to the final config a filtered `mkForced` version from the first?
* andi- runs
<samueldr> heh
<infinisil> samueldr: Depending on how the file is included, you could make another derivation with the same file but a higher priority (lib.hiPrio)
<infinisil> (that would work with a pkgs.buildEnv)
<samueldr> infinisil: wouldn't help the goal of not patching systemd
<andi-> systemd.udev.packages ?
<andi-> isn't that what picks all of these up?
<samueldr> yes
<samueldr> that file is part of systemd
<samueldr> oh, hm
<andi-> services.udev.packages is that I meant
<samueldr> I guess it's possible I could make an empty file with that name here
<samueldr> now I understand what infinisil meant
<infinisil> Yea
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
simba2 has quit [Ping timeout: 260 seconds]
alp has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos
teto has quit [Ping timeout: 260 seconds]
<bqv> *Screams softly*
<{^_^}> [nixpkgs] @marsam merged pull request #89059 → bat: 0.15.3 -> 0.15.4 → https://git.io/Jfrdq
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfoeK
sigmundv has joined #nixos
drakonis2 has quit [Ping timeout: 256 seconds]
<andi-> ooh nice, arianvp ^
<andi-> I like that logo!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89068 → codeql: 2.1.3 -> 2.1.4 → https://git.io/Jfoed
sigmundv__ has quit [Ping timeout: 260 seconds]
bdju has quit [Ping timeout: 256 seconds]
sigmundv has quit [Ping timeout: 260 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
drakonis_ has joined #nixos
bdju has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/93b68c7cc5a (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89069 → cpputest: 3.8 -> 4.0 → https://git.io/Jfovw
drakonis has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @kalbasit opened pull request #89070 → nanopb: init at 0.4.1 → https://git.io/Jfovy
mmchen has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #89035 → bshapr: 0.8 -> 0.9 → https://git.io/Jfric
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfov9
orivej has quit [Read error: Connection reset by peer]
orivej_ has joined #nixos
<samueldr> and it worked, and yay, it *was* the only issue
<andi-> was just about to ask
<andi-> nice
<andi-> what device?
<samueldr> motorola-addison, but I suspect all of them would
<samueldr> though it's weird it doesn't stop the boot of the display manager on other devices
<samueldr> well, it maybe doesn't on that one, I'm not using display-manager, but a new thing
<samueldr> but it doesn't make sense that it wouldn't stop display-manager but stop this
rogue_koder has quit [Ping timeout: 246 seconds]
h0m1 has quit [Ping timeout: 246 seconds]
butcher has joined #nixos
<{^_^}> [nixpkgs] @jtojnar closed pull request #79362 → tlp: 1.2.2 -> 1.3.0 → https://git.io/JvZoQ
butcher has quit [Max SendQ exceeded]
h0m1 has joined #nixos
butcher has joined #nixos
butcher has quit [Max SendQ exceeded]
butcher has joined #nixos
butcher has quit [Max SendQ exceeded]
butcher has joined #nixos
butcher has quit [Max SendQ exceeded]
butcher has joined #nixos
orivej_ has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
acowley has quit [Ping timeout: 246 seconds]
acowley has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #86537 → cldr-emoji-annotation: 36.12.120191002_0 -> 36.12.120200305_
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JfofO
pamplemousse has quit [Ping timeout: 240 seconds]
Darkmatter66_ has joined #nixos
mrpi has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
ajs124 has quit [Quit: killed]
das_j has quit [Quit: killed]
Darkmatter66 has quit [Ping timeout: 246 seconds]
ajs124 has joined #nixos
mrpi has joined #nixos
Scriptkiddi has joined #nixos
das_j has joined #nixos
hlisp has joined #nixos
Darkmatter66 has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #88540 → isocodes: 4.4 -> 4.5.0 → https://git.io/Jf2kb
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/Jfof2
Darkmatter66_ has quit [Ping timeout: 260 seconds]
hlisp_ has joined #nixos
hlisp has quit [Read error: Connection reset by peer]
captn3m0- has quit [Ping timeout: 264 seconds]
pjt_014 has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #88513 → freetype: 2.10.1 -> 2.10.2 → https://git.io/JfgHm
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JfofK
hooo has joined #nixos
hooo has left #nixos [#nixos]
m0rphism has quit [Ping timeout: 256 seconds]
jluttine has quit [Ping timeout: 256 seconds]
jluttine has joined #nixos
cyphase has quit [Quit: cyphase.com]
<{^_^}> [nixpkgs] @offlinehacker merged pull request #88794 → k6: 0.24.0 -> 0.26.2 → https://git.io/JfVe9
<{^_^}> [nixpkgs] @offlinehacker pushed 2 commits to master: https://git.io/JfofD
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
felixfoertsch has quit [Ping timeout: 260 seconds]
felixfoertsch23 has joined #nixos
felixfoertsch23 is now known as felixfoertsch
<{^_^}> [nixpkgs] @marsam opened pull request #89071 → rclone: 1.51.0 -> 1.52.0 → https://git.io/Jfofj
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89072 → fd: 8.1.0 -> 8.1.1 → https://git.io/JfoJU
rogue_koder has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #87522 → libsForQt5.vlc: 3.0.8 -> 3.0.10 → https://git.io/JfWXM
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JfoJt
<{^_^}> [nixpkgs] @marsam merged pull request #89060 → texlab: 2.1.0 -> 2.2.0 → https://git.io/JfrdR
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JfoJm
captn3m0 has joined #nixos
jlv_ has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #89073 → terraform: 0.12.25 -> 0.12.26 → https://git.io/JfoJs
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89074 → fluent-bit: 1.4.4 -> 1.4.5 → https://git.io/JfoJ0
<hyper_ch> cole-h: still no go for unstable :(
quinn has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
jlv_ has quit [Ping timeout: 272 seconds]
AndersonTorres has quit [Quit: Quitting]
<{^_^}> [nixpkgs] @marsam merged pull request #89038 → tudu: 0.10.3 -> 0.10.4 → https://git.io/JfrXJ
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JfoJy
jlv_ has joined #nixos
jluttine has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @utdemir opened pull request #89075 → Calculate sha256 on the fly on dockerTools.buildLayeredImage → https://git.io/JfoJN
<{^_^}> [nixpkgs] @jtojnar merged pull request #88245 → bison: 3.5.4 -> 3.6.2 → https://git.io/Jfzwj
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JfoUe
<{^_^}> [nixpkgs] @jtojnar merged pull request #88448 → libarchive: 3.4.2 -> 3.4.3 → https://git.io/JfgOp
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JfoUv
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #88573 → libuv: 1.37.0 -> 1.38.0 → https://git.io/Jf2nv
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JfoUI
jluttine has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
wchresta has quit [Quit: wchresta]
jlv_ has quit [Ping timeout: 256 seconds]
jlv_ has joined #nixos
jlv_ has quit [Ping timeout: 246 seconds]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
orivej has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.8]
acowley has quit [Ping timeout: 256 seconds]
acowley has joined #nixos
lambda-11235 has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
Brandon__ has joined #nixos
alexherbo2 has joined #nixos
bebarker has quit [Ping timeout: 265 seconds]
justanotheruser has quit [Ping timeout: 260 seconds]
orivej_ has quit [Ping timeout: 240 seconds]
cyphase has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89076 → hyperfine: 1.9.0 -> 1.10.0 → https://git.io/JfoTl
justanotheruser has joined #nixos
<c00w> Anyone know of a good writeupt of how options and config interact?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89077 → hyperscan: 5.2.1 -> 5.3.0 → https://git.io/JfoTE
<hyper_ch> what do you mean?
proofofkeags has quit [Remote host closed the connection]
LevelChart8 has quit [Quit: LevelChart8]
<c00w> options.foo can be referenced as config.foo
<c00w> you can also reference boot.initrd.randomoption as config.boot.initrd.randomoption (to read?)
<c00w> So it feels like there are 4? classes of stuff
<c00w> option are set in option.foo
<c00w> defined*
<c00w> you can set them by referencing foo
<c00w> or config = { foo=bar }
<c00w> and then you can read them via config.foo
<gchristensen> { config, ... }: { config.bar = config.foo; } an important thing is these are different config's. the one passed as an argument lets you look at the final value of any option
endformationage has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @marsam merged pull request #89072 → fd: 8.1.0 -> 8.1.1 → https://git.io/JfoJU
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfoTD
<{^_^}> [nixpkgs] @marsam merged pull request #89074 → fluent-bit: 1.4.4 -> 1.4.5 → https://git.io/JfoJ0
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfoTy
Rusty1 has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @ehmry pushed to master « deltachat: 1.2.0 -> 1.3.0 »: https://git.io/JfoT9
<switchy> am I doing something odd? I have a hdf5-fortran-mpi package that's something like: pkgs.hdf5.override { inherit gfortran; szip = null; mpi = pkgs.openmpi; } (basically combining the hdf5-fortran and hdf5-mpi packages), but nix-build '<nixpkgs>' -A hdf5-fortran-mpi complains about cyclic references
<{^_^}> [nixpkgs] @marsam merged pull request #89069 → cpputest: 3.8 -> 4.0 → https://git.io/Jfovw
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfoTH
<switchy> the error for that being: cycle detected in the references of '/nix/store/3vd443s7xxdyri4h27k9vmizdn59crz9-hdf5-1.10.6-dev' from '/nix/store/vj96g8l8zh65prpckg01wdkqg9366c21-hdf5-1.10.6'
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89078 → intermodal: 0.1.7 -> 0.1.8 → https://git.io/JfoTd
<{^_^}> [nixpkgs] @marsam merged pull request #88859 → xmrig-proxy: 5.10.0 -> 5.10.2 → https://git.io/JfVCl
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfoTF
<{^_^}> [nixpkgs] @marsam merged pull request #88858 → xmrig: 5.11.1 -> 5.11.2 → https://git.io/JfVCs
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfoTN
<{^_^}> [nixpkgs] @marsam merged pull request #88798 → [20.03] prosody: 0.11.3 -> 0.11.5 → https://git.io/JfVf4
<{^_^}> [nixpkgs] @marsam pushed 2 commits to release-20.03: https://git.io/JfoTA
simba2 has joined #nixos
o1lo01ol1o has joined #nixos
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @hmenke opened pull request #89079 → Unbound: 1.10.0 -> 1.10.1 → https://git.io/JfokZ
cript0nauta has quit [Remote host closed the connection]
rauno has quit [Remote host closed the connection]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
palo1 has joined #nixos
tarelerulz has joined #nixos
proofofkeags has quit [Ping timeout: 265 seconds]
maxdevjs has quit [Ping timeout: 272 seconds]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
palo has quit [Ping timeout: 272 seconds]
palo1 is now known as palo
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89080 → kubeseal: 0.12.3 -> 0.12.4 → https://git.io/Jfoka
ddellacosta has quit [Ping timeout: 260 seconds]
tarelerulz has quit [Ping timeout: 245 seconds]
<spinlock[m]> Does anyone know how to configure NetworkManager to bail quickly if disconnected? I have NixOS running on my laptop, and it's great. 90% of the time, it's hooked up (via usb) to its docked. Through this dock, it has access to the dock's ethernet connection.
<spinlock[m]> I like that it tries to connect to this wired connection on boot, but (for me) it's not ideal that it blocks user-login
<spinlock[m]> Unfortunately, if I ever boot this laptop without being connected to the dock, it always waits 90 seconds for the dock's ethernet (dhcp, I imagine?) to timeout.
philr has joined #nixos
<spinlock[m]> `networking.dhcpcd.wait` looks like it could be relevant, but I'm not experienced enough (yet) to really work out how it functions.
philr_ has quit [Ping timeout: 264 seconds]
hlisp_ has quit [Remote host closed the connection]
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
hmpffff has joined #nixos
knupfer has joined #nixos
alp has joined #nixos
AmandaC_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89081 → libcpuid: 0.4.1 -> 0.5.0 → https://git.io/JfoIe
hmpffff has quit [Quit: nchrrrr…]
AmandaC has joined #nixos
fusion809 has quit [Remote host closed the connection]
andreas303 has quit [Remote host closed the connection]
eoli3n_ has joined #nixos
knupfer has quit [Ping timeout: 246 seconds]
<switchy> for those playing along at home, I needed to modify postInstall to also move bin/h5pfc
corpix_ has joined #nixos
corpix has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89082 → libinstpatch: 1.1.4 -> 1.1.5 → https://git.io/JfoIB
dermetfan has joined #nixos
corpix has joined #nixos
hmpffff has joined #nixos
corpix_ has quit [Remote host closed the connection]
NeoCron has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89083 → lightstep-tracer-cpp: 0.12.0 -> 0.13.0 → https://git.io/JfoI1
drakonis1 has joined #nixos
opthomasprime has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis has quit [Ping timeout: 246 seconds]
rauno has joined #nixos
andreas303 has joined #nixos
user_0x58 has quit [Quit: Leaving]
smatting has joined #nixos
<{^_^}> [nixpkgs] @magnetophon opened pull request #89084 → airwindows: init at 2020-05-25 → https://git.io/JfoId
opthomasprime has quit [Remote host closed the connection]
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
inkbottle has quit [Quit: Konversation terminated!]
mallox has joined #nixos
KeiraT has quit [Ping timeout: 240 seconds]
Heirlung has quit [Ping timeout: 246 seconds]
veleiro`` has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #88425 → dex2jar: init at 2.0 → https://git.io/Jfzpk
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfoLU
lsix has joined #nixos
KeiraT has joined #nixos
<dminuoso> Mmm, https://github.com/NixOS/nixpkgs/pull/88492 is blocking my nixos rebuild.
<{^_^}> #88492 (by flokli, 6 days ago, merged): tree-wide: use systemctl of running system
<dminuoso> Specifically the error mentioned at the bottom solved by https://github.com/NixOS/nixpkgs/pull/88607
<{^_^}> #88607 (by flokli, 5 days ago, merged): nixos/udev: support /run/current-system/systemd in udevRules
o1lo01ol1o has joined #nixos
<dminuoso> What's the most elegant way to get this particular fix into my system without switching everything to the nixos unstable channel?
<srhb> dminuoso: Rebase it on top of whatever commit you want locally and build off that, I'd say. Alternatively you can use disabledModules to disable udev, then import that module specifically from upstream
<srhb> dminuoso: make sure there's no other changes that make it incompatible with your current commit.
<dminuoso> disabledModules sounds like a good idea, Ill try that
c0c0 has joined #nixos
opthomasprime has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
opthomasprime has quit [Remote host closed the connection]
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
opthomasprime has joined #nixos
Heirlung has joined #nixos
<{^_^}> [nixpkgs] @wigust opened pull request #89085 → Update gitAndTools.gita and add bash completion → https://git.io/JfoLB
<{^_^}> [nixpkgs] @vbgl merged pull request #89032 → ocamlPackages.owl: 0.8.0 -> 0.9.0 → https://git.io/Jfr6R
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/JfoLa
CcxWrk has quit [Ping timeout: 256 seconds]
opthomasprime has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vbgl merged pull request #89006 → ocamlPackages.core: remove at 112.24.01 → https://git.io/JfrtH
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.core: remove at 112.24.01 »: https://git.io/JfoLV
opthomasprime has joined #nixos
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @vcunat closed pull request #89079 → Unbound: 1.10.0 -> 1.10.1 → https://git.io/JfokZ
smatting has quit [Ping timeout: 272 seconds]
chloekek_ has joined #nixos
proofofkeags has joined #nixos
<angerman> ,locate hydra-eval-jobs
<{^_^}> Found in packages: hydra-unstable, hydra-migration
opthomasprime has left #nixos [#nixos]
proofofkeags has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #89086 → ocamlPackages.core_kernel: remove at 112.24.00 → https://git.io/JfoL7
drewc has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @filalex77 merged pull request #89078 → intermodal: 0.1.7 -> 0.1.8 → https://git.io/JfoTd
<{^_^}> [nixpkgs] @filalex77 pushed 2 commits to master: https://git.io/JfoLF
alexherbo2 has joined #nixos
drewc has joined #nixos
chloekek_ has quit [Ping timeout: 246 seconds]
thc202 has joined #nixos
m0rphism has joined #nixos
cr4y1 has joined #nixos
tobeportable has joined #nixos
reanimus has quit [Remote host closed the connection]
cr4y1 has quit [Remote host closed the connection]
maddo has joined #nixos
cr4y1 has joined #nixos
reanimus has joined #nixos
teto has joined #nixos
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #nixos
kim0 has quit [Quit: Connection closed for inactivity]
lambda-11235 has quit [Quit: Bye]
<{^_^}> [nixpkgs] @georgthegreat opened pull request #89087 → Update spdlog to 1.6.0 → https://git.io/Jfoqe
smatting has joined #nixos
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
isHavvy has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #87812 → nixos/mysql: refactor enable option → https://git.io/JfBG8
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JfoqJ
rauno has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #89044 → nixos/rethinkdb: refactor enable option → https://git.io/Jfryr
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JfoqI
Havvy has quit [Ping timeout: 260 seconds]
__monty__ has joined #nixos
proofofkeags has joined #nixos
proofofkeags has quit [Remote host closed the connection]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
o1lo01ol1o has joined #nixos
KeiraT has quit [Ping timeout: 240 seconds]
pjt_014 has quit [Ping timeout: 240 seconds]
<magnetophon> Is anyone using emacs magit for nixpkgs dev? How's the performance?
meh` has joined #nixos
<adisbladis> magnetophon: Yes, and magit-status is pretty slow
<adisbladis> Takes a second or two
<adisbladis> Still worth it
<rnhmjoj> nixpkgs is just too large. i hope we'll be able to split out nixos and maybe more stuff with flakes
<rnhmjoj> git status takes 2.8s on my computer
<adisbladis> I hope we wont
<magnetophon> adisbladis: Thanks. sure worth it. mine takes much longer though. I have a lot of (old) branches and stashes, does that affect performance a lot?
KeiraT has joined #nixos
<rnhmjoj> why not?
<lewo> magnetophon: mine takes between 4 and 5 sec
<tobeportable> git status 0.04s user 0.09s system 126% cpu 0.105 total
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89088 → pdfcpu: 0.3.2 -> 0.3.3 → https://git.io/Jfoqu
<adisbladis> rnhmjoj: Having everything in a monorepo is _fantastic_ for various reasons. Testing breakage is much easier for one. Finding stuff is much easier too.
<lewo> I've seen something to provide a cache to git status. I'm wondering if this could help.
xwvvvvwx has quit [Quit: ZNC 1.8.0 - https://znc.in]
opthomasprime has joined #nixos
xwvvvvwx has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
opthomasprime has quit [Remote host closed the connection]
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
<rnhmjoj> lewo: a workaround is to run git status -uno, which avoids checking for untracked files
asymptotically has joined #nixos
<rnhmjoj> adisbladis: yeah, that's the main pro of a monorepo. unfortunately the performance of git can only get worse over time. also cloning nixpkgs is not fun if you don't have a fast connection
o1lo01ol1o has quit [Remote host closed the connection]
<adisbladis> I'm well aware, I just don't see the cost of splitting nixpkgs as something worthwhile.
o1lo01ol1o has joined #nixos
<adisbladis> We could already improve `git status` performance drastically by getting rid of all directories with a single default.nix file
<lewo> rnhmjoj: not sure it could help with magit: git status takes 0.1s while magit-status takes 4s
mananamenos has joined #nixos
<adisbladis> Hm, I'm curious how much faster `git status` would be without all those extra dirs
civodul has joined #nixos
<magnetophon> magit status takes over 20 seconds here. "time git status" takes less than a second for me (seems fishy, something must be wrong with my measurement method,it has definitely taken longer in the past).
noudle has joined #nixos
justanotheruser has joined #nixos
<rnhmjoj> adisbladis: so, a directory has a fixed cost?
o1lo01ol1o has quit [Remote host closed the connection]
<adisbladis> magnetophon: File system caches?
o1lo01ol1o has joined #nixos
<adisbladis> rnhmjoj: Well, every directory has to be read
<evils> hmm, doesn't nix suffer that cost too?
<adisbladis> Nix doesn't readdir() every directory
<adisbladis> We hard code the file path
<evils> most stuff in all-packages.nix points to a directory, and it then has to find the default.nix?
<adisbladis> I'm gonna see what difference this actually makes
<rnhmjoj> aniway, it shouldn't be too hard to test. it's just a matter of renaming the default.nix to the attribute name and update all-packages.nix
<adisbladis> evils: Hm, possibly it needs to stat() every directory
<adisbladis> I haven't looked at this in detail
<evils> while you're at it, rewrite all-packages? :P
wfranzini1 has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
wfranzini1 has quit [Client Quit]
<adisbladis> evils: lstat("/home/adisbladis/tst", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
<adisbladis> openat(AT_FDCWD, "/home/adisbladis/tst/default.nix", O_RDONLY|O_CLOEXEC) = 3
<mananamenos> hi, i have a file which return `pkgs.stdenv.mkDerivation...` expression. How do I install this via configuration.nix systemPackages? I tried (callPackage ./my-file.nix) as well as (import ./my-file.nix). Neither has worked
<adisbladis> Yeah... We should probably stop using directories to callPackage
chloekek_ has joined #nixos
<magnetophon> adisbladis: you mean the cache is why "git status" is so fast? Any idea how to troubleshoot why magit is so extremely slow here?
hmpffff has quit [Quit: nchrrrr…]
<adisbladis> File system caches seems to make this mostly moot (at least for git status)
knupfer has joined #nixos
<adisbladis> It's around the 200ms mark even after moving blah/default.nix to blah.nix
<adisbladis> Hm, I need to actually look at what I'm doing here
knupfer has quit [Read error: Connection reset by peer]
<adisbladis> It seems I inverted some logic :3
cfricke has joined #nixos
<adisbladis> Holy crap
<adisbladis> harblasauhteohuceohuc,.äuoä
<adisbladis> It cut's git status in less than _half_
<adisbladis> I think this is a worthwhile change
<adisbladis> magnetophon: rnhmjoj: lewo: ^
<adisbladis> I have not tried to rewrite all-packages.nix
c0c0 has quit [Quit: WeeChat 2.6]
<adisbladis> But my assumption is that evaluation times will benefit greatly too
<manveru> adisbladis++
<{^_^}> adisbladis's karma got increased to 91
<rnhmjoj> that's impressive
<{^_^}> [hydra] @knl opened pull request #771 → Set notificationpendingsince for dependent builds → https://git.io/Jfomy
<rnhmjoj> adisbladis++
<{^_^}> adisbladis's karma got increased to 92
<adisbladis> I only moved files where there was a directory with a single default.nix inside, everything else is intact
<manveru> maybe a semantic change in the callPackage for top-level only? `if hasSuffix ".nix" then import x else import "${x}/default.nix"` or the like?
<manveru> would still be an eval cost, but break a lot less history
<adisbladis> manveru: I thought about that too :)
<manveru> because if we're gonna restructure nixpkgs, we might as well get rid of those category silliness and use tags instead :)
<adisbladis> Magit is really noticably happier
<rnhmjoj> manveru: tags?
<magnetophon> adisbladis: sorry I read over the thread 3 times, but con't find it. *what* cut's git status in less than _half_?
<adisbladis> magnetophon: Moving $somedir/default.nix -> $somedir.nix
<adisbladis> Where there is only one default.nix in a directory
<magnetophon> adisbladis: ah, thanks
<manveru> rnhmjoj: atm we have a structure like `pkgs/development/tools/misc/editorconfig-core-c/default.nix`
<manveru> rnhmjoj: i call those intermediate directories categories
<adisbladis> manveru: Yeah, those categories don't make much sense to me..
<adisbladis> I always end up in all-packages to look for the package name anyway
<manveru> if we had instead `pkgs/editor-config-core-c.nix`, we could even do a `map (i: callPackage i {}) (readDir ./pkgs)` (very simplified) to avoid most of the manual work in all-packages.nix
<rnhmjoj> yeah, i can never guess the right category at the first try
<adisbladis> It's also not always clear
<adisbladis> Is this a development tool, is this a library?
<adisbladis> Maybe it's both?
<lewo> I've the same issue with nixos modules: I always look in the module-list.nix file.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89090 → pspg: 3.1.1 -> 3.1.2 → https://git.io/JfoYL
<manveru> the directory is pretty much invisible for actually using nixpkgs, so the only time you have to think about it is when writing it...
cosimone has joined #nixos
<manveru> i think meta.tags would allow for some programmatic searchability that the directories don't offer
niksnut has quit [Ping timeout: 272 seconds]
dredozubov has quit [Ping timeout: 272 seconds]
pinkieval has quit [Excess Flood]
hmpffff has joined #nixos
<manveru> i wonder if we need an RFC for this
pinkieval has joined #nixos
dredozubov has joined #nixos
hmpffff has quit [Client Quit]
<adisbladis> manveru++
<{^_^}> manveru's karma got increased to 42
<adisbladis> I think we have one very low hanging fruit: Namely changing callPackage
<adisbladis> That doesn't fix git, but removes a lot of IO from eval
<adisbladis> I'm just gonna go ahead and try that
<manveru> yep
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89091 → qbec: 0.11.0 -> 0.11.2 → https://git.io/JfoYn
<{^_^}> [nixpkgs] @maralorn opened pull request #89092 → [20.03] haskellPackages.shh: Disable tests → https://git.io/JfoYC
niksnut has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
c0c0 has joined #nixos
chloekek_ has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/711890f1313 (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
matthiaskrgr has joined #nixos
nikivi has joined #nixos
<hyper_ch> anyone runs nixos on a raspi4? I just got message that you can have them now with 8gb... so plenty of ram to use zfs
<evils> adisbladis++ manveru++
<{^_^}> adisbladis's karma got increased to 93
<{^_^}> manveru's karma got increased to 43
<{^_^}> [hydra] @edolstra pushed commit from @knl to master « Make --no-allow-import-from-derivation configurable in hydra-eval-jobset »: https://git.io/JfoY1
<{^_^}> [hydra] @edolstra merged pull request #769 → Make --no-allow-import-from-derivation configurable in hydra-eval-jobset → https://git.io/Jfw47
<adisbladis> manveru: Actually that change doesn't improve anything
<{^_^}> [nixpkgs] @flokli closed pull request #88158 → Some systemd fixes revolving dbus and socket activation of systemd services → https://git.io/JfuyY
<adisbladis> The import logic is `lstat(dir)` and if it's a directory then import `default.nix`
<manveru> ah... right
<adisbladis> It just reads default.nix directly
<manveru> it's deeper than callPackage
<adisbladis> So this change would have to happen in nix itself
<{^_^}> [hydra] @edolstra merged pull request #771 → Fix: Set notificationpendingsince for dependent builds → https://git.io/Jfomy
<{^_^}> [nixos-org-configurations] @edolstra pushed to master « Set allow_import_from_derivation to false »: https://git.io/JfoYS
<manveru> that'd change semantics of nix too much ;|
<{^_^}> [hydra] @edolstra pushed 2 commits to master: https://git.io/JfoY7
hmpffff has joined #nixos
<__monty__> Hmm, when I run the sqlite3 cli in a nix-shell the arrow keys are rendered as escapes ^[[A, ^[[B, ^[[C, ^[[D, why is this?
<adisbladis> manveru: Would it really?
<adisbladis> manveru: Anyway, this is some good stuff :)
<manveru> __monty__: use `sqliteInteractive`
<manveru> adisbladis: well, it's worth discussing for sure
<adisbladis> manveru: I'll bring this up with Eelco later today =)
<{^_^}> [nix] @edolstra merged pull request #3632 → installer: don't require xz on darwin → https://git.io/JfrMb
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JfoYx
agsdheidjd has joined #nixos
<rnhmjoj> monty: in general, that's a sign of readline support disabled
vojta001[m] has joined #nixos
<manveru> also happens if you have `nixops` in your nix-shell... it leaks `sqlite3` through python propagatedBuildInputs
<__monty__> manveru: Doesn't look like there's any difference in the expressions?
<manveru> > sqlite
<{^_^}> "<derivation /nix/store/vfdzwss8iqz4a64mczgd5wgdsnijnl30-sqlite-3.31.1.drv>"
<manveru> > sqliteInteractive
<__monty__> I mean, it works, but why?
<{^_^}> "<derivation /nix/store/3wjb4frj4k8m4fqxxwffsyhg99ndcbd8-sqlite-3.31.1.drv>"
<__monty__> Are different arguments passed?
<manveru> most likely
<__monty__> rnhmjoj: It doesn't look like that's the case for sqlite though.
<__monty__> I guess what I want to know is *why* nix-shell doesn't appear to be a real shell/pty.
<manveru> `sqlite.override { interactive = true; }`
<manveru> how's that related?
<__monty__> Nevermind, didn't spot the --enable-readline.
<__monty__> Bit of an annoying default imo.
<manveru> yeah
<manveru> but most usage of sqlite is as library where you don't want a readline dependency
Chiliparrot has joined #nixos
<manveru> then again this could be solved with a proper split package... no?
<{^_^}> [nixpkgs] @zimbatm merged pull request #89073 → terraform: 0.12.25 -> 0.12.26 → https://git.io/JfoJs
<__monty__> I have no idea but yeah I think .dev's supposed to be for things used as library?
<manveru> yep
<__monty__> I'll look into multiple output expressions, maybe PR.
<manveru> and if you want the sqlite.bin, you probably want the interactive one :)
<{^_^}> [nixpkgs] @zimbatm pushed commit from @marsam to master « terraform: 0.12.25 -> 0.12.26 (#89073) »: https://git.io/JfoOt
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89093 → rabbitmq-server: 3.8.3 -> 3.8.4 → https://git.io/JfoOq
<manveru> i think that might need changes in all places that use sqlite tho, to use sqlite.lib instead
<manveru> unless mkDerivation has some magic for that
kai_w has quit [Quit: Konversation terminated!]
nixbitcoin_ is now known as nixbitcoin
kai_w has joined #nixos
tarelerulz has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #89094 → nix-build-uncached: init at 0.1.1 → https://git.io/JfoOF
realrokka has quit [Ping timeout: 272 seconds]
mananamenos has quit [Remote host closed the connection]
realrokka has joined #nixos
locallycompact has quit [Ping timeout: 260 seconds]
Avaq has joined #nixos
locallycompact has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7e571eb9943 (from 19 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
c0c0 has quit [Quit: WeeChat 2.7.1]
sigmundv has joined #nixos
agsdheidjd has quit [Ping timeout: 272 seconds]
agsdheidjd has joined #nixos
teto has quit [Ping timeout: 260 seconds]
zupo has joined #nixos
<{^_^}> [nixpkgs] @filalex77 opened pull request #89095 → tunnelto: 0.1.5 -> 0.1.6 → https://git.io/Jfo36
teto has joined #nixos
reirob has joined #nixos
<{^_^}> [nixpkgs] @dywedir merged pull request #89042 → scrcpy: 1.13 -> 1.14 → https://git.io/Jfryt
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/Jfo3Q
<reirob> Hello
<reirob> I am trying to upgrade my 19.09 VM to 20.03 and stumbled upon an error
<reirob> When running "sudo nixos-rebuild switch --upgrade"
<{^_^}> [nixpkgs] @filalex77 merged pull request #89090 → pspg: 3.1.1 -> 3.1.2 → https://git.io/JfoYL
<{^_^}> [nixpkgs] @filalex77 pushed 2 commits to master: https://git.io/Jfo3N
magnetophon has quit [Read error: Connection reset by peer]
<reirob> I get: error: The option `programs.ssh.askPassword' has conflicting definitions, in `...'.
<reirob> Sorry, let me copy the whole error, it might be important:
<reirob> error: The option `programs.ssh.askPassword' has conflicting definitions, in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/x11/desktop-managers/plasma5.nix' and `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/programs/seahorse.nix'.
<manveru> hmm
<reirob> I am quite new to nixos
<reirob> So I am looking for advice what to do
<reirob> I believe it is because in 19.09 I had a lot of desktop environments installed, especially gnome and kde
<manveru> `programs.ssh.askPassword = mkDefault "${plasma5.ksshaskpass.out}/bin/ksshaskpass";` vs `programs.ssh.askPassword = mkDefault "${pkgs.gnome3.seahorse}/libexec/seahorse/ssh-askpass";`
<reirob> But it worked fine. Now on 20.03 I interpret it that there is a conflict between kde plasma and seahorse
<manveru> so, you gotta choose one
Neo-- has joined #nixos
<manveru> by putting something like `programs.ssh.askPassword = "${pkgs.gnome3.seahorse}/libexec/seahorse/ssh-askpass";` in your configuration.nix
<{^_^}> [nix] @edolstra pushed 7 commits to flakes: https://git.io/Jfo3h
<{^_^}> [nix] @edolstra merged pull request #3565 → Use nixpkgs#bashInteractive for dev-shell → https://git.io/JfZvq
<reirob> @manveru, many thanks, I will immediately try it out!
<reirob> And will tell if it worked.
<manveru> i think that's the entire point of the searhorse module, i'm surprised they set it to `mkDefault`
<reirob> I am wondering how it worked in 19.09
justanotheruser has quit [Ping timeout: 272 seconds]
<manveru> the seahorse one was only introduced in october last year
<manveru> so that explains that :)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<reirob> Ah, that explains it! Thank you. I can confirm, that by adding programs.ssh.askPassword = "${pkgs.gnome3.seahorse}/libexec/seahorse/ssh-askpass"; now the nixos-rebuild seems to work, it's still working, but I can see that it continues further than where it was
<reirob> Many thanks @manveru :)
<reirob> I am wondering, how did you find out what the problem was, so quickly?
<{^_^}> [nixpkgs] @marsam merged pull request #89080 → kubeseal: 0.12.3 -> 0.12.4 → https://git.io/Jfoka
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfosm
agsdheidjd has quit [Ping timeout: 246 seconds]
teto has quit [Ping timeout: 260 seconds]
<{^_^}> [nix] @edolstra pushed 3 commits to flakes: https://git.io/Jfos3
<{^_^}> [nix] @edolstra merged pull request #3607 → Handle circular flake dependencies in list-inputs → https://git.io/Jf2mx
<manveru> reirob: i looked at the two files from your error message
<reirob> Wow, it's so simple, I am shocked.
<reirob> So when there are conflicting definitions, it is enough to overwrite the definition in the configuration.nix file, right?
<manveru> usually, yes
justanotheruser has joined #nixos
<manveru> since both are `mkDefault`, yours will take precedence
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<reirob> cool! learned something today :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89096 → silicon: 0.3.1 -> 0.3.2 → https://git.io/JfosW
magnetophon has joined #nixos
butcher has quit [Quit: Leaving]
<{^_^}> [nix] @edolstra pushed 2 commits to 2.3-maintenance: https://git.io/JfosB
ok2`- has joined #nixos
ok2` has quit [Ping timeout: 264 seconds]
ok2`- is now known as ok2`
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/93b68c7cc5a (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
drakonis1 has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
<nixbitcoin> Hey, I'm still working on creating a generalized netns creator service. This is the first function I've ever written, and I'm struggling with syntax and a lib.forEach. You can see my most current mkNetns function here: https://gist.github.com/nixbitcoin/72c5b5b77471775f5d28eb98ec7ba22b
<{^_^}> [nixpkgs] @marsam opened pull request #89097 → zz: 2020-03-02 -> 0.1 → https://git.io/Jfoso
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89098 → snapraid: 11.4 -> 11.5 → https://git.io/JfosD
drakonis has joined #nixos
<nixbitcoin> Specifically I can't seem to figure out where to define the function so I can call it from other modules and how to combine variables from the function's argument set and other files.
vidbina has joined #nixos
<nixbitcoin> Can somebody point me to similar code in the nixpkgs or help me with this function specifically? I would be very grateful.
cosimone has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @alexbiehl opened pull request #89099 → python3Packages.skein: init at 0.8.0 → https://git.io/JfosS
<kloenk> Im a little lost why this build fails on my x86_64-linux hydra. Can somebody point me in some directions? https://hydra.kloenk.de/build/262
drakonis1 has quit [Ping timeout: 272 seconds]
misasaki has joined #nixos
cosimone has joined #nixos
misasaki has quit [Client Quit]
<{^_^}> [nixpkgs] @domenkozar merged pull request #89094 → [backport] nix-build-uncached: init at 0.1.1 → https://git.io/JfoOF
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to release-20.03: https://git.io/JfosH
kvda has joined #nixos
<{^_^}> [nixpkgs] @ttuegel merged pull request #86317 → qt5: Add missing include path to pkg-config files → https://git.io/JfYYi
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to staging: https://git.io/JfoGe
<{^_^}> [nixpkgs] @Profpatsch merged pull request #89093 → rabbitmq-server: 3.8.3 -> 3.8.4 → https://git.io/JfoOq
<{^_^}> [nixpkgs] @glaebhoerl opened pull request #89100 → kdevelop: use LLVM 10 → https://git.io/JfoGv
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @r-ryantm to master « rabbitmq-server: 3.8.3 -> 3.8.4 »: https://git.io/JfoGf
cosimone has quit [Client Quit]
drakonis1 has joined #nixos
turion has joined #nixos
<turion> Huh. I have: $ ls /nix/var/nix/gcroots/profiles -l
<turion> lrwxrwxrwx 1 root root 25 22. Nov 2018  /nix/var/nix/gcroots/profiles -> /mnt/nix/var/nix/profiles
<turion> And that link is broken
<b42> nixbitcoin: since it's touching `config` i suppose the easiest way to call it from other modules would be to expose it as a module itself and "call" it by setting its options?
<turion> Maybe a leftover from installation?
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @obadz merged pull request #89087 → Update spdlog to 1.6.0 → https://git.io/Jfoqe
<{^_^}> [nixpkgs] @obadz pushed 2 commits to master: https://git.io/JfoGL
drakonis has quit [Ping timeout: 246 seconds]
agsdheidjd has joined #nixos
reirob has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<{^_^}> [nixpkgs] @tasmo opened pull request #89101 → bitwig-studio3: 3.1.2 -> 3.1.3 → https://git.io/JfoG3
drakonis has joined #nixos
cosimone has joined #nixos
<nixbitcoin> b42: I want to have a different "netns-" service for every nix-bitcoin service that binds to its nix-bitcoin service and creates its netns before nix-bitcoin service starts. For this I wanted to create a function that is imported in every module with something like `systemd.services.netns-bitcoind = mkNetns { name = "bitcoind"; iface = "veth1"; };`
<nixbitcoin> b42: If it were a standalone module, could I set it's options multiple times for every service?
drakonis1 has quit [Ping timeout: 272 seconds]
<b42> nixbitcoin: you can - some types of options can be merged so if you e.g. declare an option "services.netns" with type = types.attrOf types.str then one module can set services.netns = { bitcoind = "veth1"; }; other module can set services.netns = { clightning = "veth2"; }; and your module will see it as { bitcoind = "veth1"; clightning = "veth2" }
<nixbitcoin> How would I then parse the set for the correct name's and veth's for every netns creator service?
<{^_^}> [nixpkgs] @marsam opened pull request #89102 → spotify-tui: 0.19.0 -> 0.20.0 → https://git.io/JfoG2
tarelerulz has quit [Remote host closed the connection]
noudle has quit []
<{^_^}> [nixpkgs] @marsam merged pull request #89096 → silicon: 0.3.1 -> 0.3.2 → https://git.io/JfosW
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfoG6
<{^_^}> [nixpkgs] @marsam merged pull request #89076 → hyperfine: 1.9.0 -> 1.10.0 → https://git.io/JfoTl
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfoGy
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/64a59a5b300 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89103 → tiled: 1.3.4 -> 1.3.5 → https://git.io/JfoG9
<{^_^}> [nixpkgs] @marsam merged pull request #89071 → rclone: 1.51.0 -> 1.52.0 → https://git.io/Jfofj
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfoG7
teto has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<b42> in the conifg = ... part of your module you'd do something like systemd.services = mapAttrs (name: iface: { /* ...what you have now in mkNetns */ })
<b42> nixbitcoin: ^ if i understand the question correctly
janneke has quit [Quit: janneke quits Mes'sing]
<b42> or rather mapAttrs' if you want the service name to be something other than the ns name https://nixos.org/nixpkgs/manual/#function-library-lib.attrsets.mapAttrs-prime
janneke has joined #nixos
ok2`- has joined #nixos
<b42> so systemd.services = mapAttrs' (name: iface: nameValuePair "netns-${name}" { /* service definition */ })
ZaraChimera has quit [Quit: Going offline, see ya! (www.adiirc.com)]
ok2` has quit [Ping timeout: 240 seconds]
ok2`- is now known as ok2`
<nixbitcoin> Ah cool, I'll give that a try right now. Do you have any ideas how to solve the whole availableNetns thing where I'm trying to add lines to the ExecStart list for every netns in the service's availableNetns list?
<{^_^}> [nixpkgs] @peterhoeg merged pull request #88942 → powerdevil: add DDC support → https://git.io/JfwKC
<{^_^}> [nixpkgs] @peterhoeg pushed 3 commits to master: https://git.io/JfoZk
<__monty__> Hmm, so sqlite is already a multiple-output expression and the default output *is* bin. It's just that the binary is built without readline support by default.
alp has quit [Ping timeout: 246 seconds]
<b42> nixbitcoin: don't know the context here - does every netns need to have list of other namespaces it's allowed to talk to?
CcxWrk has joined #nixos
alp has joined #nixos
<__monty__> 1400 occurrences of sqlite without an output specified. Would changing the default to interactive and specifying .dev and .out everywhere the binary isn't needed even be accepted in a PR?
calbrecht has quit [Remote host closed the connection]
Darkmatter66 has quit [Ping timeout: 260 seconds]
Darkmatter66_ has joined #nixos
kvda has joined #nixos
gilligan has quit [Quit: WeeChat 2.7.1]
Darkmatter66_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
Chiliparrot has joined #nixos
piezoid has joined #nixos
<manveru> ,locate bin rpmbuild
<{^_^}> Found in packages: python27Packages.rpm, python37Packages.rpm, python38Packages.rpm
vidbina has quit [Ping timeout: 260 seconds]
cosimone has quit [Quit: Quit.]
<b42> nixbitcoin: i guess the idiomatic way would be to configure the namespaces as an attribute set of submodules: https://nixos.org/nixos/manual/index.html#section-option-types-submodule
<b42> so you'd be able to configure it like services.netns.bitcoind = { interface = "veth1"; availableNs = [ "tor" ]; };
<b42> see e.g. nginx module in nixpkgs for an example
<b42> let me stare at your code for a bit to make sure i'm not missing something:D
jlv_ has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3455 → Replace some `bool recursive` with a new `FileIngestionMethod` enum → https://git.io/Jv7vq
<{^_^}> [nix] @edolstra pushed 12 commits to master: https://git.io/Jfonk
<b42> to account for the "enable" option your interface would have to be something like { enable = mkEnableOption "..."; namespaces = mkOption { type = types.attrsOf (types.submodule ...)); } }
<{^_^}> [nix] @edolstra merged pull request #3631 → Add unit tests for config.cc → https://git.io/JfrrW
<{^_^}> [nix] @edolstra pushed 5 commits to master: https://git.io/Jfont
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89104 → wormhole: 0.1.5 -> 0.1.6 → https://git.io/Jfonq
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d34fa6ed443 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
magnetophon has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @filalex77 closed pull request #89104 → wormhole: 0.1.5 -> 0.1.6 → https://git.io/Jfonq
hmpffff has quit [Quit: nchrrrr…]
rauno has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #89105 → mesa: 20.0.2 -> 20.0.7 → https://git.io/JfonB
magnetophon has joined #nixos
<{^_^}> [nixpkgs] @puffnfresh opened pull request #89106 → matrix-appservice-irc: init at 0.17.1 → https://git.io/Jfonz
timmw has quit [Quit: The Lounge - https://thelounge.chat]
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout merged pull request #89092 → [20.03] haskellPackages.shh: Disable tests → https://git.io/JfoYC
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to release-20.03: https://git.io/Jfon2
timmw has joined #nixos
vidbina has joined #nixos
hmpffff has joined #nixos
orivej has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cr4y1 has quit [Ping timeout: 246 seconds]
kwohlfahrt[m] has joined #nixos
kvda has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #89107 → pirate-get: 0.3.7 -> 0.4.0 → https://git.io/Jfonx
orivej has joined #nixos
jakobrs has joined #nixos
cr4y1 has joined #nixos
<jakobrs> I noticed that I have both NetworkManager and wpa_supplicant running; is this normal?
<bqv> Very
<klys> yes, network-manager runs wpa-supplicant.
<jakobrs> Also, is it possible to connect to wifi automatically without logging in to Plasma?
hmpffff has quit [Quit: nchrrrr…]
<bqv> JustNetworkManagerProblems…
<jakobrs> I think my other computer used to connect automatically, and it had almost the exact same configuration
<jakobrs> (nixos configuration)
<bqv> Maybe look at the difference then
cr4y1 has quit [Ping timeout: 272 seconds]
<jakobrs> They both had the same configuration.nix file, except for hardware-related stuff (hardware-configuration.nix and names of network adapters)
<{^_^}> [nixpkgs] @romildo merged pull request #88941 → zuki-themes: 3.34-2 -> 3.36-2 → https://git.io/JfwKn
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/Jfoc8
<jakobrs> Interestingly, logging out of plasma actually disconnects the wifi
<{^_^}> [nixpkgs] @romildo merged pull request #88943 → xfce.thunar: 1.8.14 -> 1.8.15 → https://git.io/JfwKP
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/Jfocg
cr4y1 has joined #nixos
<{^_^}> [nixpkgs] @romildo merged pull request #89040 → deepin.deepin-screenshot: remove (has been archived upstream) → https://git.io/JfrXM
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/Jfoc6
<bqv> But only on certain hardware
jakobrs has left #nixos ["rebooting to test changes"]
rauno has quit [Remote host closed the connection]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89108 → zuki-themes: 3.34-2 -> 3.36-2 → https://git.io/Jfoc1
knupfer has joined #nixos
jakobrs has joined #nixos
<jakobrs> Tried to set "All users may connect to this network" and now at least I'm not disconnected when logging out
<{^_^}> [nixpkgs] @romildo closed pull request #89108 → zuki-themes: 3.34-2 -> 3.36-2 → https://git.io/Jfoc1
<jakobrs> Although there are now scary "Failed to get secrets/insufficient privileges" warnings
<jakobrs> I'll assume the problem is in my networkmanager configuration and not my nixos configuration.
<{^_^}> [nix] @edolstra pushed 77 commits to flakes: https://git.io/JfocA
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
jakobrs has left #nixos [#nixos]
kai_w has quit [Quit: Konversation terminated!]
kwohlfahrt[m] is now known as kai_w
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
alp has quit [Remote host closed the connection]
alp has joined #nixos
codygman___ has joined #nixos
Rusty1 has joined #nixos
lorimer has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/eab4103efa2 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/0f04d947469 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<codygman___> Is there a tool to figure out what change is causing nix-build to rebuild? I have a repo with a Haskell project and a README.md. I ran it once and pushed to cachx and I see it's pushed there successfully. I see my custom dependencies are pulled from cachix. Then I modify the README.md and it causes the whole Haskell package to be rebuilt even
<codygman___> though I'm using gitignoreSource from https://github.com/hercules-ci/gitignore.nix. Any way to see why the rebuild is happening or debug it further?
<codygman___> Oh... I just had a thought. I can go see what's in the derivation... directory... maybe
hmpffff has joined #nixos
aveltras has joined #nixos
<domenkozar[m]> there's nixpkgs.nix-diff
jlv_ has quit [Ping timeout: 256 seconds]
<codygman___> Oh, I think that will work for me.
<codygman___> I also see https://github.com/Gabriel439/nix-diff which lists figuring out cache misses as a feature
wfranzini1 has joined #nixos
orivej_ has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
virus_dave has joined #nixos
cr4y1 has quit [Read error: Connection reset by peer]
cr4y1 has joined #nixos
janneke has quit [Remote host closed the connection]
waleee-cl has joined #nixos
janneke has joined #nixos
alp has quit [Remote host closed the connection]
alp has joined #nixos
<hyper_ch> yeah, "Build problem" has disappeared from nixos unstable
<{^_^}> [patchelf] @domenkozar pushed to master « README: markdown »: https://git.io/JfoCN
<{^_^}> [patchelf] @domenkozar pushed to domenkozar-patch-1 « Update Makefile.am »: https://git.io/JfoWk
<{^_^}> [patchelf] @domenkozar opened pull request #200 → Update Makefile.am → https://git.io/JfoWI
<betawaffle> what is `_module.args`?
<clever> betawaffle: it lets you add custom args to every module, in the same place { config, pkgs, lib, ... }: happens
<{^_^}> [patchelf] @domenkozar merged pull request #200 → Update Makefile.am → https://git.io/JfoWI
<{^_^}> [patchelf] @domenkozar pushed 2 commits to master: https://git.io/JfoWq
lorimer has joined #nixos
<betawaffle> clever: does the order of modules passed to evalModules matter? for example, are those args only available to modules later in the list
hmpffff_ has joined #nixos
<infinisil> betawaffle: They're available to all modules, order doesn't matter
<betawaffle> fancy
orivej_ has quit [Ping timeout: 246 seconds]
<infinisil> (unfortunately module order sometimes does matter for other things, ideally it shouldn't)
hmpffff has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<betawaffle> yeah, i'm not worried about that. ok, next question... does a "configured" nixpkgs (ie. `import <nixpkgs> {}`) include a reference to itself somewhere?
<betawaffle> for example, is there an argument i can add to a package to get access to the nixpkgs directory, like for referencing nixos modules
NeoCron has quit [Ping timeout: 260 seconds]
<clever> > pkgs.path
<{^_^}> /var/lib/nixbot/nixpkgs/master/repo
<betawaffle> perfect!
magnetophon has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #89107 → pirate-get: 0.3.7 -> 0.4.0 → https://git.io/Jfonx
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JfoWz
jlv_ has joined #nixos
<betawaffle> maybe final question: are there any default arguments available to modules given to evalModules? ie. `(lib.evalModules { modules = [ (args: { config.moduleArgs = args }) ]; }).config.moduleArgs`
chloekek_ has joined #nixos
jlv_ has quit [Ping timeout: 256 seconds]
<{^_^}> [rfcs] @lheckemann closed pull request #64 → [RFC 0064] New Documentation Format for nixpkgs and NixOS → https://git.io/JejtS
hmpffff_ has quit [Quit: nchrrrr…]
<betawaffle> looks like config, lib, and options
jlv_ has joined #nixos
zaeph has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to release-20.03: https://git.io/JfolB
zaeph has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/0f04d947469 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
magnetophon has joined #nixos
Maxdamantus has quit [Ping timeout: 240 seconds]
cfricke has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @NeQuissimus pushed 10 commits to master: https://git.io/JfolS
Maxdamantus has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #89053 → xmlrpc_c: 1.39.12 -> 1.51.06 → https://git.io/Jfr73
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfolQ
magnetophon has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @NeQuissimus pushed 6 commits to release-20.03: https://git.io/Jfolp
Jeroen[m]1 has left #nixos ["User left"]
wadkar has joined #nixos
<wadkar> hi, fresh install of Catalina with `xcode-select --install` done; but installer complains 'you do not have xz installed', what gives?
<wadkar> (I obviously don't wanna install brew/macports for this, as I want to stay within nixpkg boundaries)
<aveltras> any idea why i'd have to recompile so many things when using a shell.nix like the following ? I'd think pandoc is a common enough library that it would be downloaded from the cache
<wadkar> The command I am issuing is `sh <(curl https://nixos.org/nix/install) --daemon`
zfnmxt has quit [Quit: Bye!]
<{^_^}> nix#3632 (by LnL7, 18 hours ago, merged): installer: don't require xz on darwin
<{^_^}> [nixpkgs] @marsam merged pull request #89102 → spotify-tui: 0.19.0 -> 0.20.0 → https://git.io/JfoG2
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfo8t
zfnmxt has joined #nixos
<adisbladis> So for now I guess an OK workaround is
<adisbladis> sh <(curl https://nixos.org/nix/install | grep -v "require_util xz") --daemon
growpotkin has joined #nixos
hmpffff has joined #nixos
<wadkar> adisbladis: thanks, i'll comment out line#39 and rerun
chloekek_ has quit [Ping timeout: 246 seconds]
janneke has quit [Remote host closed the connection]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
janneke has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej_ has joined #nixos
<CRTified[m]> and no application can record anything with it. I can also only choose ALSA for audio interfacing, although I use pulse. There is also no pulse entry, but just a large list of actual audio hardware available in my system. I'm on nixos-20.03.1950.48723f48ab9 as my main channel right now.
<CRTified[m]> (I was redirected from #nixos-chat to maybe ask here): Hi, I have a problem with audacity and pulse, maybe someone here has an idea. When starting, I get this output: https://gist.github.com/CRTified/d424e8c07a1dd8590b1a69855250d549 - and from there on, I can't use the microphone input of my onboard sound card. Looking at the VU-Meter in pavucontrol suggests that there is just ~1 sample/second coming from the soundcard,
LevelChart8 has joined #nixos
magnetophon has joined #nixos
<wadkar> I can't seem to find the manual steps required to do `--darwin-use-unencrypted-nix-store-volume` step. The install script provides a URL with anchor that doesn't exist: https://nixos.org/nix/manual/#sect-macos-installation
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
j-k has joined #nixos
jlv_ has quit [Quit: leaving]
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<LnL> yeah the manual hasn't updated yet for some reason
magnetophon has quit [Ping timeout: 256 seconds]
<wadkar> wow - to answer my own question, this is very much a recent fix available in 2.3.5 and the document can be found at: https://hydra.nixos.org/build/119559243/download/1/manual/#sect-macos-installation
<wadkar> LnL: thanks, I just found #3628
<{^_^}> https://github.com/NixOS/nixpkgs/issues/3628 (by aragnon, 5 years ago, closed): blender doesn't work
claudia_ has joined #nixos
<turion> CRTified[m]: Maybe an upstream Audacity issue?
claudia_ is now known as iyra
<wadkar> ugh, the bot pointed to nixpkgs, i wanted to refer to nix repo
<clever> nix#3628
<{^_^}> https://github.com/NixOS/nix/pull/3628 (by domenkozar, 2 days ago, merged): 2.3 installer fixes
<wadkar> thanks, you're clever :-)
<{^_^}> [nixpkgs] @marsam merged pull request #88040 → oniguruma: 6.9.4 -> 6.9.5_rev1 → https://git.io/JfEG1
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfo4v
<{^_^}> [nixpkgs] @marsam merged pull request #89097 → zz: 2020-03-02 -> 0.1 → https://git.io/Jfoso
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfo4T
<j-k> can anyone observe the RFC meeting? If not, is the best place to observe, Discourse & the GH issue?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ad0df8414e3 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfo4I
<{^_^}> [nixpkgs] @marsam merged pull request #89098 → snapraid: 11.4 -> 11.5 → https://git.io/JfosD
<{^_^}> [nixpkgs] @marsam merged pull request #89065 → cargo-tarpaulin: 0.12.4 -> 0.13.2 → https://git.io/JfrpJ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfo4q
magnetophon has joined #nixos
vidbina has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #89077 → hyperscan: 5.2.1 -> 5.3.0 → https://git.io/JfoTE
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfo4m
<{^_^}> [nixpkgs] @timokau opened pull request #89111 → gap: cleanup → https://git.io/Jfo4Y
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #89045 → toybox: 0.8.2 -> 0.8.3 → https://git.io/JfryP
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfo48
mthst has joined #nixos
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfo44
<{^_^}> [nixpkgs] @marsam merged pull request #89026 → tautulli: 2.2.3 -> 2.2.4 → https://git.io/Jfrg2
<infinisil> j-k: Which RFC do you mean?
__monty__ has quit [Quit: leaving]
<j-k> infinisil: just the RFC meeting generally https://github.com/NixOS/rfc-steering-committee/issues/37
<{^_^}> rfc-steering-committee#37 (by lheckemann, 1 hour ago, open): RFC meeting 2020-05-28
<j-k> Although the RFC I'm most following is the one on flakes
xwvvvvwx has quit [Quit: ZNC 1.8.0 - https://znc.in]
xwvvvvwx has joined #nixos
<infinisil> Not sure about the steering committe meeting, but for the RFC meetings I wouldn't mind if more people asked to observe
<evils> emphasis on asking or observing?
codygman___ has quit [Remote host closed the connection]
simba2 has quit [Ping timeout: 272 seconds]
ddellacosta has joined #nixos
alexherbo2 has joined #nixos
gustavderdrache has joined #nixos
<niksnut> we also just wondered if they should be recorded
acowley has quit [Ping timeout: 240 seconds]
<evils> if at all possible, that seems like a great option
acowley has joined #nixos
simba2 has joined #nixos
turion has quit [Quit: Leaving.]
<j-k> Looks like a meeting just finished on flakes, comment posted on the issue 2 mins ago moving it to FCP
xourt has joined #nixos
<bqv> ?!
<gchristensen> wooo!
<bqv> awesome
<gchristensen> niksnut: we could put record them and put them up on the youtube channel. that said, I think some people don't want to be recorded -- so maybe not all of them
fendor_ has joined #nixos
<j-k> the sprunge link for the meeting notes isn't working over https and by browser keeps redirecting there ... curl -> pager to the rescue
<j-k> *my browser
fendor has quit [Ping timeout: 260 seconds]
<bqv> so what does the rfc being merged even change? presumably channels aren't being deprecated, and i've heard a lot of cries of "it isn't even merged yet" but there isn't really any breaking change
<bqv> is this essentially just a statement of intent
Chiliparrot has joined #nixos
<niksnut> acceptance of an rfc means we're agreed in principle on some feature, but not necessarily the implementation or every detail
hmpffff has quit [Quit: nchrrrr…]
reirob has joined #nixos
<reirob> Hello again #nixos :)
<bqv> gotcha
<reirob> I have a new problem. I installed a program called pokerth. When I log in to KDE then it works, but when I try to start it in Gnome it crashes
<reirob> The error that it gives: qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
<reirob> This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
orivej has quit [Quit: No Ping reply in 180 seconds.]
<reirob> Available platform plugins are: wayland-org.kde.kwin.qpa.
<reirob> Aborted (core dumped)
<{^_^}> [nixpkgs] @eadwu opened pull request #89112 → musl: include libc.musl-$arch → https://git.io/JfoRv
<reirob> Any hints what it might be?
<reirob> Or what I can do about it?
orivej has joined #nixos
<reirob> I am happy to submit a bug to nixos. But I never did, so I would need some start help, about how to do this
<reirob> If that's the way to go
<j-k> the nixpkgs repo has an issue template that's very helpful if you'd like to fill one out. And as usual, provide as much detail as possible
gxt__ is now known as gxt
<reirob> @j-k, you mean on https://github.com/NixOS/nixpkgs
<alexarice[m]> reirob: This is quite a common problem with qt programs and should be easish to fix
<reirob> @alexarice, what should I do?
<reirob> I guess if it is a problem with qt programs, then I am not the only one for whom it happens.
<j-k> reirob: yup that repo. & yeah it's a QT issue, works in KDE because it's QT based. Not sure what the package is missing as I haven't done any QT packaging yet
<alexarice[m]> reirob: I had a look at the derivation, it looks like it has been fixed, are you on 20.03?
<alexarice[m]> *has been fixed on unstable
<reirob> yes I am on 20.03
<j-k> updated your channel?
<j-k> looks like it hasn't made it's way to the nixos-20.03 branch yet
<alexarice[m]> either you could make an issue asking for a backport and cc nixos-backports (?) or get the version from unstable
eoli3n_ has quit [Ping timeout: 264 seconds]
<reirob> ah, but it will probably land in 20.03 and then when I will do an upgrade it will work, right?
<reirob> I guess I will just open an issue and provide my details, right?
<alexarice[m]> reirob: it probably won't land in 20.03 if no one knows it is broken
<alexarice[m]> i.e. yes you should make an issue
<reirob> thank you very much for your nice and helpful advice, people. I will try now to open an issue
<j-k> This is the change that fixes your problem (if you want to reference it in your new issue) https://github.com/NixOS/nixpkgs/pull/84612
<{^_^}> #84612 (by mmilata, 7 weeks ago, merged): pokerth: use mkDerivation from Qt
<j-k> (I think)
<alexarice[m]> I'll put a message on the pr
<j-k> And this is how you can install a single unstable package if you want it now: https://discourse.nixos.org/t/installing-only-a-single-package-from-unstable/5598/2
<alexarice[m]> ,unstable reirob
<j-k> ooh thats cool
chloekek_ has joined #nixos
teto has quit [Ping timeout: 272 seconds]
<reirob> hey, many thanks people! I will try it out, and I will put the pull request from @j-k into the issue text
justanotheruser has quit [Ping timeout: 246 seconds]
sigmundv has quit [Remote host closed the connection]
sigmundv has joined #nixos
<reirob> @alexarice[m] do you know how to cc nixos-backports from the "New Issue" form?
pamplemousse has joined #nixos
<bqv> $> nix build --builders '' /nix/store/820bwsz9i9jdc1hp6i5c5a3b1p67crk7-runtime-deps.drv
<bqv> error: path '/nix/store/81wybawvkr95c7j8gj5ab3y740mq1fli-bash-4.4-p23/bin/bash' is not in the Nix store
<bqv> $> ls -l /nix/store/81wybawvkr95c7j8gj5ab3y740mq1fli-bash-4.4-p23/bin/bash
<bqv> .r-xr-xr-x 909k root 1 Jan 1970 /nix/store/81wybawvkr95c7j8gj5ab3y740mq1fli-bash-4.4-p23/bin/bash
<bqv> this seems fundamentally incorrect
cantstanya has quit [Remote host closed the connection]
<reirob> Well, I submitted the issue: https://github.com/NixOS/nixpkgs/issues/89113
<{^_^}> #89113 (by reirob, 20 seconds ago, open): pokerth in gnome3 crashes, but works in plasma5
<reirob> :-)
<alexarice[m]> reirob: I have ccd them in my message on the pr so don't worry about it
f0x has quit [Quit: killed]
joepie91 has quit [Quit: killed]
<reirob> Thank you very much for your help.
cantstanya has joined #nixos
jlv has quit [Disconnected by services]
f0x has joined #nixos
jlv has joined #nixos
<reirob> Now I will try to install from the unstable :)
<jlv> Is there something like overlays for modules? In particular, there is a pull request I want to test.
Guest30241 has joined #nixos
<bqv> i had a system for something like that, once
<bqv> but generally, no
<bqv> there's an option for disabling load of certain modules, and you can fetch the PR and import the module manually from there, i guess. but generally yeah, it's a pain in the ass
<jlv> bqv: at least that sounds better than maintaining my own fork.
<bqv> well, my other system was to automatically fetch several PRs and patch them onto the current version of nixpkgs
<bqv> which is even nicer, but is also basically a crappy solution to a crappy situation
<jlv> bqv: does it make any difference if I want to patch a home-manager module? I already fetch the home manager git repository before importing it, so I guess I could patch it before the import.
<bqv> yes, it makes all the difference
<bqv> just patch it manually. anything else will be messier
fendor_ has quit [Remote host closed the connection]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/49d31fd37c0 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<jlv> bqv: I would still rather patch with Nix, so I can keep everything in one place and not maintain a separate fork.
teto has joined #nixos
<bqv> then you're going to need messier hacks, you're on your own
<jlv> I guess I should see if the pull request works at all before going overboard.
Guest30241 has quit [Changing host]
Guest30241 has joined #nixos
Guest30241 has joined #nixos
Guest30241 is now known as joepie91
gilligan has joined #nixos
<alexherbo2> appimages do not work for me
j-k has quit [Quit: WeeChat 2.8]
<bqv> alexherbo2: unstable or stable
<alexherbo2> unstable
<bqv> you're sure it's an appimage and not random data?
reirob has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<alexherbo2> yes
<bqv> then appimage-run is probably just broken :p
<bqv> it's not unexpected, it's written somewhat brittle-y
<bqv> you might want to manually make a derivation for your app
<bqv> see appimageTools
<alexherbo2> bqv how can I rollback a previous version of appimage?
<bqv> you mean of appimage-run?
<alexherbo2> yes
<alexherbo2> that could fix it no?
<bqv> get an older revision of nixpkgs...
<bqv> i doubt it
<alexherbo2> arf
erasmas has joined #nixos
<alexherbo2> :(
<bqv> but feel free to try
j-k has joined #nixos
j-k has quit [Client Quit]
<bqv> there are examples of derivations using appimageTools in nixpkgs
<bqv> i'd just go that route
<bqv> it's guaranteed to work with enough frobnicating
proofofkeags has joined #nixos
<bqv> clever: are you awake?
<betawaffle> is there some clever way to invoke fetchgit (or something along those lines) to check out a particular revision of a local git repo?
numkem has quit [Remote host closed the connection]
<alexherbo2> bqv I do not know how to do
justanotheruser has joined #nixos
jlv has quit [Remote host closed the connection]
<betawaffle> (as an alternative to something like `src = ./.`)
<clever> bqv: yep
magnetophon has quit [Ping timeout: 264 seconds]
<bqv> clever: when i try and build not-os, i see the error i showed a few minutes above
drakonis_ has joined #nixos
<bqv> at :10
<simpson> qyliss++ for well-reasoned comments about flakes many months ago.
<{^_^}> qyliss's karma got increased to 64
zebrag has joined #nixos
<clever> bqv: that looks like a sandboxing issue
<clever> bqv: which expression are you trying to build?
<bqv> config.system.build.toplevel
<bqv> sandbox sounds about right
proofofkeags has quit [Remote host closed the connection]
<clever> bqv: can you pastebin more of the build log?
<bqv> oh
drakonis has quit [Ping timeout: 272 seconds]
<bqv> well, in fairness, it literally is just that
<clever> bqv: where does that path appear in the derivation, `nix show-derivation /nix/store/foo.drv` ?
magnetophon has joined #nixos
<bqv> it's env.builder and part of env.exportReferencesGraph
<bqv> oh, and builder
proofofkeags has joined #nixos
<clever> bqv: what if you run `nix path-info` on that bash?
drakonis has joined #nixos
<bqv> it just echoes it back
<{^_^}> [nixpkgs] @Infinisil pushed commit from @mmilata to release-20.03 « pokerth: use mkDerivation from Qt »: https://git.io/JfoEc
<clever> bqv: which version of nixpkgs are you using?
<bqv> ah, er... unstable from about a week ago?
<clever> bqv: i would expect that to work
<bqv> this might be an effect of me using flakey nix
<clever> try using a normal nix?
<bqv> but i need to vanish for 10 minutes, so i'll investigate shortly
<{^_^}> [nixpkgs] @orivej opened pull request #89114 → fmt: 6.2.0 -> 6.2.1, fix cmake config → https://git.io/JfoE8
<bqv> yeah
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #89115 → metals: provide client-agnostic flavor → https://git.io/JfoEB
drakonis_ has quit [Ping timeout: 246 seconds]
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @wagdav opened pull request #89116 → nixos/maintainers/scripts/ec2/create-amis.sh: fix argument check → https://git.io/JfoEV
drakonis1 has quit [Ping timeout: 272 seconds]
<aveltras> is there any way to know what is in progress when entering a nix-shell ? i've been staring at my terminal for more than 20min now, i know it's downloading something but i don't know what
<alexherbo2> bqv even with the examples I do not understand
asbachb has joined #nixos
<alexherbo2> where to put builtins.path
<alexherbo2> I also do not know where to get the sha256
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<clever> alexherbo2: you need to add a `name = "somethingwithoutspaces";` to the fetchurl
mauli has quit [Ping timeout: 260 seconds]
mauli has joined #nixos
justanotheruser has quit [Ping timeout: 272 seconds]
<bqv> clever: amazing, yeah, building with old nix seems to actually work
<bqv> `nix shell 'nixpkgs#nix' -c sudo env NIX_REMOTE=/ nix-build --builders '' -A config.system.build.toplevel`
<bqv> that was a collosal pain
<clever> bqv: try without NIX_REMOTE, that might be what broke it
<hyperfekt> aveltras: try nix-top
<bqv> no, that's what fixed it
<alexherbo2> clever: thanks
<bqv> i had to do that to disable the flake-y daemon
<bqv> otherwise there's no point to using nixpkgs#nix
<clever> bqv: you want NIX_REMOTE=local to disable it
<bqv> oh, ok
<bqv> well, either way it worked
<bqv> now i want to know what it is about new nix that breaks it
urkk has joined #nixos
<aveltras> hyperfekt: thanks, i try that
<bqv> presumably it's something to do with writeReferencesToFile
<urkk> Hi! I'm trying to install nix withing Archlinux and the `nix-channel --update` command fails with `executing '/usr/bin/bash': No such file or directory`
<urkk> It looks like the chroot lacks /usr/bin/bash, so its complaining
<alexherbo2> bqv, clever: you are life saver, thanks
<bqv> np
<alexherbo2> I do not understand what I was doing though
Thra11 has joined #nixos
<urkk> This is with nix 2.3.4, just after `nix-channel --add https://nixos.org/channels/nixpkgs-unstable`
<alexherbo2> nix-build -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'
<alexherbo2> with default.nix copy-pasted
<meh`> what's the right way to handle rbd? should I make some systemd service that calls rbd map and then mounts, or?
<urkk> Is there something I'm missing?
<alexherbo2> from package tree
<alexherbo2> it does not look the way of doing
<bqv> alexherbo2: you should then be able to run result/bin/<whatever your app's called>
<alexherbo2> the long command nix-build is the way of doing?
<alexherbo2> I would expect a simpler command
<bqv> unbelievably, yes
<alexherbo2> like just nix-build
<alexherbo2> nix build*
reirob has joined #nixos
Ariakenom has quit [Quit: WeeChat 2.7]
<reirob> hello
<reirob> @alexarice[m]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/46f975f81e0 (from 27 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<alexarice[m]> hi
<reirob> Hi
<evils> woooooohoooo
<reirob> You wrote "I think this is fixed now" for the pokerth issue, https://github.com/NixOS/nixpkgs/issues/89113#issuecomment-635430884
<alexarice[m]> wow the channel actually advanced
<alexarice[m]> yes, the fix has been backported
<bqv> oh wow
<reirob> Do you mean, the issue with HiDPI, or just that it works?
<bqv> i think i'll be updating immediately
<alexarice[m]> Just the working part
<reirob> Ah, great, so you meant the backport has been done
<reirob> I was not sure, what you meant, thought I ask quickly in IRC
<reirob> Cool, so if I update the 20.03 channel and make an upgrade it should work?
<alexarice[m]> it'll take a little while to get onto the channel (depending on hydra's reliability) but it'll get there eventually now
<reirob> Ah, ok
<reirob> In the meantime I managed to install the unstable
<alexarice[m]> probably a day or 2
asbachb has quit [Ping timeout: 245 seconds]
<reirob> And it works, though for the hidpi issue I am using the workaround that I put in the notes
<reirob> Cool, now I know how to submit bug tickets :D
justanotheruser has joined #nixos
<bqv> alexherbo2: that second file makes no sense to me
<reirob> I guess I will come here more often, until I know how to use nix and nixos good enough :)
<bqv> explain what you're trying to achieve, might help
<reirob> Have a good time all :) Checking out
reirob has quit [Client Quit]
philr has quit [Ping timeout: 260 seconds]
lord| has joined #nixos
<evils> i'm still stuck at `ModuleNotFoundError: No module named 'setuptools'` in buildPythonPackage on trying to build wxPython 4.1.0; help would be welcome
wfranzini1 has quit [Remote host closed the connection]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
nikivi has joined #nixos
matthiaskrgr has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #89114 → fmt: 6.2.0 -> 6.2.1, fix cmake config → https://git.io/JfoE8
<{^_^}> [nixpkgs] @orivej-nixos closed pull request #88723 → fmt: fix cmake include path → https://git.io/JfaVi
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « fmt: 6.2.0 -> 6.2.1, fix cmake config (#89114) »: https://git.io/Jfouh
<{^_^}> [nixpkgs] @reardencode opened pull request #89117 → Fritzing: Use wrapQtAppsHook → https://git.io/Jfouj
linarcx has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #88015 → agda-pkg: init at 0.1.50 → https://git.io/Jf0FU
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to master: https://git.io/Jfozv
<{^_^}> [nixpkgs] @veprbl merged pull request #88870 → rtl88xxau-aircrack: init → https://git.io/JfV2L
<{^_^}> [nixpkgs] @veprbl pushed commit from @jethrokuan to master « rtl88xxau-aircrack: init (#88870) »: https://git.io/Jfozq
<kalbasit> Trying to add this patch to a derivation: https://github.com/nanopb/nanopb/commit/5ceb62dd7cb353c71a60ffb3dffc48b6bed8c05a.patch I'm getting this error: Normalized patch '/build/...' is empty (while the fetched file was not)!
<kalbasit> How can I fix that?
<lordcirth> kalbasit, could be you are applying the patch to the wrong directory?
<clever> kalbasit: the patch is just renaming a file, the normalization process might drop that
<kalbasit> clever: yes it's just renaming a file. Is there a way to fix that or should I just do that by hand?
<urkk> So I attached gdb to nix-channel and stopped it before it calls chroot
<clever> kalbasit: id just do it by hand, postPatch = "mv a b"
<kalbasit> sounds good, thanks!
NeoCron has joined #nixos
MmeQuignon has joined #nixos
<urkk> Is missing /usr/bin/bash
<urkk> This is the child full command: /usr/bin/nix-env --profile /nix/var/nix/profiles/per-user/ram/channels --file <nix/unpack-channel.nix> --install --from-expression f: f { name = "nixpkgs-20.09pre226586.571212eb839"; channelName = "nixpkgs"; src = builtins.storePath "/nix/store/3ivzcbfdw9hn9vcf9lp2b6vkjm1al4bk-nixexprs.tar.xz"; } --quiet
fendor has joined #nixos
<kalbasit> clever: in that case, I'll leave it as preConfigure: https://github.com/NixOS/nixpkgs/pull/89070
<{^_^}> #89070 (by kalbasit, 14 hours ago, open): nanopb: init at 0.4.1
<clever> kalbasit: that should also work fine
<LnL> hmm, is there a way to add an indirect root for just a path (like a drv)
<clever> LnL: i typically use `nix-store -r $foo --add-root result --indirect`, but the `-r` will try to build a drv first
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<LnL> does that work if it's built?
<LnL> would kind of expect that to link the output
<clever> LnL: it would be a result pointing to the $out, not the .drv file
<LnL> yeah so I have a drv that I copied over and want to keep all the build deps alive for
<clever> not sure how to do that
<clever> i tend to use a local hydra for that job
<LnL> I'll just create a root, but then I'll probably forget about it
j-k has joined #nixos
mthst has quit [Ping timeout: 265 seconds]
KindTwo has joined #nixos
cosimone has quit [Quit: Quit.]
KindOne has quit [Ping timeout: 272 seconds]
<urkk> nvm, it looks I needed to setup a sandbox with some coreutils first with bash
KindTwo is now known as KindOne
orivej has quit [Read error: Connection reset by peer]
orivej_ has joined #nixos
ryantm has quit [Ping timeout: 265 seconds]
drakonis1 has joined #nixos
<evanjs> Bah. Anybody know of any open ovf tools for linux or maybe even on NixOS? Running into this when trying to import an OVA (virtualbox) generated nixos-generators
ryantm has joined #nixos
drakonis_ has quit [Ping timeout: 272 seconds]
xourt has quit [Remote host closed the connection]
asbachb has joined #nixos
<asbachb> I guess it don't work this way? - overriding a module https://gist.github.com/asbachb/b61a98913a42a0e0e1268be997b057ab
<clever> asbachb: you want disabledModules from the nixos manual
<asbachb> clever: Ah. Thanks. I'll give it a try.
Doraemon has joined #nixos
jgeerds_ has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.7]
Thra11 has quit [Ping timeout: 258 seconds]
NeoCron has quit [Ping timeout: 260 seconds]
drakonis has joined #nixos
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
asbachb has quit [Ping timeout: 245 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/fc60ed1fffb (from 27 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
endformationage has joined #nixos
NeoCron has joined #nixos
Doraemon has quit [Ping timeout: 260 seconds]
<betawaffle> huh... does anyone know why i might be getting a bunch of `cannot find package "." in` when i try to use buildGoModule?
Doraemon has joined #nixos
cosimone has joined #nixos
casaca has quit [Quit: leaving]
cosimone has quit [Client Quit]
NeoCron has quit [Ping timeout: 260 seconds]
Thra11 has joined #nixos
dermetfan has quit [Ping timeout: 272 seconds]
Chiliparrot has joined #nixos
teto has quit [Ping timeout: 246 seconds]
noudle has joined #nixos
<{^_^}> [nixpkgs] @Pacman99 opened pull request #89118 → linux_notification_center: init at 1.7.2 → https://git.io/Jfo29
vidbina has joined #nixos
user_0x58 has joined #nixos
<j-k> betawaffle: Can you put your nix in a gist/pastebin or something?
domogled has joined #nixos
linarcx has quit [Quit: WeeChat 2.8]
linarcx has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
<betawaffle> sure, sec
<cole-h> betawaffle: Because of the `modSha256 = null` I'd bet.
<betawaffle> no matter what i try for subPackages, i get some form of that error
<cole-h> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/71c059d12a8 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<betawaffle> whoa, that helped!
<betawaffle> the docs seem out of date?
LevelChart8 has quit [Quit: LevelChart8]
hmpffff has joined #nixos
<betawaffle> hmm, no it's still broken
<betawaffle> `can't load package: package ./cmd/sqlc: cannot find package "." in: /build/source/cmd/sqlc`
<betawaffle> ahh, i screwed myself over
<betawaffle> i messed up the sha for the fetchFromGitHub
o1lo01ol1o has quit [Remote host closed the connection]
<betawaffle> it worked!
dermetfan has joined #nixos
meh` has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
domogled has quit [Quit: domogled]
<risson> nix-prefetch-github works well too, and I think it is recommended instead tp TOFU
<risson> s/tp/of/
orivej has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from @edolstra to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JfoaD
orivej has joined #nixos
domogled has joined #nixos
<{^_^}> [nixpkgs] @reardencode opened pull request #89119 → Add bitbox02 → https://git.io/JfoaH
<{^_^}> [nixpkgs] @bbigras closed pull request #88616 → zenith: re-enable aarch64 → https://git.io/Jf2SU
magnetophon has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<lassulus> is it possible to get the path to the current used nixpkgs in nix?
<cole-h> pkgs.path
<cole-h> > (import <nixpkgs> {}).path
<{^_^}> /var/lib/nixbot/nixpkgs/master/repo
<cole-h> lassulus: ^
<lassulus> ah perfect
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<lassulus> cole-h++
<{^_^}> cole-h's karma got increased to 66
<LnL> config and overlays are also accessible
LevelChart8 has joined #nixos
<cole-h> Execute Order 66!
<lassulus> I wonder what happens if I create a package called path in my overlay
<cole-h> Try it and let us know :D
<{^_^}> [nixpkgs] @dasj19 opened pull request #89120 → Upgrade hplip & hplip plugin to 3.20.5 → https://git.io/JfoVs
calbrecht has joined #nixos
proofofkeags has quit [Remote host closed the connection]
stevenxl has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
<{^_^}> [nix] @Ericson2314 opened pull request #3635 → Super WIP: git objects as an alternative to NAR → https://git.io/JfoVK
orivej has joined #nixos
mthst has joined #nixos
proofofkeags has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/da60549504f (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/71c059d12a8 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
evanjs has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/4454219156a (from 24 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<{^_^}> [nix] @Kloenk opened pull request #3636 → add gitlab libfetcher → https://git.io/Jfow4
mounty has quit [Quit: Konversation terminated!]
mounty has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #89121 → matrix-synapse: 1.13.0 -> 1.14.0 → https://git.io/Jfoww
cjpbirkbeck has joined #nixos
maxdevjs has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #89115 → metals: provide client-agnostic flavor → https://git.io/JfoEB
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JfowN
<{^_^}> [nixpkgs] @prusnak opened pull request #89122 → appimage: replace radare2+jq with awk and sha256sum → https://git.io/Jforv
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #89067 → checksec: 2.1.0 -> 2.2.1 → https://git.io/Jfrji
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @r-ryantm to master « checksec: 2.1.0 -> 2.2.1 »: https://git.io/JforJ
meh` has joined #nixos
teto has joined #nixos
o1lo01ol1o has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
Chiliparrot has joined #nixos
alp has quit [Remote host closed the connection]
alp has joined #nixos
Ilya_G has joined #nixos
alp_ has joined #nixos
alp has quit [Read error: Connection reset by peer]
alp_ has quit [Remote host closed the connection]
alp_ has joined #nixos
asymptotically has quit [Quit: Leaving]
alp_ is now known as alp
o1lo01ol1o has joined #nixos
mekeor- has joined #nixos
mekeor has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/93b68c7cc5a (from 24 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<betawaffle> is there anything i need to change to upgrade to `vendorSha256`? modSha256 is complaining loudly about being deprecated, but when i try to switch, it seems like maybe there are some build errors?
<betawaffle> nevermind
evanjs has joined #nixos
<energizer> is it right to think of `or` and `.` as binary operators, with `or` having higher precedence than `.`?
<ldlework> What's a function that will return an attrset without the given attrs?
zupo has joined #nixos
<cole-h> removeAttrs?
<ldlework> thanks
<cole-h> > removeAttrs { asdf = 1; fdsa = 2; fdsafs = 3; } [ "asdf" "fdsa" ]
<{^_^}> { fdsafs = 3; }
magnetophon has quit [Read error: Connection reset by peer]
fendor has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
fendor has joined #nixos
<craftyguy> if I make a derivation of, e.g. firefox, to use a newer version than what's in the channel I am subscribed to and later on the channel gets an even newer version than what I have in my derivation, which takes precedence on a 'switch --upgrade'? is there a way to have nix always prefer the more recent version of the package (whether in user nix profile or in the subscribed channel)?
<ldlework> craftyguy: you can write some kind of helper function to compare the version in nixpkgs to your override and pick the one with the highest version
<ldlework> then use your helper everywhere
zupo_ has joined #nixos
<ldlework> no idea if this is the best way, but it is a way
<cole-h> If your derivation of firefox is an overlay, it will take precedence no matter what (because the firefox from nixpkgs no longer exists due to you overlaying it with your firefox)
<craftyguy> so in my example it might be 'firefox-latest' and it looks in nixpkgs and my override to find the most recent
zupo has quit [Ping timeout: 246 seconds]
<ldlework> If you use an overlay you can't see both versions at the same time
<craftyguy> cole-h: ok, I guess I don't understand what an overlay is. time for more reading!
<ldlework> You'd want to use an overrideAttrs conditionally
* craftyguy new here, and trying to figure all this out
<simpson> ldlework: It's legible. I don't know enough about Styx to know what the Styx style should look like, but I can guess at how to extend this module by imitating it.
<ldlework> craftyguy: an overlay basically changes what is in nixpkgs
<ldlework> simpson: nice thank you for the reply
<ldlework> simpson: the aim is for styx to be super simple. it will flatten your outputs, and evaluate their renderer function then write the result to their path attribute
<simpson> No worries. Some code review is easier than others.
<ldlework> so that it is apparent how one would extend it is good, because the idea is there shouldn't really be a baked-in style. it should be programmable.
<simpson> Sure, makes sense.
<ldlework> <3
<simpson> Tangent: Is there a good GH query for PRs to nixpkgs which need reviews from non-owners?
<citizenzibb[m]> I would like to run nixos in a virtualbox image. what are the optimal settings? or can I just go with whatever virtualbox provides?
<simpson> Finding myself with more and more spare time, and actually starting to reply to long-dead GH issues to get my queues cleaned up. I updated the PR I had forgotten about, but I want to know what else needs help.
<simpson> citizenzibb[m]: https://nixos.org/nixos/manual/#sec-instaling-virtualbox-guest has some opinions.
<energizer> simpson: there's a recent discourse thread about this
<citizenzibb[m]> I know when testing clearos I had to specify many nonstandard options so I just want to be entirely sure I'm getting it right
o1lo01ol1o has quit [Remote host closed the connection]
<energizer> tho idk why there needs to be a separate thread instead of just the normal github pr flow
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e985ffea2d6 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<simpson> energizer: Well, TBF, the workflow works fine for folks who are part of it. If I'm a maintainer, which is rare but possible, then my review *does* mean something and is part of the process.
<citizenzibb[m]> simpson: I suppose I will just follow that
<Cadey> is there a way to set the default nice level of nix builds so they are slightly lower priority than everything else?
<simpson> But I'm noticing that, more and more, some sort of informal thumbs-up is also preferred/valued somehow, and I guess I'm wondering about that.
<cole-h> energizer: Because we're at 2k+ PRs. Nobody is going to wade through all of them. If you want your PR reviewed, you gotta put in some more effort (e.g. posting in that thread)
<energizer> cole-h: not sure i understand. isn't the goal to make less work rather than more
<cole-h> energizer: Not sure I understand, either. There are so many PRs that things will inevitably fall through the cracks. Meaning it's nice to have some other way to get the attention of people who can merge.
<euank> craftyguy: you can have the overlay have the logic for which version to use. Specifically, the following should work: https://gist.github.com/euank/3dd22901d9e169b7668ec779a5708480
<cole-h> -> meaning the GH PR flow is not enough. Hence the presence of that thread
<euank> specifically the overlay having something like `firefox = if super.firefox.version > my-firefox.version then super.firefox else firefox;`
<euank> since you have a reference to super, you can do stuff based on its version
<craftyguy> euank: that's a really helpful example, thank you!
<euank> There's probably a better version comparison function in nix, but I don't know offhand
<simpson> Right. But what exactly is the bottleneck? Do we need more ofborg? More automatic LGTM or thumbs-up on ryantm PRs? Better automatic updates for language-specific subsystems?
<craftyguy> np. it at least gives me some idea of how this would work
<euank> Good luck
zupo_ has quit [Ping timeout: 260 seconds]
tureba has joined #nixos
quinn has joined #nixos
<hyperfekt> okay so. nix complains about a hash mismatch and reports two identical hashes for wanted and got. wtf?
<cole-h> simpson: r-ryantm PRs get merged with relative frequency by e.g. jonringer and friends. What really helps is two things, IMO: 1) having interested parties review the contents and functionality of the PR; and 2) have interested parties merge those PRs.
hmpffff has quit [Quit: nchrrrr…]
magnetophon has joined #nixos
<Cadey> is there a way to set the default nice level of nix builds so they are slightly lower priority than everything else?
<cole-h> I don't think that just shotgunning "LGTM"s are really helpful, unless you also test functionality to the best of your ability.
<energizer> Cadey: the goal being to ensure they get killed first?
<simpson> cole-h: Hm. (1) means more maintainer attention to PRs. (2) means more people with merge abilities.
<cole-h> Indeed.
<Cadey> energizer: the goal being to ensure they are lower priority than my firefox instance
magnetophon has quit [Read error: Connection reset by peer]
<cole-h> Every PR I get review-requested for gets a review (if I'm the maintainer) because of this. Then, it's not up to me anymore -- somebody needs to merge it, and that someone isn't me.
zupo has joined #nixos
<energizer> Cadey: i mean what do you want that priority to affect?
<adisbladis> 2) may also mean tooling assisted merges from people with less privileges overall
<Cadey> energizer: i want to make sure that nix builds and their related processes don't make my firefox session lag
<cole-h> That too, but I think that needs an RFC (and the related one got closed due to inactivity IIRC).
<adisbladis> Yeah, there's a lot of issues to solve around increasing the bandwidth
<energizer> Cadey: i wonder if you could wrap `nix-build` with `nice`?
<adisbladis> I'm not sure just adding more people with merge ability will really solve that
<simpson> Cadey: I can't find anything offhand in nixpkgs or NixOS for this. I might start by examining how the NixOS service configures the Nix daemon, and looking at whatever systemd offers for nice'ing.
<adisbladis> And even if it does what's the associated cost?
<cole-h> adisbladis: Right.
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from @edolstra to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JfoKZ
<craftyguy> nbathum: thanks :)
vidbina has quit [Ping timeout: 265 seconds]
<adisbladis> Cadey: `systemd.services.nix-daemon.unitConfig.Nice = 10;`
<adisbladis> Or whatever you want to set
<craftyguy> nbathum: that makes it seem like there is a built-in thing to return the latest version given a list of derivations?
<simpson> adisbladis: I usually use https://xkcd.com/1205/ for this. I estimate that we could justify a few months per language subsystem just for the topic of automatic merges and defining automatic testability.
<simpson> Also adisbladis++ for systemd incantations.
<{^_^}> adisbladis's karma got increased to 94
<{^_^}> [nixpkgs] @FRidh pushed 231 commits to staging-next: https://git.io/JfoK8
<adisbladis> Oh, sorry
<energizer> adisbladis: does that apply to children?
<adisbladis> systemd.services.nix-daemon.serviceConfig.Nice
<adisbladis> Not unitConfig
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e985ffea2d6 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> [nixpkgs] @FRidh pushed 232 commits to staging: https://git.io/JfoKu
<energizer> like, will that only affect the niceness of the daemon itself, or also of the builds it runs
virus_dave_ has joined #nixos
<euank> craftyguy: the second link (https://github.com/evanjs/nixos_cfg/blob/master/overlays/libs/versions.nix#L5) is to the overlay defining 'pkgs.lib.latestVersion'
<craftyguy> oh oops I missed the second link
<euank> so not builtin to nixpkgs upstream, but it's an easy enough one-line function to copy and looks like exactly what you want
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<craftyguy> yeah, that's great. thank you
<nbathum> thanks euank++ for explaining
<{^_^}> euank's karma got increased to 4
virus_dave has quit [Ping timeout: 265 seconds]
virus_dave_ is now known as virus_dave
<adisbladis> energizer: It's inherited (I'm like 95% sure)
never_released_ has quit [Remote host closed the connection]
<craftyguy> what's this karma thing here?
<adisbladis> I mean, the nice level is inherited by the parent process on linux normally
<adisbladis> I don't think nix-daemon is doing anything special here
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @davidak opened pull request #89124 → geekbench5: add compute benchmark support → https://git.io/JfoKM
<energizer> adisbladis: what's the next step toward migrating nixpkgs to using poetry2nix?
alexherbo2 has quit [Ping timeout: 256 seconds]
<adisbladis> energizer: Just start doing it?
<adisbladis> Go package by package
<energizer> adisbladis: only for poetry packages, or is there a way to do it for setuptools packages too?
<adisbladis> energizer: You can install setuptools packages just fine with poetry2nix
<adisbladis> In fact, the initial use case was packaging something that wasn't using poetry
<energizer> adisbladis: got a link?
magnetophon has joined #nixos
never_released has joined #nixos
<chreekat[m]> I do wish I could set niceness on builds independently. It would have to be an argument to nix-build sent to the daemon as part of the job spec and applied explicitly to the builder process by the daemon,I guess, but I'm just waving my hands here.
hmpffff has joined #nixos
<euank> cgroups are a better way to set cpu priority and optionally limit cpu usage of stuff
<euank> I checked, and there's an old stalled-out pr for adding cgroup support in https://github.com/NixOS/nix/pull/159
<{^_^}> nix#159 (by vlstill, 6 years ago, open): Cgroup
<euank> Which would have used the caller's cgroup. That seems like a quite elegant way to handle this
cjpbirkbeck has quit [Remote host closed the connection]
<euank> i.e. you could run `systemd-run --scope --property=CPUWeight=100 -- nix-build ...` I think, and if the daemon ran builds in your same cgroup, it'd get that cpu limit
<euank> .. but it looks entirely stalled out at this point, so it doesn't actually help
seanpars- has joined #nixos
<energizer> i've been trying to use cgroups v2 to limit ram but havent been successful on nixos
seanparsons has quit [Ping timeout: 272 seconds]
seanpars- is now known as seanparsons
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89125 → dump1090: 3.8.0 -> 3.8.1 → https://git.io/Jfo6E
<bqv> euank: cgroups were never intended for use in the way systemd uses them, i could understand hesitance on depending on that and even on depending on systemd more than currently necessary
alp has quit [Ping timeout: 272 seconds]
Neo-- has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @adisbladis opened pull request #89126 → poetry2nix: 1.8.0 -> 1.9.0 → https://git.io/Jfo6r
zeta_0 has joined #nixos
zeta_0 has left #nixos [#nixos]
tobeportable has quit [Quit: Leaving]
<evanjs> Sooooo where am I supposed to get argparse for python packages? Trying to resolve this dependency https://github.com/glennmatthews/cot/blob/0811b96311881a8293f28f2e300f6bed1b77ee31/setup.py#L103
<adisbladis> evanjs: Wat
<adisbladis> argparse is a built-in
<evanjs> ahhhh # argparse is part of the standardlib
<evanjs> yeah that was my thought
<evanjs> like why tf is it in setup.py lol
<evanjs> Do that then I guess? lol
cr4y1 has quit [Remote host closed the connection]
<energizer> argparse was added to stdlib in 3.2
cr4y1 has joined #nixos
<adisbladis> energizer: I can swear it was in 2.7 already?
<energizer> adisbladis: backport
<evanjs> urgh
<evanjs> I don't wanna deal with optionals but blah
<evanjs> I'll try both I guess
<evanjs> pythonOlder and etc
<energizer> evanjs: it's not optional, all maintained versions of python have it in stdlib
<adisbladis> evanjs: Don't bother
Ilya_G has quit [Remote host closed the connection]
chloekek_ has quit [Ping timeout: 258 seconds]
lorimer has quit [Ping timeout: 265 seconds]
<betawaffle> does buildGoModule create derivations for each dependency, or does it clump all the dependencies into one blob?
<energizer> oh i have my timeline backwards, 2.7 was released a few months before 3.2
<betawaffle> it would be cool if it could share already-built deps between different modules, if they are the same version
<adisbladis> Blobby McBlobface
lorimer has joined #nixos
<betawaffle> is that an answer to my question adisbladis?
<evanjs> oh okay sweet thanks guys
<adisbladis> betawaffle: Yes ^_^
<betawaffle> adisbladis++
<{^_^}> adisbladis's karma got increased to 95
<evanjs> what about "psutil>=5.6.7; python_version < "3.3"',"?
<energizer> evanjs: not stdlib
<evanjs> also, for those that were linked to my version functions earlier (craftyguy?) the python version functions might be helpful as well
<energizer> maybe they're using some function that was added to another stdlib module
<energizer> anyway 3.3 is very eol
<evanjs> And versionAtLeast and the related base functions, maybe
<evanjs> energizer: yeah no kidding
<evanjs> adisbladis: oh lol that initial package I linked had python2Packages imported. Should've put 2 and 2 together there (re argparse) since they were indiscriminately prePatching lol
<betawaffle> so i'm trying to build a package for this: https://github.com/kyleconroy/sqlc
<betawaffle> and it works completely when i use modSha256
<betawaffle> but it breaks with vendorSha256
eoli3n_ has joined #nixos
<betawaffle> because one of the dependencies has some weirdness when it comes to vendoring, apparently
o1lo01ol1o has joined #nixos
<betawaffle> the problematic dependency is https://github.com/lfittl/pg_query_go
rprospero has joined #nixos
<evanjs> Oh boy, network tests for python >_> die
<betawaffle> and the readme talks about needing to use a tool called modvendor, if you want to use vendoring
<betawaffle> who maintains the buildGoModule functionality?
<betawaffle> kalbasit: you, perhaps?
<adisbladis> betawaffle: kalbasit (and I think Mic92 also has something to do with it)
<adisbladis> evanjs: Eww, cot is doing some pretty disgusting things
remirol has joined #nixos
<kalbasit> betawaffle: I started it but it's maintained by a number of folks now. c00w in particular
<evanjs> adisbladis: yeah.... that's what I'm dealing with rn...
<kalbasit> betawaffle: do you have a particural question for me (sorry in a work meeting, have not followed the chat)
<evanjs> Trying to find _something_ that helps me deal with OVF files (vs vmware crap) and I stumbled across this
<evanjs> right now, I'm wondering why this test is failing, and if it matters that cot itself isn't in the path for the tests...
fendor has quit [Read error: Connection reset by peer]
<evanjs> that requirements.txt, tho...
<betawaffle> wanted to know if you know much about the switch from modSha256 to vendorSha256, because it breaks one of the builds i'm trying to do
<evanjs> "I need myself" lol
<adisbladis> evanjs: i looked at install_helpers.py
lorimer has quit [Ping timeout: 246 seconds]
Chiliparrot has joined #nixos
<evanjs> adisbladis: u-uh-oh.....
remirol is now known as lorimer
<adisbladis> evanjs: energizer: I saw this as an opportunity to show energizer what it looks like using poetry2nix to package non-poetry apps http://ix.io/2nE8/nix
<adisbladis> The associated pyproject.toml: http://ix.io/2nE9
<adisbladis> You might need to add more runtime deps to propagatedBuildInputs to get them wrapped
<adisbladis> But that's the gist of it
<adisbladis> Of course there is also a poetry.lock, but you can create that from pyproject.toml
<adisbladis> If you're too lazy: http://ix.io/2nEb/text
mallox has quit [Quit: WeeChat 2.8]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/da60549504f (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<kalbasit> betawaffle: that was done because modSha256 is the sha256 of the `$GOPATH/pkg` folder (or at least part of it) and the Go team has already made two changes there breaking all of our shas. The `vendor` directory however is fixed and is supported fully by Go as opposed to what we initially did which was a hack-ish
<energizer> adisbladis: thanks
<kalbasit> betawaffle: shouldn't be too hard to fix though, just remove modSha256 and put vendorSha256 and take in the new sha. should be good to go
<betawaffle> that makes sense
<betawaffle> kalbasit: what i mean is that the vendoring process doesn't copy all the necessary files for the build
<kalbasit> betawaffle: huh ok that sounds like a bug. Mind filing an with steps to reproduce? I can take a look after work
<betawaffle> sure
<{^_^}> [nixpkgs] @costrouc opened pull request #89127 → python3Packages.diagrams: init at 0.12.0 → https://git.io/Jfoi6
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<evanjs> Yeah I just gave up with tests for cot atm...
<evanjs> Going to see if it works in terms of OVA/OVF editing
zupo has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
<betawaffle> kalbasit: this should be enough to repro the issue https://gist.github.com/betawaffle/0f3c0895b7e402345e27940b81f5b85a
linarcx has quit [Ping timeout: 246 seconds]
<kalbasit> betawaffle: thx! Will take a look. Would be great to have an issue though so we can discuss it there!
<betawaffle> sure, i'll make one when i get off work
<tobiasBora> Hello, I'd like to do the following: create a program that always compiles for a specific arm architecture (I use the cross compilation chain arm-linux-gnueabi-gcc)
<tobiasBora> However I'm not sure to see how to specify that I want as input a library (in my case libdirectfb) compiled for arm
lorimer has quit [Ping timeout: 246 seconds]
lorimer has joined #nixos
thc202 has quit [Ping timeout: 260 seconds]
<ldlework> Hello, please review the Styx Improvement Proposal #1: https://gist.github.com/dustinlacewell/1f327beccc6f1c9dcf872a7c293ef4bb If you care to
<ldlework> simpson: ^
<betawaffle> kalbasit: 89128
<gchristensen> ldlework++
<{^_^}> ldlework's karma got increased to 16
<betawaffle> nixpkgs has gone through a lot of issues!
remirol has joined #nixos
<aveltras> is there support for building a package using existing Makefile or do i have to copy the steps in nix ?
<betawaffle> Makefiles are first-class citizens
<betawaffle> they are invoked by default
lorimer has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @adisbladis merged pull request #89126 → poetry2nix: 1.8.0 -> 1.9.0 → https://git.io/Jfo6r
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfoPm
o1lo01ol1o has quit [Remote host closed the connection]
zeta_0 has joined #nixos
<aveltras> how do i invoke specific recipe then ?
remirol is now known as lorimer
<aveltras> i must call this https://github.com/adtac/commento/blob/master/Makefile#L33, it's a go package
<zeta_0> are any of you running into this error when running `lorri shell` ? `/nix/store/b4kbdvdyb80r57jhx7665117k75v4jrl-stdenv-linux/setup: line 795: /build/env-vars: No such file or directory
<zeta_0> `
<aveltras> right now, i have
Wharncliffe has joined #nixos
o1lo01ol1o has joined #nixos
chloekek_ has joined #nixos
<infinisil> From this you can see that you can pass modBuildPhase to override the default build phase, modInstallPhase to override the default install phase, or you can pass preBuild/postBuild/preInstall/postInstall to have commands run before/after the default build/install phase
<eyJhb> What is the difference between `${lib.getBin pkgs.xorg.xrandr}/bin/xrandr --setprovideroutputsource 2 0` and `${pkgs.xorg.xrandr}/bin/xrandr --setprovideroutputsource 2 0`
<eyJhb> Why would one use lib.getBin
<infinisil> aveltras: And wherever you want to, you should be able to call `make prod` directly
<{^_^}> [nixpkgs] @mrVanDalo closed pull request #82635 → bitwig-studio3: 3.1.2 -> 3.1.3 → https://git.io/Jvi66
<clever> eyJhb: if a package has a .bin, then the bin dir wont be in the default output
<infinisil> aveltras: Oh wait, what I linked to is the build for the dependencies, here's it for the package itself: https://github.com/NixOS/nixpkgs/blob/c8e10792acdfdc49c3f460946e9f61c0181dc149/pkgs/development/go-modules/generic/default.nix#L138-L221
<clever> > xorg.xrandr.outputs
<{^_^}> [ "out" ]
<infinisil> aveltras: Works pretty similarly though, so what I said above still holds
<clever> eyJhb: xrandr isnt split output, so the 2 are identical in that case
<eyJhb> clever: Sorry for asking, do you have a example where it makes sense?
<eyJhb> (where there is a difference)
<aveltras> infinisil: i see, i'll try to get this to work, im neither familiar with nix packaging nor go in general, thanks for your help
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
LevelChart8 has quit [Quit: LevelChart8]
simba2 has quit [Ping timeout: 246 seconds]
<clever> > tpm2-pkcs11.outputs
<{^_^}> [ "out" "bin" "dev" ]
<clever> > "${tpm2-pkcs11.outputs}"
<{^_^}> cannot coerce a list to a string, at (string):313:2
<clever> > "${tpm2-pkcs11}"
<clever> > "${tpm2-pkcs11.bin}"
knupfer has quit [Ping timeout: 260 seconds]
<clever> > true
<{^_^}> true
<clever> > "${tpm2-pkcs11}"
<clever> infinisil: ?
<{^_^}> "/nix/store/4cr249bhiggkwvx45yz7x51fc23rxszf-tpm2-pkcs11-1.2.0"
<clever> > "${tpm2-pkcs11.bin}"
<Mic92> betawaffle: what happens?
<{^_^}> #89128 (by betawaffle, 18 minutes ago, open): buildGoModule: vendoring doesn't copy C sources
alp has joined #nixos
<clever> eyJhb: with this package, $out is the default, but the binaries are in $bin
LevelChart8 has joined #nixos
<eyJhb> Ahh, I see, thanks clever ;)
<eyJhb> clever++
<{^_^}> clever's karma got increased to 0b111000001
<eyJhb> Like you need it
<eyJhb> :p
<{^_^}> "/nix/store/n7wmks5q7jw6557gdihvxr3g6193szsz-tpm2-pkcs11-1.2.0-bin"
<{^_^}> [nixpkgs] @jonringer merged pull request #88612 → fix secp256k1 broken package → https://git.io/Jf2MO
<{^_^}> [nixpkgs] @jonringer pushed commit from @Avzgui to master « pythonPackages.secp256k1: fix broken package (#88612) »: https://git.io/JfoPh
<infinisil> clever: Not sure what happened there
<infinisil> AH, it was just slow
<clever> infinisil: but the `> true` didnt lag
<{^_^}> "/nix/store/4cr249bhiggkwvx45yz7x51fc23rxszf-tpm2-pkcs11-1.2.0"
<clever> infinisil: out of order execution?
<{^_^}> "/nix/store/n7wmks5q7jw6557gdihvxr3g6193szsz-tpm2-pkcs11-1.2.0-bin"
<infinisil> Yeah, every message is handled asynchronously
<evanjs> prebuilt extension not found in home directory, will try downloading it
<evanjs> what is this package trying to do now lol
<evanjs> Trying to package frida now :D https://github.com/frida/frida
<hr[m]> If possible, could a nixpkgs maintainer with merge rights take a look at PR #88922 The assigned reviewer has not ben active in a few months and has not merged previous PRs.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/88922 (by CheariX, 2 days ago, open): joplin-desktop: 1.0.201 -> 1.0.216
<{^_^}> #88922 (by CheariX, 2 days ago, open): joplin-desktop: 1.0.201 -> 1.0.216
<evanjs> gah there _are_ two separate projects
LevelChart8 has quit [Quit: LevelChart8]
<evanjs> ohhhh that's if I get them from pypi, got ittttt
<{^_^}> [nixpkgs] @Infinisil merged pull request #88922 → joplin-desktop: 1.0.201 -> 1.0.216 → https://git.io/JfwWk
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/JfoX4
<infinisil> hr[m]: Merged :)
<hr[m]> Thanks, much appreciated
lassulus_ has joined #nixos
stevenxl has quit [Quit: Connection closed for inactivity]
lassulus has quit [Ping timeout: 258 seconds]
lassulus_ is now known as lassulus
<keithy[m]> hi guys, I am getting this error /usr/bin/env: bad interpreter: Operation not permitted
<keithy[m]> on mac
<{^_^}> [nixpkgs] @jonringer merged pull request #88964 → python27Packages.elasticsearch: 7.6.0 -> 7.7.0 → https://git.io/JfwQm
maddo has quit [Quit: See ya]
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JfoXa
<keithy[m]> ahcom.apple.quarantine 21
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<evanjs> stoooop using git commands in the Makefile lol
lassulus_ has joined #nixos
<bqv> yikes
<bqv> (that's a terrifying makefile anyway, jeez)
<evanjs> yeah.....
<evanjs> "Linux: Just run `make`"
<evanjs> Uh huh...
lassulus has quit [Ping timeout: 256 seconds]
lassulus_ is now known as lassulus
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
noudle has quit []
lsix has quit [Quit: WeeChat 2.8]
<hexagoxel> any downsides to `importOrElse = maybePath: otherwise: if builtins.pathExists maybePath then import maybePath else otherwise`, and does it exist already?
<{^_^}> [nixpkgs] @Mic92 merged pull request #86055 → nixos/wireguard: test against multiple kernel versions → https://git.io/JftSW
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfoXA
<bqv> besides worrying design, can't see any issues with that, and no afaik it doesn't exist
<adisbladis> evanjs: Security people really make the worst software engineers
<gchristensen> I would not feel comfortable with using unconfident code paths like that
<evanjs> adisbladis: yeah wtf is this haha
<{^_^}> [nixpkgs] @jonringer merged pull request #87118 → mxnet: use openblas, fix build → https://git.io/JfZNT
<{^_^}> [nixpkgs] @jonringer pushed to staging « mxnet: use blas.provider, fix build »: https://git.io/Jfo1e
<{^_^}> [nixpkgs] @kalbasit merged pull request #87854 → go-neb: Init at unstable-2020-04-09 → https://git.io/JfBxT
<{^_^}> [nixpkgs] @kalbasit pushed 3 commits to master: https://git.io/Jfo1f
<clever> hexagoxel: i have basically the identical code in here
<evanjs> And some of the deps use meson.... what
<euank> evanjs: I had one package where I ran into that problem and considered solving it by `let git = writeShellScriptBin '' case $1 in log) echo ... exit 0 .... etc etc ''
zeta_0 has joined #nixos
<euank> And added that to the path in the builder via buildInputs. Which let me have a bash script that printed a fixed revision (the one I was fetching via src anyway) for git describe and git rev-parse etc
<hexagoxel> clever: interesting
<euank> I thought that it might make sense to actually go back and implement that idea as a proper "mockgit" program in rust or some real language that actually can parse arbitrary git commands, and doesn't depend on the `.git` directory existing
<clever> hexagoxel: CI will lack secrets, and only test if the code compiles, but locally, secrets.nix does exist
<euank> but instead has some more reasonable input the nix packager could pass to it to describe "here's your commit and tag" etc
<hexagoxel> although I have "local/dev-specific nix config" in mind rather than secrets
<euank> evanjs: Does that sound like something that would be helpful? I guess for that makefile, it's a mess of submodules, which my hack wouldn't help with
<hexagoxel> things like "test against the updated version of this dependencies that I cloned into this other folder"
zeta_0 has left #nixos [#nixos]
<euank> I wanted that hack specifically so I could avoid needing to clone .git
<evanjs> euank: yeah.... that's what I just realized lol. it needs .git for the crap they're doing so this is a bit more than I figured at first
<betawaffle> Mic92: I'm trying to use modvendor right now as a workaround, and it doesn't seem to be picking up my postBuild
<betawaffle> is there some trick?
<Mic92> betawaffle: are you using overrideModAttrs ?
<{^_^}> [nixpkgs] @jonringer merged pull request #89022 → python27Packages.thinc: 7.4.0 -> 7.4.1 → https://git.io/JfrEh
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Jfo1a
<betawaffle> Mic92: exactly like that, yes
pjt_014 has joined #nixos
<betawaffle> i even have an echo in it, and it's not showing
<bqv> ehmry: your github made me spit out my drink, excellent work
<Mic92> betawaffle: you need to change the hashsum to force nix to rebuild it.
<betawaffle> ohhhh
<betawaffle> i keep forgetting about that
<betawaffle> that worked _phew_
eoli3n_ has quit [Ping timeout: 246 seconds]
Thra11 has quit [Quit: WeeChat 2.8]
<eyJhb> Where does `nix search` cache the results?
<eyJhb> Where does `nix search` cache?*
<eyJhb> I guess..
agsdheidjd has quit [Ping timeout: 264 seconds]
<infinisil> eyJhb: ~/.cache/nix
<{^_^}> [nixpkgs] @jtojnar merged pull request #88952 → sublime-merge: 1116 -> 2020; sublime-merge-dev: 1115 -> 2011 → https://git.io/JfwPh
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to master: https://git.io/Jfo1D
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bqv> unless you're using nixFlakes, in which case it's just the eval cache
<bqv> or in fact, the nix flake, either
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89130 → fldigi: 4.1.12 -> 4.1.13 → https://git.io/Jfo1y
<{^_^}> [nixpkgs] @grahamc closed pull request #68020 → Vacation PR: multi-paged, styled, searchable docs with wrapper tooling and epubs for NixOS and Nixpkgs → https://git.io/fjhJi
<{^_^}> [nixpkgs] @jonringer merged pull request #88871 → pythonPackages.hiyapyco: init at 0.4.16 → https://git.io/JfVwz
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Jfo19
kvda has joined #nixos
sigmundv has quit [Read error: Connection reset by peer]
sigmundv has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Luflosi opened pull request #89131 → youtube-dl: 2020.05.08 -> 2020.05.29 → https://git.io/JfoMT
<{^_^}> [nixpkgs] @talyz opened pull request #89132 → php.buildEnv: Let enabled extensions to pass through by default → https://git.io/JfoMk
chloekek_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89133 → inter: 3.11 -> 3.13 → https://git.io/JfoMI
LevelChart8 has joined #nixos
slack1256 has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
swapgs has left #nixos ["."]
zebrag has joined #nixos
alp has quit [Ping timeout: 272 seconds]
<eyJhb> Thinks infinisil (also you bqv ) :)
<aveltras> does anyone have an example or building a node package involving a gulpfile ?
<eyJhb> Will persist that then!
<eyJhb> :D
xwza91 has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<xwza91> Hey, I would be glad if someone could help me - I've (seems to be successfully) upgraded from nixos 19 to 20.03 - if I do nixos-rebuild switch I get following warning: "warning: In file /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/tasks/encrypted-devices.nixa list is being assigned to the option config.boot.initrd.luks.devices."
<xwza91> my only config to this option is "initrd.luks.devices.bootsec.device = "/dev/disk/by-uuid/<UUID>";" so my gues is the config in /nix/var/profiles is outdated? Is there already a fix? how can I install it?
inkbottle has joined #nixos
zebrag has quit [Ping timeout: 256 seconds]
<clever> 67 devices =
<clever> 68 map (dev: { name = dev.encrypted.label; device = dev.encrypted.blkDev; } ) keylessEncDevs;
<clever> xwza91: on my older nixpkgs, its being defined with map, which returns a list, what about on your machine?
<njha> I have the default firewall settings setup on a machine with a public IP, and still `sshd[15480]: Connection from xx port xx on xx port 22`
<njha> I see it blocking a lot of connections, but how come some people can still bypass it?
<njha> s/people/bots
<clever> njha: enabling ssh opens port 22 automatically
<njha> well that seems like a footgun
<njha> public facing ssh is scary
<clever> njha: i disable password auth at least
<clever> njha: https://nixos.org/nixos/options.html#services.openssh.open there is also an option to turn that off
<xwza91> clever: Same "devices = map (dev: { name = dev.encrypted.label; device = dev.encrypted.blkDev; } ) keylessEncDevs;" but this file is not created/maintained by myself - so how to update if "nixos-rebuild switch --upgrade" already done and rebooted the laptop also "nix-channel --update" // Sorry still new to nixos
<clever> njha: make sure you dont lock yourself out though!
<clever> xwza91: that sounds like a bug in nixpkgs then
<njha> yup, I have physical access and access through wireguard
<njha> thanks!
xelxebar_ has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
<xwza91> clever seems to be fixed in master (https://github.com/NixOS/nixpkgs/blob/8f1c621b4e1e54f5c09217ff3b8209aba3f3c06a/nixos/modules/tasks/encrypted-devices.nix) Can I upgrade just this package to a more recent channel? Which would it be and what package is it part of?
orivej_ has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
erasmas has quit [Quit: leaving]
xelxebar has joined #nixos
<clever> xwza91: look up disableModules in the nixos manual
j-k has quit [Ping timeout: 246 seconds]
<{^_^}> #41212 (by Chiiruno, 2 years ago, closed): [Question] How to enable a service from a different channel
<clever> xwza91: yep
<xwza91> thx will try it out
gustavderdrache has joined #nixos
<xwza91> I've "{ config, lib, pkgs, ... }:" on top, if I add channel nixpkgs-unstable with "nix-channel --add" how to import it to config to reference packages with "pkgsUnstalbe.<package>" or is this the wrong way I think?
<clever> xwza91: you would just do <nixos-unstable> if `nix-channel --list` shows the name as nixos-unstable
orivej_ has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89134 → fossil: 2.10 -> 2.11 → https://git.io/JfoD2
<clever> xwza91: then you should be able to just `import <nixos-unstable> {}`
<xwza91> so I can put that on top of my configuration.nix and use nixos-unstable.<PACKAGE> in the complete file? How to find out which package is holding my old file which contains the deprecated code?
davidak_ has joined #nixos
<clever> xwza91: its not a package, its a nixos module
<clever> xwza91: so you want <nixos-unstable/nixos/modules/tasks/encrypted-devices.nix> in your imports list
<xwza91> I've my complete configuration in one file and no "import " anywhere there, I'm sorry but can you give me an example how to do that?
<xwza91> just "import <nixos-unstable/nixos/modules/tasks/encrypted-devices.nix>;" ?
<clever> xwza91: imports = [ <nixos-unstable/nixos/modules/tasks/encrypted-devices.nix> ];
<xwza91> thx wil try :)
philr has joined #nixos
<{^_^}> [nixpkgs] @ryantm closed pull request #83142 → ibus-engines.libpinyin: 1.11.1 -> 1.11.92 → https://git.io/JvDrF
dermetfan has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89135 → filezilla: 3.48.0 -> 3.48.1 → https://git.io/JfoDb
<davidak_> i try to update libclc, but the build fails. does someone know what to do about such an error?
<davidak_> llvm-link: error: linked module is broken!
justanotheruser has quit [Ping timeout: 246 seconds]
<aveltras> what could introduce the following error when trying to build a package ?
<aveltras> here's the recipe
<aveltras> the install phase completes successfully
<xwza91> clever it does not work - maybe I did somethng wrong thanks for your help so far: https://pastebin.com/06PQJ1yt (tried it also with import inside the first brackets after with lib; {)
<clever> xwza91: imports goes after line 10, not before
jgeerds_ has quit [Ping timeout: 256 seconds]
<xwza91> The option `fileSystems./.encrypted.enable' in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/tasks/encrypted-devices.nix' is already declared in `/root/.nix-defexpr/channels/nixos-unstable/nixos/modules/tasks/encrypted-devices.nix'.clever
fusion809 has joined #nixos
<clever> xwza91: you didnt use disabledModules to disable the old module
<{^_^}> [nixpkgs] @ryantm merged pull request #88366 → chirp: 20200409 -> 20200430 → https://git.io/Jfz71
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jfoys
<xwza91> thx think I understand it now and will test again :)
justanotheruser has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
<xwza91> clever yeah it's working and rebuilding now thx :) One last question, how can i install a specific package (not using a module) from unstable? e.g. firefox
<clever> ,unstable
<xwza91> thx, my current "systemPackages" looks like "environment.systemPackages = with pkgs; [" can I combine them to have it only once is is it no problem to have it duplicate in code?
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
o1lo01ol1o has joined #nixos
<clever> xwza91: you can combine them together, and also use newlines to make it simpler to read
MmeQuignon has quit [Ping timeout: 265 seconds]
est31 has quit [Remote host closed the connection]
piezoid has quit [Quit: leaving...]
est31 has joined #nixos
lord| has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
kvda has joined #nixos
sigmundv has quit [Read error: Connection reset by peer]
sigmundv has joined #nixos
hmpffff has quit [Quit: nchrrrr…]