nix: comment out libkrun(fw) source overrides

As we're currently using entirely upstream ones right now. Let's reuse
the cache.nixos.org builds.
This commit is contained in:
Val Packett 2026-02-07 00:21:36 -03:00
parent 9708e5fb64
commit 09f1eb76de
4 changed files with 58 additions and 72 deletions

View file

@ -1,12 +1,22 @@
{ libkrunfw, libkrunfw-src, fetchurl, variant ? null, ... }:
{
libkrunfw,
# libkrunfw-src,
# fetchurl,
variant ? null,
...
}:
(libkrunfw.override {
inherit variant;
}).overrideAttrs (old: {
version = "5.1.0";
src = libkrunfw-src;
kernelSrc = fetchurl {
url = "mirror://kernel/linux/kernel/v6.x/linux-6.12.62.tar.xz";
hash = "sha256-E+LGhayPq13Zkt0QVzJVTa5RSu81DCqMdBjnt062LBM=";
let
libkrunfw' = libkrunfw.override {
inherit variant;
};
})
in
libkrunfw'
# libkrunfw'.overrideAttrs (old: {
# version = "5.1.0";
# src = libkrunfw-src;
# kernelSrc = fetchurl {
# url = "mirror://kernel/linux/kernel/v6.x/linux-6.12.62.tar.xz";
# hash = "sha256-E+LGhayPq13Zkt0QVzJVTa5RSu81DCqMdBjnt062LBM=";
# };
# })