Closed basvandijk closed 7 years ago
User mode is currently broken, this is a known issue. We're working on it.
W.r.t. current-system: this is interesting - we thought we could depend on /nix/var/nix/current-system... I'll get that fixed, too.
The broken user mode will be handled separately in #8
This seems to no longer be the case. vulnix --system
as an unprivileged user works fine.
I'm going to check it - I think we fixed it without closing the ticket...
vulnix --system
should work on recent NixOS system when invoked as unprivileged user. Closing this issue.
My NixOS system apparently doesn't have the
/nix/var/nix/current-system
directory:Maybe vulnix should try
/nix/var/nix/profiles/system
if that previous directory can't be found.Similarly user-mode also doesn't work: