18 Apr 2024 |
adamcstephens | that's fine. i guess i'm asking what the alternative to pkgs.stdenv.hostPlatform.isx86 is? | 14:35:58 |
adamcstephens | e.g. what would i reference instead of that boolean? | 14:38:53 |
hexa | hm? | 14:40:16 |
hexa | isx86_64? | 14:40:22 |
adamcstephens | you said "and please no pkgs.stdenv indirection" so i'm just trying to understand how you'd write the condition instead :) | 14:40:38 |
hexa | oh, just pass stdenv via args | 14:40:51 |
adamcstephens | in a module? | 14:42:08 |
hexa | uh, yes? | 14:42:40 |
hexa | hmmm | 14:42:50 |
hexa | am I holding it wrong? | 14:42:58 |
hexa | looks like it o_O | 14:43:10 |
adamcstephens | i'm not passing anything to the module, and the module system doesn't pass stdenv | 14:43:21 |
hexa | ok, then nvm | 14:43:27 |
adamcstephens | :) | 14:43:30 |
hexa | 🤷 | 14:43:36 |
adamcstephens | anyway, i removed the condition and left the rule constraint, so it'll go to all systems. | 14:45:16 |
hexa | ok | 14:46:06 |
19 Apr 2024 |
adamcstephens | I'm going to take a break from matrix for a bit. Feel free to find me on IRC or Discord if anyone needs me | 17:10:29 |
22 Apr 2024 |
hexa | ❯ incus start win11 --console=vga
Error: Failed to start device "vtpm": Failed to validate environment: Required tool 'swtpm' is missing
| 13:03:26 |
hexa | * ❯ incus config device add win11 vtpm tpm path=/dev/tpm0
Device vtpm added to win11
❯ incus start win11 --console=vga
Error: Failed to start device "vtpm": Failed to validate environment: Required tool 'swtpm' is missing
| 13:03:49 |
hexa | adding swtpm to the long list in the module helps | 13:06:45 |
hexa | wondering how that list gets created/maintained 🙂 | 13:20:10 |
adamcstephens | In reply to @hexa:lossy.network wondering how that list gets created/maintained 🙂 By hand :/ | 17:57:23 |
hexa | stop being here!!!! | 17:57:31 |
adamcstephens | heh, i am definitely checking it less. it was just open on my work laptop which i haven't used since Friday :) | 17:57:56 |
hexa | 🙂 | 17:58:04 |
adamcstephens | honestly the unread markers finally wore me down to the point of intolerance | 17:58:24 |
adamcstephens | greping for exec.LookPath in the incus repo seems to be useful, and we probably have most of them. | 18:01:55 |
adamcstephens | please open a pr for swtpm | 18:02:04 |
hexa | have a local change, think about a test | 18:04:20 |