worldofpeace changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 20.09 RMs: worldofpeace, jonringer | https://logs.nix.samueldr.com/nixos-dev
<LnL> guess keeping the credential which is tied to the volume anyway isn't that bad
<abathur> I may be catastrophizing on how hard verifying the credential is, I did just find a -verify option for unlockVolume that says it doesn't affect the state
<LnL> if the volume is created first using the same uuid for the credential id would make the lookup pretty simple
<LnL> and if something goes wrong during deletion worst case there's just a stale entry for a non existing uuid
<abathur> so, when you describe backing up and restoring the db, is there like a well-supported tool process, or just like cp/rsync /nix/var/nix/db ? :)
<LnL> nah it's just sqlite
<abathur> I don't recall seeing an arbitrary uuid option, but that part should be OK; if they have a) an encrypted volume and b) a credential where we expect and c) the credential works, we leave the volume and credential in place; if b or c fail we prompt them to delete, say why, and tell them they can refuse if they know where the credential is and can put it in the right place?
AlwaysLivid has joined #nixos-dev
<abathur> so, ~ cp -r /nix/var/nix/db.sqlite $SCRATCH/db.sqlite; ... do cool stuff ... if [ -e $SCRATCH/db.sqlite ]; then nix-store --load-db < $SCRATCH/db.sqlite; else nix-store --load-db < ./.reginfo; fi ?
<abathur> I assume from the description I saw in nix#4227 that it should* be able to ingest an old schema
<{^_^}> https://github.com/NixOS/nix/issues/4227 (by regnat, 1 week ago, open): Test the db migration
<abathur> ah, no, I guess I'd need to --dump-db first; I don't know if there's anything meaningful about using the toolchain to dump and reload or if it will be OK if I just copy it out and back in
alp has quit [Ping timeout: 272 seconds]
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos-dev
lukegb has quit [Quit: ~~lukegb out~~]
lukegb has joined #nixos-dev
leungbk` has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 258 seconds]
leungbk` has joined #nixos-dev
ris has quit []
teto has quit [Ping timeout: 260 seconds]
tilpner_ has joined #nixos-dev
tilpner has quit [Ping timeout: 256 seconds]
tilpner_ is now known as tilpner
jonringer has quit [Remote host closed the connection]
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #nixos-dev
rajivr has joined #nixos-dev
cole-h has joined #nixos-dev
leungbk` has quit [Ping timeout: 272 seconds]
costrouc has quit [Quit: costrouc]
leungbk` has joined #nixos-dev
justanotheruser has quit [Quit: WeeChat 2.9]
leungbk` has quit [Remote host closed the connection]
leungbk`` has joined #nixos-dev
justanotheruser has joined #nixos-dev
leungbk`` has quit [Ping timeout: 260 seconds]
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos-dev
leungbk`` has joined #nixos-dev
justanotheruser has quit [Ping timeout: 264 seconds]
zarel_ has joined #nixos-dev
zarel has quit [Ping timeout: 260 seconds]
justanotheruser has joined #nixos-dev
orivej has joined #nixos-dev
leungbk`` has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 258 seconds]
alp has joined #nixos-dev
<Mic92> rycee: infinisil niksnut We have a date for rfc42 now the 17th at 17:00 CEST on https://meet.jit.si/nixos-rfc-42 (Please give me a short ping if you read the message).
cole-h has quit [Ping timeout: 260 seconds]
<infinisil> Mic92: Hehe, same date for rfcs#67 discussion :)
<{^_^}> https://github.com/NixOS/rfcs/pull/67 (by FRidh, 34 weeks ago, open): [RFC 0067] Common override interface derivations
<infinisil> Oh actually like 1 hour after.. hmm :/
alp has quit [Remote host closed the connection]
alp has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
FRidh has joined #nixos-dev
<bk1603[m]> Let me paste that again
<bk1603[m]> Oh wait that was trucated wasn't it :|
<bk1603[m]> error: anonymous function at /nix/store/9kk8g44xnh2y7s78l02xqsl4waikc84q-nixos-21.03pre250878.a52e974cff8/nixos/pkgs/applications/terminal-emulators/st/default.nix:1:1 called with unexpected argument 'cryptsetup', at /nix/store/9kk8g44xnh2y7s78l02xqsl4waikc84q-nixos-21.03pre250878.a52e974cff8/nixos/lib/customisation.nix:79:63
<bk1603[m]> I wonder why does nix say there is an error in st though?
<bk1603[m]> I've removed st and dwm from the config for now. But I still get the same errors. I'll post a paste of the config in a minute
<bk1603[m]> Here's a link to the paste: https://pastebin.com/Tadj9tQV
<samueldr> >> systemd = super.st.overrideAttrs
<samueldr> bk1603[m]: look at the third word
<bk1603[m]> facepalm
<samueldr> :)
<samueldr> the st derivation didn't expect to get some arguments like cryptsetup and probably others
<samueldr> I now imagine if you *somehow* made that work, how broken the build would look like
<samueldr> anything depending on a systemd library would fail in a cryptic manner
<bk1603[m]> samueldr: yep that was it, the build just started. Thanks a lot for helping me out with this. I am pretty sure it would've taken me a good chunk of time before I'd have realized what the problem was.
<bk1603[m]> haha true, that would have been chaotic. Nix just saved my system :)
<samueldr> and don't worry, we all sometimes end up with blinders on and not see the obvious problem
<bk1603[m]> That's definitely true :P
<bk1603[m]> Thanks a lot!
<Mic92> infinisil: do we have a collision?
<Mic92> NinjaTrappeur: infinisil rycee should we moved it to Thursday than?
<Mic92> NinjaTrappeur: sorry I meant niksnut
<bk1603[m]> Here is the error that I am getting after fixing my config: https://pastebin.com/8AngKVd2
<bk1603[m]> It tries to look for the python file in `/build/systemd/src/shared/somefile.py`, which shouldn't happen? The file is in`src/shared/someflie.py`.
<bk1603[m]> (I am fairly new to NixOS so I'll apologize in advance in case I've asked a very obvious question.)
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
<MichaelRaskin> Or move #67 discussion…
<{^_^}> https://github.com/NixOS/nixpkgs/issues/67 (by chaoflow, 8 years ago, closed): document how to do stuff with and for python
<MichaelRaskin> These decision cycles are just too long to be able to maintain non-utilisation of slots weeks ahead
<Mic92> bk1603[m]: use patchShebangs
<Mic92> src/shared/generate-syscall-list.py uses /usr/bin/env python
<Mic92> patchShebangs will convert it to /nix/store/*-python*/bin/python3
orivej has joined #nixos-dev
<siraben> For some reason this package requires libck at runtime, https://github.com/NixOS/nixpkgs/issues/103700 , but when it use wrapProgram or put libck in propagatedBuildInputs it still fails at runtime, what else should I try?
<{^_^}> #103700 (by Donaim, 20 hours ago, open): cyclone-scheme: include binutils and libck
FRidh has quit [Quit: Konversation terminated!]
teto has joined #nixos-dev
alp has joined #nixos-dev
ris has joined #nixos-dev
<infinisil> Mic92: Thanks for changing it!
<JJJollyjim> bumping this, it has a 👍️, needs a merge https://github.com/NixOS/nixpkgs/pull/103704
<{^_^}> #103704 (by JJJollyjim, 21 hours ago, open): vte-ng: update patches to apply on vte 0.62
__monty__ has joined #nixos-dev
stigo has quit [*.net *.split]
edwtjo has quit [*.net *.split]
tv has quit [*.net *.split]
pie_ has quit [*.net *.split]
ivan has quit [*.net *.split]
makefu has quit [*.net *.split]
srk has quit [*.net *.split]
hyperfekt has quit [*.net *.split]
ivan_ has joined #nixos-dev
hyperfekt has joined #nixos-dev
edwtjo has joined #nixos-dev
edwtjo has joined #nixos-dev
edwtjo has quit [Changing host]
srk has joined #nixos-dev
tv has joined #nixos-dev
makefu has joined #nixos-dev
stigo has joined #nixos-dev
pie_ has joined #nixos-dev
bbigras has quit [*.net *.split]
nh2[m] has quit [*.net *.split]
feepo has quit [*.net *.split]
terrorjack has quit [*.net *.split]
dongcarl has quit [*.net *.split]
kgz has quit [*.net *.split]
mdlayher has quit [*.net *.split]
ehmry has quit [*.net *.split]
johanot has quit [*.net *.split]
talyz has quit [*.net *.split]
ehmry has joined #nixos-dev
dongcarl has joined #nixos-dev
kgz has joined #nixos-dev
terrorjack has joined #nixos-dev
feepo has joined #nixos-dev
nh2[m] has joined #nixos-dev
bbigras has joined #nixos-dev
talyz has joined #nixos-dev
johanot has joined #nixos-dev
mdlayher has joined #nixos-dev
kgz has quit [Max SendQ exceeded]
dongcarl has quit [Max SendQ exceeded]
terrorjack has quit [Max SendQ exceeded]
dongcarl has joined #nixos-dev
terrorjack has joined #nixos-dev
thefloweringash has quit [Ping timeout: 244 seconds]
philipp[m] has quit [Ping timeout: 244 seconds]
DamienCassou has quit [Ping timeout: 244 seconds]
JJJollyjim has quit [Ping timeout: 244 seconds]
domenkozar[m] has quit [Ping timeout: 244 seconds]
worldofpeace has quit [Ping timeout: 240 seconds]
matthewkenigsber has quit [Ping timeout: 240 seconds]
emily has quit [Ping timeout: 240 seconds]
mkg20001 has quit [Ping timeout: 240 seconds]
rnhmjoj has quit [Ping timeout: 240 seconds]
maralorn has quit [Ping timeout: 240 seconds]
ryantm has quit [Ping timeout: 240 seconds]
rycee has quit [Ping timeout: 240 seconds]
Dandellion has quit [Ping timeout: 240 seconds]
Ericson2314 has quit [Ping timeout: 240 seconds]
regnat has quit [Ping timeout: 240 seconds]
siraben has quit [Ping timeout: 260 seconds]
bk1603[m] has quit [Ping timeout: 244 seconds]
treed[m] has quit [Ping timeout: 244 seconds]
timokau[m] has quit [Ping timeout: 244 seconds]
danielrf[m] has quit [Ping timeout: 244 seconds]
alexarice[m] has quit [Ping timeout: 244 seconds]
symphorien[m] has quit [Ping timeout: 246 seconds]
kgz has joined #nixos-dev
Irenes[m] has quit [Ping timeout: 244 seconds]
puzzlewolf has quit [Ping timeout: 244 seconds]
roberth has quit [Ping timeout: 240 seconds]
Ox4A6F has quit [Ping timeout: 240 seconds]
michaelpj has quit [Ping timeout: 240 seconds]
kraem has quit [Ping timeout: 240 seconds]
aterius has quit [Ping timeout: 268 seconds]
jtojnar has quit [Ping timeout: 268 seconds]
ma27[m] has quit [Ping timeout: 268 seconds]
aanderse has quit [Ping timeout: 268 seconds]
zowoq[m] has quit [Ping timeout: 268 seconds]
Valodim[m] has quit [Ping timeout: 268 seconds]
colemickens has quit [Ping timeout: 246 seconds]
bbigras has quit [Ping timeout: 246 seconds]
nh2[m] has quit [Ping timeout: 246 seconds]
jonge[m] has quit [Ping timeout: 244 seconds]
alp has quit [Ping timeout: 272 seconds]
domenkozar[m] has joined #nixos-dev
symphorien[m] has joined #nixos-dev
danielrf[m] has joined #nixos-dev
mkg20001 has joined #nixos-dev
Ericson2314 has joined #nixos-dev
bk1603[m] has joined #nixos-dev
emily has joined #nixos-dev
thefloweringash has joined #nixos-dev
Dandellion has joined #nixos-dev
worldofpeace has joined #nixos-dev
rycee has joined #nixos-dev
DamienCassou has joined #nixos-dev
philipp[m] has joined #nixos-dev
puzzlewolf has joined #nixos-dev
Irenes[m] has joined #nixos-dev
siraben has joined #nixos-dev
regnat has joined #nixos-dev
timokau[m] has joined #nixos-dev
ryantm has joined #nixos-dev
matthewkenigsber has joined #nixos-dev
alexarice[m] has joined #nixos-dev
maralorn has joined #nixos-dev
rnhmjoj has joined #nixos-dev
zowoq[m] has joined #nixos-dev
treed[m] has joined #nixos-dev
jonge[m] has joined #nixos-dev
roberth has joined #nixos-dev
kraem has joined #nixos-dev
michaelpj has joined #nixos-dev
Ox4A6F has joined #nixos-dev
jtojnar has joined #nixos-dev
Valodim[m] has joined #nixos-dev
aanderse has joined #nixos-dev
ma27[m] has joined #nixos-dev
aterius has joined #nixos-dev
bbigras has joined #nixos-dev
nh2[m] has joined #nixos-dev
colemickens has joined #nixos-dev
alp has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
alp has joined #nixos-dev
cole-h has joined #nixos-dev
rajivr has quit [Quit: Connection closed for inactivity]
leungbk`` has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
alp has quit [Ping timeout: 272 seconds]
leungbk`` has quit [Ping timeout: 264 seconds]
leungbk`` has joined #nixos-dev
leungbk`` has quit [Remote host closed the connection]
AlwaysLivid has quit [Ping timeout: 272 seconds]
<NinjaTrappeur> Does anybody have a strong opinion on gopher://-served fetchurl ressoruces? I'd like a second opinion on that: https://github.com/NixOS/nixpkgs/pull/98852#issuecomment-727241539
alp has joined #nixos-dev
JJJollyjim has joined #nixos-dev
<JJJollyjim> lmao wtf is this http://bitreich.org/sacc
<NinjaTrappeur> yeah, pretty much my reaction when I landed there ><
<NinjaTrappeur> It's a gopher client.
<NinjaTrappeur> Reviewing nixpkgs PRs is sometimes a wild ride.
AlwaysLivid has joined #nixos-dev
hyperfekt has quit [Quit: bouncer quit]
hyperfekt has joined #nixos-dev
ivan_ is now known as ivan
alp has quit [Ping timeout: 272 seconds]
kloenk has quit [Ping timeout: 260 seconds]
kloenk has joined #nixos-dev
page has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
alp has joined #nixos-dev
avn has quit [Ping timeout: 260 seconds]
page has joined #nixos-dev
__monty__ has quit [Quit: leaving]