makeInitrd{,NG}: fix lz4 executable path

pkgs.lz4 has "dev" listed first in its outputs, so the substituted
executable path didn't exist.
This commit is contained in:
Matt Votava
2026-06-22 02:52:52 -07:00
parent 688b86390a
commit c13a446bc0
@@ -29,7 +29,7 @@ rec {
extension = ".lzma";
};
lz4 = {
executable = pkgs: "${pkgs.lz4}/bin/lz4";
executable = pkgs: pkgs.lib.getExe pkgs.lz4;
defaultArgs = [ "-l" ];
extension = ".lz4";
};