foot: move CFLAGS into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-19 19:23:20 +01:00
parent fe95f8f97e
commit b93525956d
+1 -1
View File
@@ -138,7 +138,7 @@ stdenv.mkDerivation {
# recommended build flags for performance optimized foot builds
# https://codeberg.org/dnkl/foot/src/branch/master/INSTALL.md#release-build
CFLAGS = if !doPgo then "-O3" else pgoCflags;
env.CFLAGS = if !doPgo then "-O3" else pgoCflags;
# ar with gcc plugins for lto objects
preConfigure = ''