]> git.scottworley.com Git - nixos-qemu-vm-isolation/blob - overlays/squashfs-labels/default.nix
Put squashfs-label patch overlays in a separate file
[nixos-qemu-vm-isolation] / overlays / squashfs-labels / default.nix
1 # We patch in support for squashfs labels because
2 # https://github.com/NixOS/nixpkgs/pull/236656 requires filesystems to have labels and
3 # https://github.com/plougher/squashfs-tools/issues/59 squashfs doesn't support labels
4 final: prev: {
5 squashfsTools = prev.squashfsTools.overrideAttrs (old: {
6 patches = (old.patches or [ ]) ++ [ ./squashfs-tools-label.patch ];
7 });
8
9 util-linux = prev.util-linux.overrideAttrs (old: {
10 patches = (old.patches or [ ]) ++ [ ./util-linux-squashfs-label.patch ];
11 });
12 }