flake: reformat to fit nixpkgs-fmt style
This commit is contained in:
parent
74182c199a
commit
4f14ca0197
18
flake.nix
18
flake.nix
|
@ -54,7 +54,8 @@
|
|||
];
|
||||
|
||||
boot.lanzaboote.package = perSystem.config.packages.lanzatool;
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
|
@ -63,7 +64,8 @@
|
|||
# "aarch64-linux"
|
||||
];
|
||||
|
||||
perSystem = { config, system, pkgs, ... }: let
|
||||
perSystem = { config, system, pkgs, ... }:
|
||||
let
|
||||
pkgs = import nixpkgs {
|
||||
system = system;
|
||||
overlays = [
|
||||
|
@ -125,11 +127,13 @@
|
|||
};
|
||||
|
||||
lanzatool-unwrapped = lanzatoolCrane.package;
|
||||
in {
|
||||
in
|
||||
{
|
||||
packages = {
|
||||
inherit lanzaboote;
|
||||
|
||||
lanzatool = pkgs.runCommand "lanzatool" {
|
||||
lanzatool = pkgs.runCommand "lanzatool"
|
||||
{
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
} ''
|
||||
mkdir -p $out/bin
|
||||
|
@ -168,11 +172,13 @@
|
|||
${config.pre-commit.installationScript}
|
||||
'';
|
||||
|
||||
packages = let
|
||||
packages =
|
||||
let
|
||||
uefi-run = pkgs.callPackage ./nix/packages/uefi-run.nix {
|
||||
inherit craneLib;
|
||||
};
|
||||
in [
|
||||
in
|
||||
[
|
||||
uefi-run
|
||||
pkgs.openssl
|
||||
(pkgs.sbctl.override {
|
||||
|
|
Loading…
Reference in New Issue