From 4fb66497dbdc92c316efecd408ea427d081036d2 Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Sat, 30 Aug 2025 23:46:21 +0200 Subject: [PATCH] [Boot] fix build failure --- boot.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/boot.nix b/boot.nix index 55573fe..679d733 100644 --- a/boot.nix +++ b/boot.nix @@ -282,8 +282,10 @@ in { optionalAttrs config.aviallon.optimizations.enable ( myLib.attrsets.mergeAttrsRecursive { - KCFLAGS = kCflags; - KRUSTFLAGS = kRustflags; + env = { + KCFLAGS = kCflags; + KRUSTFLAGS = kRustflags; + }; } (traceValWithPrefix "aviallon.boot.kernel.addOptimizationAttributes" cfg.kernel.addOptimizationAttributes) )