!oNSIfazDqEcwhcOjSL:matrix.org

disko

398 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko106 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
11 Aug 2024
@matthewcroughan:defenestrate.itmatthewcroughan *
[root@t480:~]# nixos-enter 
chroot: failed to run command ‘/nix/var/nix/profiles/system/activate’: No such file or directory
chroot: failed to run command ‘/nix/var/nix/profiles/system/sw/bin/bash’: No such file or directory
19:47:01
@matthewcroughan:defenestrate.itmatthewcroughanAh, nixos-enter doesn't work unless there's a profile there first19:47:51
@blimbus:matrix.orgblimbus joined the room.23:19:36
12 Aug 2024
@brian:bmcgee.ie@brian:bmcgee.ie Is there a way of running disko in a vm test? I'm trying it with just disko --mode disko ... but it's reaching out to the internet and failing 14:36:14
@brian:bmcgee.ie@brian:bmcgee.ie I'll have a play around with diskoLib.testLib.makeDiskoTest 14:37:53
@brian:bmcgee.ie@brian:bmcgee.ie Yeah, Disko's testLib was the way to go. Had to import it a bit differently due to the impure <nixpkgs> defaults for some of it's args, but no biggy. 16:00:17
@matthewcroughan:defenestrate.itmatthewcroughan BMG: if you have imported Disko into a nixosConfiguration, then a VM Test is already present for that in system.build.toplevel.installTest 16:02:13
@brian:bmcgee.ie@brian:bmcgee.ie
In reply to @matthewcroughan:defenestrate.it
BMG: if you have imported Disko into a nixosConfiguration, then a VM Test is already present for that in system.build.toplevel.installTest
Good to know. makeDiskoTest is a better fit for use case in this instance https://github.com/numtide/nixos-facter/pull/73
16:05:12

Show newer messages


Back to Room ListRoom Version: 10