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:
parent
9708e5fb64
commit
09f1eb76de
4 changed files with 58 additions and 72 deletions
|
|
@ -1,18 +1,30 @@
|
|||
{ libkrun, libkrunfw, libkrun-src, rustPlatform, variant ? null, ... }:
|
||||
{
|
||||
libkrun,
|
||||
libkrunfw,
|
||||
# libkrun-src,
|
||||
# rustPlatform,
|
||||
variant ? null,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
libkrunfw' = libkrunfw.override { inherit variant; };
|
||||
in
|
||||
(libkrun.override {
|
||||
withBlk = true;
|
||||
withGpu = true;
|
||||
withSound = true;
|
||||
withNet = true;
|
||||
inherit variant;
|
||||
libkrunfw = libkrunfw';
|
||||
}).overrideAttrs (old: {
|
||||
src = libkrun-src;
|
||||
cargoDeps = rustPlatform.importCargoLock {
|
||||
lockFile = "${libkrun-src}/Cargo.lock";
|
||||
libkrun' = libkrun.override {
|
||||
withBlk = true;
|
||||
withNet = true;
|
||||
withGpu = true;
|
||||
# --- stick to the override used in nixpkgs' muvm package to reuse nixos.org cache when not overriding src ---
|
||||
# withSound = true; # not for pipewire forwarding, anyway
|
||||
# withTimesync = true; # why not?..
|
||||
# ---------
|
||||
inherit variant;
|
||||
libkrunfw = libkrunfw';
|
||||
};
|
||||
})
|
||||
in
|
||||
libkrun'
|
||||
# libkrun'.overrideAttrs (old: {
|
||||
# src = libkrun-src;
|
||||
# cargoDeps = rustPlatform.importCargoLock {
|
||||
# lockFile = "${libkrun-src}/Cargo.lock";
|
||||
# };
|
||||
# })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue