diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2022-09-16 19:22:18 -0400 |
---|---|---|
committer | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2022-09-16 19:22:18 -0400 |
commit | 795fbbf5ccae482a2f670baeb52cedf2d708eac1 (patch) | |
tree | d1c207dfef7149afac623055107307c9c25d8382 /pkgs/development/libraries/ftgl | |
parent | 2912f1ccedcef3f7f57017e2e3a9c912b0251351 (diff) |
ftgl: drop an impure -dylib_file on darwin
The build may outright fail because of this on recent macOS: ftgl> clang-11: error: no such file or directory: '/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib'
Diffstat (limited to 'pkgs/development/libraries/ftgl')
-rw-r--r-- | pkgs/development/libraries/ftgl/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/libraries/ftgl/default.nix b/pkgs/development/libraries/ftgl/default.nix index 466ffcbb73a0a..46d6180eb1dcc 100644 --- a/pkgs/development/libraries/ftgl/default.nix +++ b/pkgs/development/libraries/ftgl/default.nix @@ -23,6 +23,14 @@ stdenv.mkDerivation rec { hash = "sha256-6TDNGoMeBLnucmHRgEDIVWcjlJb7N0sTluqBwRMMWn4="; }; + # GL_DYLIB is hardcoded to an impure path + # /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib + # and breaks build on recent macOS versions + postPatch = '' + substituteInPlace m4/gl.m4 \ + --replace ' -dylib_file $GL_DYLIB: $GL_DYLIB' "" + ''; + nativeBuildInputs = [ autoreconfHook doxygen |