mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +00:00
wxGTK31: move env variable(s) into env for structuredAttrs
This commit is contained in:
@@ -89,9 +89,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"--enable-webviewwebkit"
|
||||
];
|
||||
|
||||
SEARCH_LIB = lib.optionalString (
|
||||
!stdenv.hostPlatform.isDarwin
|
||||
) "${libGLU.out}/lib ${libGL.out}/lib ";
|
||||
env = lib.optionalAttrs (!stdenv.hostPlatform.isDarwin) {
|
||||
SEARCH_LIB = toString [
|
||||
"${libGLU.out}/lib"
|
||||
"${libGL.out}/lib"
|
||||
];
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace configure --replace \
|
||||
|
||||
Reference in New Issue
Block a user