imake: fix for structuredAttrs

tradcpp must be in env for substitution in setupHook
This commit is contained in:
Stefan Frijters
2025-12-14 14:55:18 +01:00
parent f405a798c3
commit 32abdaea3e
+2 -1
View File
@@ -64,6 +64,7 @@ stdenv.mkDerivation (finalAttrs: {
CFLAGS = "-DIMAKE_COMPILETIME_CPP='\"${
if stdenv.hostPlatform.isDarwin then "${tradcpp}/bin/cpp" else "gcc"
}\"'";
inherit tradcpp;
};
preInstall = ''
@@ -71,7 +72,7 @@ stdenv.mkDerivation (finalAttrs: {
ln -s ${xorg-cf-files}/lib/X11/config/* $out/lib/X11/config
'';
inherit tradcpp xorg-cf-files;
inherit xorg-cf-files;
setupHook = ./setup-hook.sh;
passthru = {