diff --git a/pkgs/applications/networking/browsers/firefox/wrapper.nix b/pkgs/applications/networking/browsers/firefox/wrapper.nix index 56314b66de49..f34bfdb6fc0f 100644 --- a/pkgs/applications/networking/browsers/firefox/wrapper.nix +++ b/pkgs/applications/networking/browsers/firefox/wrapper.nix @@ -19,7 +19,6 @@ , sndio , libjack2 , speechd-minimal -, removeReferencesTo }: ## configurability of the wrapper itself @@ -242,7 +241,7 @@ let }; })); - nativeBuildInputs = [ makeWrapper lndir jq removeReferencesTo ]; + nativeBuildInputs = [ makeWrapper lndir jq ]; buildInputs = [ browser.gtk3 ]; @@ -417,9 +416,6 @@ let passthru = { unwrapped = browser; }; disallowedRequisites = [ stdenv.cc ]; - postInstall = '' - find "$out" -type f -exec remove-references-to -t ${stdenv.cc} '{}' + - ''; meta = browser.meta // { inherit (browser.meta) description; mainProgram = launcherName; diff --git a/pkgs/by-name/li/libwebsockets/package.nix b/pkgs/by-name/li/libwebsockets/package.nix index 8cdcd9d19560..af028888b23b 100644 --- a/pkgs/by-name/li/libwebsockets/package.nix +++ b/pkgs/by-name/li/libwebsockets/package.nix @@ -5,7 +5,6 @@ , openssl , zlib , libuv -, removeReferencesTo # External poll is required for e.g. mosquitto, but discouraged by the maintainer. , withExternalPoll ? false }: @@ -25,7 +24,7 @@ stdenv.mkDerivation rec { buildInputs = [ openssl zlib libuv ]; - nativeBuildInputs = [ cmake removeReferencesTo ]; + nativeBuildInputs = [ cmake ]; cmakeFlags = [ "-DLWS_WITH_PLUGINS=ON" @@ -43,7 +42,6 @@ stdenv.mkDerivation rec { ); postInstall = '' - 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" diff --git a/pkgs/by-name/ne/neovim-unwrapped/package.nix b/pkgs/by-name/ne/neovim-unwrapped/package.nix index fb185d85f646..0818c6fb9d85 100644 --- a/pkgs/by-name/ne/neovim-unwrapped/package.nix +++ b/pkgs/by-name/ne/neovim-unwrapped/package.nix @@ -2,7 +2,6 @@ lib, stdenv, fetchFromGitHub, - removeReferencesTo, cmake, gettext, msgpack-c, @@ -163,7 +162,6 @@ stdenv.mkDerivation ( cmake gettext pkg-config - removeReferencesTo ]; # extra programs test via `make functionaltest` @@ -189,9 +187,6 @@ stdenv.mkDerivation ( sed -i src/nvim/po/CMakeLists.txt \ -e "s|\$