From 9dd169d500b6398e898ffef4a95e5eaeba1a3759 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Wed, 1 Jan 2025 11:54:46 +0000 Subject: [PATCH] add "config" output to kernel derivation --- pkgs/kernel/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/kernel/default.nix b/pkgs/kernel/default.nix index 9634127..879a785 100644 --- a/pkgs/kernel/default.nix +++ b/pkgs/kernel/default.nix @@ -45,7 +45,7 @@ stdenv.mkDerivation rec { dontStrip = true; dontPatchELF = true; - outputs = ["out" "headers" "modulesupport"] ++ targetNames; + outputs = ["out" "headers" "modulesupport" "config"] ++ targetNames; phases = [ "unpackPhase" "butcherPkgconfig" @@ -114,5 +114,6 @@ stdenv.mkDerivation rec { mkdir -p $modulesupport make modules cp -a . $modulesupport + cp .config $config ''; }