professor: move env vars into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-19 17:43:16 +01:00
parent 77f0cbbb6c
commit aa9895ef8f
+4 -2
View File
@@ -49,8 +49,10 @@ stdenv.mkDerivation {
yoda
];
CPPFLAGS = [ "-I${eigen}/include/eigen3" ];
PREFIX = placeholder "out";
env = {
CPPFLAGS = toString [ "-I${eigen}/include/eigen3" ];
PREFIX = placeholder "out";
};
postInstall = ''
for prog in "$out"/bin/*; do