Remove ca-derivations removeReferencesTo (#359318)

authored by John Ericson and committed by GitHub f38a03f4 00632ab3

+2 -13
+1 -5
pkgs/applications/networking/browsers/firefox/wrapper.nix
··· 19 19 , sndio 20 20 , libjack2 21 21 , speechd-minimal 22 - , removeReferencesTo 23 22 }: 24 23 25 24 ## configurability of the wrapper itself ··· 242 241 }; 243 242 })); 244 243 245 - nativeBuildInputs = [ makeWrapper lndir jq removeReferencesTo ]; 244 + nativeBuildInputs = [ makeWrapper lndir jq ]; 246 245 buildInputs = [ browser.gtk3 ]; 247 246 248 247 ··· 417 416 passthru = { unwrapped = browser; }; 418 417 419 418 disallowedRequisites = [ stdenv.cc ]; 420 - postInstall = '' 421 - find "$out" -type f -exec remove-references-to -t ${stdenv.cc} '{}' + 422 - ''; 423 419 meta = browser.meta // { 424 420 inherit (browser.meta) description; 425 421 mainProgram = launcherName;
+1 -3
pkgs/by-name/li/libwebsockets/package.nix
··· 5 5 , openssl 6 6 , zlib 7 7 , libuv 8 - , removeReferencesTo 9 8 # External poll is required for e.g. mosquitto, but discouraged by the maintainer. 10 9 , withExternalPoll ? false 11 10 }: ··· 25 24 26 25 buildInputs = [ openssl zlib libuv ]; 27 26 28 - nativeBuildInputs = [ cmake removeReferencesTo ]; 27 + nativeBuildInputs = [ cmake ]; 29 28 30 29 cmakeFlags = [ 31 30 "-DLWS_WITH_PLUGINS=ON" ··· 43 42 ); 44 43 45 44 postInstall = '' 46 - find "$out" -type f -exec remove-references-to -t ${stdenv.cc.cc} '{}' + 47 45 # Fix path that will be incorrect on move to "dev" output. 48 46 substituteInPlace "$out/lib/cmake/libwebsockets/LibwebsocketsTargets-release.cmake" \ 49 47 --replace "\''${_IMPORT_PREFIX}" "$out"
-5
pkgs/by-name/ne/neovim-unwrapped/package.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchFromGitHub, 5 - removeReferencesTo, 6 5 cmake, 7 6 gettext, 8 7 msgpack-c, ··· 163 162 cmake 164 163 gettext 165 164 pkg-config 166 - removeReferencesTo 167 165 ]; 168 166 169 167 # extra programs test via `make functionaltest` ··· 188 186 -e "s|\".*/bin/nvim|\${stdenv.hostPlatform.emulator buildPackages} &|g" 189 187 sed -i src/nvim/po/CMakeLists.txt \ 190 188 -e "s|\$<TARGET_FILE:nvim|\${stdenv.hostPlatform.emulator buildPackages} &|g" 191 - ''; 192 - postInstall = '' 193 - find "$out" -type f -exec remove-references-to -t ${stdenv.cc} '{}' + 194 189 ''; 195 190 # check that the above patching actually works 196 191 outputChecks =