#asahi-alt · 2026-03-23 00:12
smnCya!!#asahi-alt · 2026-03-23 00:12
smnFor now though, thank you so much for the recomendation and i'll try to get 5.2.0 up and running on my system to debug muvm on asahi nixos further#asahi-alt · 2026-03-23 00:11
smnI'll make sure to pop in no matter if i find the solution to this or not#asahi-alt · 2026-03-23 00:11
smnFor now, its past 1am and i need to get ready for work tomorrow#asahi-alt · 2026-03-23 00:10
smnI guess all i can do with all that right now is just wait until someone more fluent in nix rolls around and helps me set it up#asahi-alt · 2026-03-23 00:07
smnIf it would properly change the version, i as an end user would be notified of the change during a version switch#asahi-alt · 2026-03-23 00:06
smn` └───/nix/store/cicqqzs10wbdr82mn03anwggi7ayb3rm-libkrunfw-5.1.0#asahi-alt · 2026-03-23 00:06
smn`└───/nix/store/56a6d66m7dabk7069kpjd4a67mln0082-libkrun-1.17.0#asahi-alt · 2026-03-23 00:06
smn`/nix/store/dkqv4xwbdmhffy8zw75m4k7q6w27s0j2-muvm-0.5.0#asahi-alt · 2026-03-23 00:05
smnnix why-depends github:NixOS/nixpkgs#muvm github:NixOS/nixpkgs#libkrunfw#asahi-alt · 2026-03-23 00:05
neobrain[m]right, might want to do something like nix-store --query --referrers-closure with the store path printed in which muvm and then look what libkrunfw version it pulls in. Just to verify it's indeed not applying the version change properly#asahi-alt · 2026-03-23 00:03
smnBut i'm assuming that's stable#asahi-alt · 2026-03-23 00:02
smn`/nix/store/lvi98ynyzfh3v2qkyxw9smwiim7fm03h-muvm-0.4.1 └───/nix/store/wnkk4vbkdbcavkrfc13c6cp7d36p0x85-libkrun-1.15.1 └───/nix/store/syyzhj0imqvhrwqpcm1lhbg1s9qnf4gp-libkrunfw-4.10.0`#asahi-alt · 2026-03-23 00:02
neobrain[m]What does nix why-depends nixpkgs#muvm nixpkgs#libkrunfw say?#asahi-alt · 2026-03-23 00:02
smnI guess best i can do is to try to ask my NixOS friends if they would be up for updating this one little part just so i can try using muvm#asahi-alt · 2026-03-23 00:01
smnAnd the resulting derivation has no package version change, and fails to apply#asahi-alt · 2026-03-23 00:01
smnFor some reason even though nix doesn't have any issues with what i'm doing, it not only doesn't build what i told it to do, but it also doesn't give me the courtesy of an error message of what i'm doing wrong so i'm kinda lost#asahi-alt · 2026-03-23 00:00
smnYep :/#asahi-alt · 2026-03-23 00:00
neobrain[m]I see. strange that it wouldn't work then :(#asahi-alt · 2026-03-22 23:59
smnOverride version, override url, and override resulting hash#asahi-alt · 2026-03-22 23:58
smnThis is exactly what i'm trying to do#asahi-alt · 2026-03-22 23:57
neobrain[m]See https://github.com/nrabulinski/nixos-muvm-fex/blob/main/overlay.nix#L26 for example#asahi-alt · 2026-03-22 23:57
smnI'm trying my best to make it be used as a part of the build process for muvm which depends on libkrun which would then use libkrunfw that i passed in#asahi-alt · 2026-03-22 23:56
neobrain[m]What you want is to define a nixpkgs overlay in your configuration, where the libkrunfw package is set to your definition above#asahi-alt · 2026-03-22 23:55
neobrain[m]oh ok, so it is your system configuration, but still sounds like you're adding a patched libkrunfs version in addition to the previous one, rather than replacing the latter with the former#asahi-alt · 2026-03-22 23:55
smnSo it wouldn't be easy for me to share where i import what without giving you the entirety of the scope#asahi-alt · 2026-03-22 23:54
smnIt's an entire file tree with all the configs for all the devices i own, alongside with all the packages i install on a per-host basis#asahi-alt · 2026-03-22 23:54
neobrain[m]So it's not part of your configuration.nix? Sounds like you're just installing a variant of the libkrunfw package, leaving the original libkrunfw package that's implicitly pulled in by muvm unmodified#asahi-alt · 2026-03-22 23:53
neobrain[m]gist.github.com, for example#asahi-alt · 2026-03-22 23:53
smnSorry for just thrashing the chat here but i genuinelly don't know how else i could send all this over without sending the entire flake config#asahi-alt · 2026-03-22 23:53
smnstdenv.mkDerivation (finalAttrs: { pname = "libkrunfw" + lib.optionalString (variant != null) "-${variant}"; version = "5.2.0";#asahi-alt · 2026-03-22 23:52
neobrain[m]what context did you put that in?#asahi-alt · 2026-03-22 23:51
smnAs arguments used to override the normal build process#asahi-alt · 2026-03-22 23:51
smn src = fetchFromGitHub { owner = "containers"; repo = "libkrunfw"; tag = "v${finalAttrs.version}"; hash = "sha256-0373jd40y2awgmysc7b9hv6mf90shzjg9kw673hscsyv6ld00zk9="; }; kernelSrc = fetchurl { url = "mirror://kernel/linux/kernel/v6.x/linux-6.12.68.tar.xz"; hash = "sha256-1dr58bfp883g4dnxak5gr25hib6hs8jq3c0ys06m5nnl9d8cfryk="; };#asahi-alt · 2026-03-22 23:49
neobrain[m]how exactly did you try to override the package version?#asahi-alt · 2026-03-22 23:49
neobrain[m]smn: yeah, though not on any asahi devices#asahi-alt · 2026-03-22 23:24
chaos_princessyou need the specific one that libkrunfw wants, as it applies patches#asahi-alt · 2026-03-22 23:24
smnIt is VERY HIGHLY PROBBABLE that i just don't understand what i'm doing though#asahi-alt · 2026-03-22 23:23
smnNone seemed to apply propperly to the nixpkgs build process#asahi-alt · 2026-03-22 23:23
smnI tried using the old one, tried picking up the one mentioned in the release notes, and tried to get an even newer one#asahi-alt · 2026-03-22 23:22
chaos_princessare you using the kernel that libkrunfw wants, or are you trying to supply your own#asahi-alt · 2026-03-22 23:21
chaos_princesstechnically not wrong#asahi-alt · 2026-03-22 23:21
smnIt's described by nixpkgs as Dynamic library bundling the guest payload consumed by libkrun#asahi-alt · 2026-03-22 23:20
smnOkay that makes sense then lol#asahi-alt · 2026-03-22 23:20
chaos_princesslibkrunfw is literally the kernel for the vm that muvm runs#asahi-alt · 2026-03-22 23:19
smnI'm having issues understanding why libkrunfw needs an entire kernel as a build input, and don't understand why the git version i requested isn't being built#asahi-alt · 2026-03-22 23:15
smnI forcefully overwrote the package into using a diffrent version to be built, and tried to rebuild my system to use it, but even though the build worked, there has been no version change and the version didn't actually apply to my system#asahi-alt · 2026-03-22 23:14
smnBoth lol. Are you a NixOS user by any chance?#asahi-alt · 2026-03-22 23:07
neobrain[m]smn: What's the issue? Nontrivial version bump or just lack of knowledge on how to do it?#asahi-alt · 2026-03-22 22:38
smnOkay that turns out to not be as easy of a task as i would have hoped for