Skip to content

Commit

Permalink
[wip] nix: update flake and use mkosi with sorted cpio
Browse files Browse the repository at this point in the history
  • Loading branch information
malt3 committed Dec 11, 2023
1 parent 27804ef commit a6fe4e3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
callPackage = pkgsUnstable.callPackage;

mkosiDev = (pkgsUnstable.mkosi.overrideAttrs (oldAttrs: rec {
src = pkgsUnstable.fetchFromGitHub {
owner = "systemd";
repo = "mkosi";
rev = "54dc08693f315d5e33a52f6bbadc67eec5405d13";
hash = "sha256-ysmO5YYtYcm//zQomkLhpXzaYVjrr0olVft3BkfPptA=";
};
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ (with pkgsUnstable; [
# package management
dnf5
Expand All @@ -34,6 +40,9 @@
cryptsetup # dm-verity
util-linux # flock
kmod # depmod
cpio # cpio
zstd # zstd
xz # xz
]);
}));

Expand Down
1 change: 1 addition & 0 deletions image/base/mkosi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Release=38

[Output]
Format=tar
CompressOutput=false
Seed=b04a9a33-4559-4af4-8b38-9249cf933229

[Content]
Expand Down

0 comments on commit a6fe4e3

Please sign in to comment.