Loading pkgs/by-name/li/libwebsockets/package.nix +7 −0 Original line number Diff line number Diff line Loading @@ -69,6 +69,13 @@ stdenv.mkDerivation (finalAttrs: { ] ); # Remove after https://github.com/warmcat/libwebsockets/pull/3567 has been merged or otherwise addressed postPatch = lib.optionalString stdenv.hostPlatform.isStatic '' substituteInPlace "cmake/libwebsockets-config.cmake.in" --replace-fail \ "set(LIBWEBSOCKETS_LIBRARIES websockets websockets_shared)" \ "set(LIBWEBSOCKETS_LIBRARIES websockets)" ''; postInstall = '' # Fix path that will be incorrect on move to "dev" output. substituteInPlace "$out/lib/cmake/libwebsockets/LibwebsocketsTargets-release.cmake" \ Loading Loading
pkgs/by-name/li/libwebsockets/package.nix +7 −0 Original line number Diff line number Diff line Loading @@ -69,6 +69,13 @@ stdenv.mkDerivation (finalAttrs: { ] ); # Remove after https://github.com/warmcat/libwebsockets/pull/3567 has been merged or otherwise addressed postPatch = lib.optionalString stdenv.hostPlatform.isStatic '' substituteInPlace "cmake/libwebsockets-config.cmake.in" --replace-fail \ "set(LIBWEBSOCKETS_LIBRARIES websockets websockets_shared)" \ "set(LIBWEBSOCKETS_LIBRARIES websockets)" ''; postInstall = '' # Fix path that will be incorrect on move to "dev" output. substituteInPlace "$out/lib/cmake/libwebsockets/LibwebsocketsTargets-release.cmake" \ Loading