diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix index 783a4133755..79c8061bb10 100644 --- a/pkgs/os-specific/linux/kernel/manual-config.nix +++ b/pkgs/os-specific/linux/kernel/manual-config.nix @@ -68,11 +68,11 @@ stdenv.mkDerivation ({ runHook postConfigure ''; - INSTALL_PATH = "$out"; + INSTALL_PATH = "$(out)"; buildNativeInputs = [ perl nettools ]; } // optionalAttrs features.modular { - MODLIB = "$out/lib/modules/${modDirVersion}"; + MODLIB = "$(out)/lib/modules/${modDirVersion}"; INSTALL_MOD_STRIP = "1";