diff --git a/pkgs/development/libraries/libwebsockets/default.nix b/pkgs/development/libraries/libwebsockets/default.nix index b388e8c93a87..8cdcd9d19560 100644 --- a/pkgs/development/libraries/libwebsockets/default.nix +++ b/pkgs/development/libraries/libwebsockets/default.nix @@ -43,7 +43,7 @@ stdenv.mkDerivation rec { ); postInstall = '' - find "$out" -type f -exec remove-references-to -t ${stdenv.cc} '{}' + + find "$out" -type f -exec remove-references-to -t ${stdenv.cc.cc} '{}' + # Fix path that will be incorrect on move to "dev" output. substituteInPlace "$out/lib/cmake/libwebsockets/LibwebsocketsTargets-release.cmake" \ --replace "\''${_IMPORT_PREFIX}" "$out"