flake.nix: extract packages/devshells/modules into smaller files
This commit is contained in:
parent
6f7f3f2461
commit
505e85b9c5
9 changed files with 360 additions and 323 deletions
19
packages/libkrunfw/default.nix
Normal file
19
packages/libkrunfw/default.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ libkrunfw, fetchurl, variant ? null, ... }:
|
||||
|
||||
(libkrunfw.override {
|
||||
inherit variant;
|
||||
}).overrideAttrs (old: {
|
||||
version = "5.0.0";
|
||||
src = ../../libkrunfw;
|
||||
# src = fetchFromGitHub {
|
||||
# owner = "containers";
|
||||
# repo = "libkrunfw";
|
||||
# tag = "v4.10.0";
|
||||
# hash = "sha256-mq2gw0+xL6qUZE/fk0vLT3PEpzPV8p+iwRFJHXVOMnk=";
|
||||
# };
|
||||
kernelSrc = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v6.x/linux-6.12.44.tar.xz";
|
||||
hash = "sha256-tlAhDtMCeyJJadFIqjd0Uqmq065/KFGr7dMa3+8Wva4=";
|
||||
};
|
||||
# buildInputs = old.buildInputs;
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue