35 lines
763 B
Nix
35 lines
763 B
Nix
let
|
|
lockFile = builtins.fromJSON (builtins.readFile ./flake.lock);
|
|
flake-compat-node = lockFile.nodes.${lockFile.nodes.root.inputs.flake-compat};
|
|
flake-compat = builtins.fetchTarball {
|
|
inherit (flake-compat-node.locked) url;
|
|
sha256 = flake-compat-node.locked.narHash;
|
|
};
|
|
|
|
flake' = (
|
|
import flake-compat {
|
|
src = ./.;
|
|
}
|
|
);
|
|
flake = flake'.defaultNix;
|
|
in
|
|
|
|
{
|
|
nixpkgs ? flake.inputs.nixpkgs,
|
|
pkgs ? import nixpkgs { },
|
|
sidebus-src ? flake.inputs.sidebus,
|
|
muvm-src ? flake.inputs.muvm-src,
|
|
libkrun-src ? flake.inputs.libkrun-src,
|
|
wl-backdrop-src ? flake.inputs.wl-backdrop,
|
|
}:
|
|
|
|
pkgs.callPackage ./scope.nix {
|
|
inputs = {
|
|
inherit
|
|
libkrun-src
|
|
muvm-src
|
|
sidebus-src
|
|
wl-backdrop-src
|
|
;
|
|
};
|
|
}
|