git.iko.soy/typeable/nixpkgs
on master help sign in
woff2: use canonical prefixes

When building with a native stdenv, which wraps CC, we need to resolve nix store symlinks when building woff2.

commitc2d85c30ae31f9f0d8fb1df15678257047baf4a6 authorbhpdt <no-reply@pdt-partners.com> dateMon 16 Nov 2020, 18:42 (6 years ago) parentfb997de
1 file changed+4−2
pkgs/development/web/woff2/default.nix+4−2
pkgs/development/web/woff2/default.nix+4−2
@@ -18,8 +18,10 @@ stdenv.mkDerivation rec {
1818
1919 nativeBuildInputs = [ cmake pkgconfig ];
2020
21− cmakeFlags = [ "-DBUILD_SHARED_LIBS=${if static then "OFF" else "ON"}" ]
22− ++ stdenv.lib.optional static "-DCMAKE_SKIP_RPATH:BOOL=TRUE";
21+ cmakeFlags = [
22+ "-DCANONICAL_PREFIXES=ON"
23+ "-DBUILD_SHARED_LIBS=${if static then "OFF" else "ON"}"
24+ ] ++ stdenv.lib.optional static "-DCMAKE_SKIP_RPATH:BOOL=TRUE";
2325
2426 propagatedBuildInputs = [ brotli ];
2527