From c13a446bc0563c622e478996aef5cd7466bf3278 Mon Sep 17 00:00:00 2001 From: Matt Votava Date: Mon, 22 Jun 2026 02:52:52 -0700 Subject: [PATCH] makeInitrd{,NG}: fix lz4 executable path pkgs.lz4 has "dev" listed first in its outputs, so the substituted executable path didn't exist. --- pkgs/build-support/kernel/initrd-compressor-meta.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/kernel/initrd-compressor-meta.nix b/pkgs/build-support/kernel/initrd-compressor-meta.nix index 728b9291627f..c09f62a75b7d 100644 --- a/pkgs/build-support/kernel/initrd-compressor-meta.nix +++ b/pkgs/build-support/kernel/initrd-compressor-meta.nix @@ -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"; };