<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
<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]
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 :)
<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
<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?
<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.)
<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