flake: reformat to fit nixpkgs-fmt style

This commit is contained in:
Julian Stecklina 2023-01-08 14:42:30 +01:00
parent 74182c199a
commit 4f14ca0197
1 changed files with 115 additions and 109 deletions

View File

@ -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 {