!VhzbGHamdfMiGxpXyg:robins.wtf

NixOS LXC

33 Members
lxc, lxd, incus discussions related to NixOS14 Servers

Load older messages


SenderMessageTime
18 Apr 2024
@adam:robins.wtfadamcstephens(that's inside a VM)14:18:12
@adam:robins.wtfadamcstephens

meanwhile on the host (an rpi4)

─❯ sudo dmesg | rg el2
[    0.031475] CPU: All CPU(s) started at EL2
14:18:47
@adam:robins.wtfadamcstephensbased on the qemu commit log it seems like people are working on this stuff, so maybe one day14:25:53
@adam:robins.wtfadamcstephensi was just trying to see if it's something we have disabled14:26:56
@hexa:lossy.networkhexacool 14:27:08
@adam:robins.wtfadamcstephenshttps://github.com/NixOS/nixpkgs/pull/30491914:28:14
@hexa:lossy.networkhexathe x86 check is redundant, no? 🙂14:32:50
@hexa:lossy.networkhexaand please no pkgs.stdenv indirection14:33:06
@adam:robins.wtfadamcstephensjust figured no need to put the file on all platforms. i can remove the condition, but how would you condition this instead?14:34:40
@hexa:lossy.networkhexaeither you deploy the rule only when stdenv.hostPlaform.isx86_6414:35:05
@hexa:lossy.networkhexaand then the arch check in the rule is redundant14:35:19
@hexa:lossy.networkhexaor you deploy it always and keep the udev arch checkl14:35:28
@hexa:lossy.networkhexa * or you deploy it always and keep the udev arch check14:35:30
@hexa:lossy.networkhexaimo.14:35:31
@adam:robins.wtfadamcstephens that's fine. i guess i'm asking what the alternative to pkgs.stdenv.hostPlatform.isx86 is? 14:35:58
@adam:robins.wtfadamcstephense.g. what would i reference instead of that boolean?14:38:53
@hexa:lossy.networkhexahm?14:40:16
@hexa:lossy.networkhexaisx86_64?14:40:22
@adam:robins.wtfadamcstephensyou 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:lossy.networkhexaoh, just pass stdenv via args14:40:51
@adam:robins.wtfadamcstephensin a module?14:42:08
@hexa:lossy.networkhexauh, yes?14:42:40
@hexa:lossy.networkhexahmmm14:42:50
@hexa:lossy.networkhexaam I holding it wrong?14:42:58
@hexa:lossy.networkhexalooks like it o_O14:43:10
@adam:robins.wtfadamcstephensi'm not passing anything to the module, and the module system doesn't pass stdenv14:43:21
@hexa:lossy.networkhexaok, then nvm14:43:27
@adam:robins.wtfadamcstephens:)14:43:30
@hexa:lossy.networkhexa🤷14:43:36
@adam:robins.wtfadamcstephensanyway, i removed the condition and left the rule constraint, so it'll go to all systems. 14:45:16

Show newer messages


Back to Room ListRoom Version: 10