3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/blockchains
Alyssa Ross fd78240ac8
treewide: use lib.getLib for OpenSSL libraries
At some point, I'd like to make another attempt at
71f1f4884b ("openssl: stop static binaries referencing libs"), which
was reverted in 195c7da07d.  One problem with my previous attempt is
that I moved OpenSSL's libraries to a lib output, but many dependent
packages were hardcoding the out output as the location of the
libraries.  This patch fixes every such case I could find in the tree.
It won't have any effect immediately, but will mean these packages
will automatically use an OpenSSL lib output if it is reintroduced in
future.

This patch should cause very few rebuilds, because it shouldn't make
any change at all to most packages I'm touching.  The few rebuilds
that are introduced come from when I've changed a package builder not
to use variable names like openssl.out in scripts / substitution
patterns, which would be confusing since they don't hardcode the
output any more.

I started by making the following global replacements:

    ${pkgs.openssl.out}/lib -> ${lib.getLib pkgs.openssl}/lib
    ${openssl.out}/lib -> ${lib.getLib openssl}/lib

Then I removed the ".out" suffix when part of the argument to
lib.makeLibraryPath, since that function uses lib.getLib internally.

Then I fixed up cases where openssl was part of the -L flag to the
compiler/linker, since that unambigously is referring to libraries.

Then I manually investigated and fixed the following packages:

 - pycurl
 - citrix-workspace
 - ppp
 - wraith
 - unbound
 - gambit
 - acl2

I'm reasonably confindent in my fixes for all of them.

For acl2, since the openssl library paths are manually provided above
anyway, I don't think openssl is required separately as a build input
at all.  Removing it doesn't make a difference to the output size, the
file list, or the closure.

I've tested evaluation with the OfBorg meta checks, to protect against
introducing evaluation failures.
2022-03-30 15:10:00 +00:00
..
aeon aeon: 0.13.0.0 -> 0.14.1.0 2022-02-19 21:38:42 +01:00
alfis alfis: 0.6.10 -> 0.6.11 2022-03-19 16:55:46 -04:00
besu besu: init at 21.10.8 2022-01-26 15:46:36 +01:00
bisq-desktop bisq-desktop: 1.8.2 -> 1.8.4 2022-03-11 17:02:41 -05:00
bitcoin bitcoin: update homepage 2022-01-07 16:45:51 +07:00
bitcoin-abc
bitcoin-classic bitcoin-classic.src: fix sha 2022-01-04 22:13:12 -08:00
bitcoin-gold
bitcoin-knots
bitcoin-unlimited treewide: rename name to pname&version 2022-03-23 22:34:54 +01:00
btcdeb
btcpayserver btcpayserver: 1.4.6 -> 1.4.7 2022-03-02 13:25:42 +01:00
cgminer
charge-lnd
chia chia: 1.3.0 -> 1.3.1 2022-03-17 09:36:52 +01:00
chia-plotter python,pythonPackages: make aliases 2022-01-16 18:39:59 +00:00
clightning clightning: add sigining for darwin 2022-03-04 15:56:48 +01:00
crypto-org-wallet treewide: switch all desktop file generators to new API 2022-02-25 13:40:38 -08:00
cryptop
dashpay dashpay.src: fix sha256 2022-01-04 21:41:37 -08:00
dcrd
dcrwallet
digibyte
dogecoin treewide: rename name to pname&version 2022-03-23 22:34:54 +01:00
eclair
electrs electrs: 0.9.5 -> 0.9.6 2022-03-09 12:07:45 +00:00
elements elements: 0.21.0.1 -> 0.21.0.2 2022-03-04 05:49:48 +00:00
ergo ergo: 4.0.20.1 -> 4.0.23 2022-02-12 20:09:00 -08:00
ethabi
exodus exodus: 22.2.11 -> 22.2.25 2022-03-03 13:52:02 +00:00
faraday
fulcrum fulcrum: init at 1.6.0 2022-02-02 12:42:21 +01:00
go-ethereum go-ethereum: 1.10.15 -> 1.10.16 2022-02-16 09:23:12 +00:00
groestlcoin Groestlcoin: init at 22.0 2022-01-23 22:38:59 +01:00
ledger-live-desktop ledger-live-desktop: 2.38.3 -> 2.39.2 2022-03-08 20:33:15 +00:00
lightning-loop lightning-loop: 0.16.0-beta -> 0.17.0-beta 2022-02-08 14:30:41 +01:00
lightning-pool lightning-pool: 0.5.1 -> 0.5.3 2021-12-30 14:07:11 +00:00
lightwalletd lightwalletd: 0.4.8 -> 0.4.9 2021-12-30 19:39:39 +00:00
litecoin treewide: rename name to pname&version 2022-03-23 22:34:54 +01:00
lnd lnd: 0.14.1-beta -> 0.14.2-beta 2022-02-04 17:41:24 +01:00
lndconnect
lndmanage
masari
miniscript
monero-cli
monero-gui treewide: switch all desktop file generators to new API 2022-02-25 13:40:38 -08:00
mycrypto treewide: switch all desktop file generators to new API 2022-02-25 13:40:38 -08:00
namecoin treewide: rename name to pname&version 2022-03-23 22:34:54 +01:00
nano-wallet
nbxplorer gitUpdater: init 2022-02-21 13:01:49 -03:00
openethereum
oxen oxen: mark as broken on darwin 2022-02-19 20:36:29 -05:00
particl-core
pivx removing maintainer wucke13 from some packages 2022-02-21 22:58:18 +01:00
polkadot polkadot: 0.9.17 -> 0.9.18 2022-03-21 18:19:00 +00:00
quorum
snarkos treewide: use lib.getLib for OpenSSL libraries 2022-03-30 15:10:00 +00:00
solana treewide: use lib.getLib for OpenSSL libraries 2022-03-30 15:10:00 +00:00
stellar-core
sumokoin
tessera
trezor-suite trezor-suite: 22.1.1 -> 22.3.2 2022-03-19 23:11:02 +01:00
vertcoin
wasabibackend wasabibackend: use postFixup instead of postInstall 2022-01-12 01:56:27 +01:00
wasabiwallet treewide: switch all desktop file generators to new API 2022-02-25 13:40:38 -08:00
wownero wownero: use fetchFromGitea 2022-01-10 23:30:35 +01:00
zcash zcash: 4.5.1 -> 4.6.0-1 2022-01-15 01:55:32 -05:00
erigon.nix erigon: 2022.02.03 -> 2022.02.04 2022-02-28 04:51:48 +00:00