3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers
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
..
4th 4th: 3.62.5 -> 3.64.0 2022-03-15 17:01:21 -03:00
abcl
acme
adoptopenjdk-bin treewide: switch `builtins.fromJSON(builtins.readFile ./file.json)` to lib.importJSON ./file.json 2021-11-03 14:43:52 +01:00
adoptopenjdk-icedtea-web adoptopenjdk-icedtea-web: 1.8.7 -> 1.8.8 2022-01-02 16:48:11 +01:00
aldor aldor: switch to fetchFromGitHub 2022-03-16 23:23:08 +01:00
algol68g
aliceml
apache-flex-sdk treewide: use mirror URLs where available 2021-11-06 01:56:39 +00:00
arachne-pnr
armips
as31
asl asl: fix the expression 2021-11-03 13:33:56 -03:00
aspectj aspectj: 1.9.6 -> 1.9.7 2022-01-02 23:43:06 +01:00
atasm
ats
ats2 ats2: disable parallel build 2022-01-29 11:36:34 +01:00
avra avra: 1.3.0 -> 1.4.2 2022-01-20 19:25:45 +01:00
bigloo bigloo: explicitly depend on unistring on darwin (#140521) 2021-10-04 23:00:39 -04:00
binaryen binaryen: 101 -> 102 2021-10-29 03:20:50 +00:00
bluespec whitespace 2021-08-31 16:53:58 -05:00
bs-platform treewide: rename name to pname&version 2022-03-08 13:24:25 +01:00
bupc
c3c
cakelisp
carp carp: 0.5.3 -> 0.5.4 2021-12-30 22:17:53 -08:00
cc65
ccl
chez chez: 9.5.4 -> 9.5.6 2021-12-11 12:30:40 +00:00
chez-racket chez-racket: Fix signing on Darwin (Thanks @Steven0351!) 2021-12-23 21:14:28 +00:00
chicken chickenPackages_4.egg2nix: switch to fetchFromGitHub 2022-01-08 15:38:10 +01:00
ciao ciao: mark as broken on darwin 2021-12-18 11:44:13 -05:00
clasp
clean
closure closurecompiler: 20211107 -> 20220202 2022-02-11 00:54:37 +00:00
cmdstan
cmucl
colm
computecpp
cone
copper copper: 4.4 -> 4.6 2021-12-12 14:13:58 +01:00
coreclr
crystal crystal: support aarch64-linux 2022-03-16 11:05:37 -07:00
crystal2nix
cudatoolkit cudatoolkit_11: cudatoolkit_11_4 → cudatoolkit_11_6 2022-03-20 14:56:20 -06:00
dale
dasm
dev86 dev86: explicitly disable build parallelism due to missing depends 2021-11-13 21:41:51 +00:00
dictu dictu: 0.23.0 -> 0.24.0 2022-03-07 04:08:14 +00:00
dmd Merge pull request #135905 from dukc/secondDmd2097 2021-09-13 11:36:55 -05:00
dotnet dotnetCorePackages.*_6*: 6.0.0 -> 6.0.3 2022-03-18 07:24:52 +01:00
dtc dtc: 1.6.0 -> 1.6.1 2021-08-23 12:45:14 +02:00
ecl ecl: refactor 2021-12-21 12:08:34 +01:00
edk2 edk2: 202108 -> 202202 2022-03-09 11:14:57 +00:00
eli
elm elmPackages.elm: explicitely use ghc8107 2022-02-22 12:58:50 +01:00
emscripten emscripten: 2.0.10 -> 2.0.27 2021-08-21 10:10:03 +02:00
eql treewide: replace '-git' packages with 'unstable-' in version (#145396) 2021-11-10 16:21:47 -05:00
factor-lang factor98: add longDescription 2021-11-26 10:22:03 -03:00
fasm fasm: 1.73.29 -> 1.73.30 2022-03-08 10:31:59 +00:00
fasmg
fennel fennel: 0.10.0 -> 1.0.0 2021-11-16 02:35:49 +01:00
flasm
flutter flutter: 2.10.0 -> 2.10.1 2022-02-23 15:10:58 +01:00
flux
fpc lazarus-qt: disable parallel build 2022-01-29 11:40:04 +01:00
fsharp fsharp: switch to fetchFromGitHub 2022-01-08 15:38:10 +01:00
fstar ocamlPackages tree-wide: Move buildInputs that should be nativeBuildInputs 2022-02-24 14:39:27 +01:00
gambit treewide: use lib.getLib for OpenSSL libraries 2022-03-30 15:10:00 +00:00
gavrasm gavrasm: 4.5 -> 5.1 2022-01-20 19:24:13 +01:00
gcc pkgsStatic.gcc: fix build 2022-03-22 10:52:36 +00:00
gcc-arm-embedded gcc-arm-embedded-{6,7,8}: enable on aarch64-darwin 2021-12-05 23:35:52 +01:00
gcl
gerbil gerbil: disable stackprotector on aarch64-darwin for now 2021-12-22 11:10:08 -05:00
gforth gforth: use pname 2022-02-07 21:50:20 -05:00
ghc haskell.compiler.ghc{902,921}: Switch GHC 9.0/9.2 to bignum-native 2022-01-31 19:12:51 +01:00
ghcjs treewide: replace http://github.com with https://github.com 2022-01-07 09:58:36 +07:00
ghdl gnat: 9 -> 11 2021-11-15 22:41:56 +01:00
gleam gleam: 0.19.0 -> 0.20.1 2022-03-09 08:48:43 -05:00
glslang glslang: fix SPIRVTargets.cmake 2022-01-24 01:14:43 +01:00
gnatboot treewide: quote urls according to rfc 0045 (#145260) 2021-11-10 11:37:56 +01:00
gnu-cobol
gnu-smalltalk treewide: gnome2.gtk -> gtk2 2021-03-17 00:00:16 +01:00
go go: add mips64 support 2022-03-18 10:02:58 +10:00
go-jsonnet go-jsonnet: add jsonnet-deps and jsonnet-lint 2022-02-24 10:59:02 +00:00
gprolog Drop myself from meta.maintainers for most packages. 2021-10-14 11:01:27 +02:00
graalvm graalvm11-ce: 21.3.0 -> 22.0.0.2 2022-01-26 22:59:44 -03:00
gwt pkgs/development: rename name to pname&version 2021-11-30 21:32:28 +01:00
halide
haxe haxe: use OCaml 4.12 for version 4.2 2022-03-04 16:09:07 +01:00
hhvm
hip hip: use python3 2022-01-30 04:53:33 +00:00
hop
idris2 Idris2: Refactor default.nix 2022-01-10 22:01:42 +01:00
inform6
inform7
inklecate inklecate: update dependencies 2022-03-18 07:24:53 +01:00
intel-graphics-compiler intel-graphics-compiler: mark as broken on darwin 2022-01-17 07:28:37 -05:00
intercal
ios-cross-compile treewide: rename name to pname&version 2022-03-08 13:24:25 +01:00
ispc
jasmin
javacard-devkit
jetbrains-jdk jetbrains: 11_0_11-b1504.13 -> 11_0_13-b1751.25 2022-02-08 11:57:32 -08:00
jrsonnet jrsonnet: mark as broken on darwin 2022-01-21 07:08:20 -05:00
jsonnet jsonnet: 0.17.0 -> 0.18.0 2022-01-06 17:02:01 +01:00
julia julia_17-bin: 1.7.1 -> 1.7.2 2022-02-08 07:20:51 +01:00
juniper
jwasm
kaitai-struct-compiler katai-struct-compiler: init at 0.9 2021-12-07 16:31:22 +01:00
koka koka: 2.3.2 -> 2.3.6 2021-12-13 15:08:05 +01:00
kotlin kotlin{-native}: 1.6.0 → 1.6.10 2021-12-14 16:04:35 +05:30
ldc ldc: add aarch64-linux 2021-12-14 10:22:08 -08:00
ligo ocamlPackages.ppxlib: 0.23.0 -> 0.24.0 (#154901) 2022-01-23 21:24:16 +01:00
lingua-franca lingua-franca: 0.1.0 -> 0.1.1 2022-01-21 21:14:41 +01:00
llvm openmp: disable tests due to failures 2022-03-24 18:58:38 -05:00
lobster lobster: unstable-2021-06-18 -> 2021.3 2021-10-20 16:12:13 +02:00
manticore
marst
matter-compiler
mcpp
mercury
meta-environment/meta-build-env
mezzo ocamlPackages.pprint: 20171003 → 20220103 2022-02-15 07:25:24 +01:00
microscheme microscheme: fix meta.homepage 2021-12-31 11:17:07 -08:00
mint mint: 0.14.0 -> 0.15.1 2021-12-25 17:58:07 +00:00
miranda
mit-scheme treewide: rename name to pname&version 2022-03-08 13:24:25 +01:00
mkcl
mlkit
mlton mlton: disable parallel build 2022-02-02 12:21:29 +01:00
mono
mosml mosml: switch to fetchFromGitHub 2022-01-08 15:38:10 +01:00
mozart mozart2: pin boost to most recent supported version (#151576) 2021-12-21 11:43:24 -05:00
mruby
mrustc
muon
myrddin myrddin: mark as broken on darwin 2022-02-16 15:06:20 -05:00
nasm
neko
nextpnr nextpnr: 2021.15.21 -> 2022.01.03, with apycula update 2022-01-06 09:19:29 -06:00
nim nim: switch to fetchFromGitHub 2022-03-16 00:45:56 +01:00
nvidia-cg-toolkit
obliv-c
ocaml ocaml-ng.ocamlPackages_4_14: 4.14.0-β1 → 4.14.0-rc2 2022-03-23 11:25:01 +01:00
odin
opa
open-watcom open-watcom-v2-unwrapped: unstable-2022-02-22 -> unstable-2022-03-14 2022-03-14 06:29:38 +00:00
opendylan opendylan: switch to fetchFromGitHub 2022-03-16 00:45:55 +01:00
openjdk openjdk8: 8u272-b10 -> 8u322-ga 2022-03-24 14:34:32 +01:00
openspin
ophis
oraclejdk oraclejdk*: remove appendToName to have a consistent package name for repology 2022-02-28 15:24:31 +01:00
orc orc: disable a benchmark test on x86_64-darwin 2022-01-22 08:26:56 +01:00
osl treewide: rename name to pname&version 2022-03-08 13:24:25 +01:00
owl-lisp
paco
pakcs haskell: switch from haskell.lib to haskell.lib.compose 2021-11-07 20:18:45 +08:00
passerine passerine: 0.9.2 → 0.9.3 2022-02-20 00:50:50 +01:00
pforth
picat
polyml polyml: 5.8.2 -> 5.9 2021-12-08 11:26:15 +00:00
ponyc pony-corral: 0.5.3 -> 0.5.4 2021-10-08 17:11:29 -04:00
purescript purescript: 0.14.6 -> 0.14.7 2022-02-27 13:34:27 +00:00
qbe qbe: unstable-2022-03-11 -> unstable-2022-03-17 2022-03-17 16:32:04 +00:00
rasm
reason reason: 3.7.0 → 3.8.0 2022-03-11 16:11:08 +01:00
rgbds rgbds: 0.5.1 -> 0.5.2 2022-01-03 11:28:52 +01:00
roslyn roslyn: rename name to pname 2022-03-01 12:24:28 +01:00
rust Revert "rust: run update-hashes.sh to update hashes" 2022-03-20 07:30:11 +10:00
sagittarius-scheme sagittarius-scheme: 0.9.7 -> 0.9.8 2021-10-29 02:04:30 +00:00
sbcl treewide: remove all updateWalker/downloadURLRegexp 2022-01-26 21:46:08 +01:00
scala treewide: rename name to pname&version 2022-03-08 13:24:25 +01:00
scala-runners treewide: fix /bin/coursier references 2021-10-28 19:48:29 -05:00
scryer-prolog scryer-prolog: update dependency lexical-core to fix build 2021-10-23 21:32:11 +02:00
sdcc sdcc: 4.1.0 -> 4.2.0 2022-03-15 12:27:21 +01:00
seexpr seexpr: fmt 2021-11-16 23:39:27 +01:00
serpent
shaderc libtool: add meta.platforms and make cctools Darwin only 2021-11-22 09:42:23 -08:00
sjasmplus
smlnj
solc
souffle souffle: 2.0.2 -> 2.2 (#164103) 2022-03-23 06:30:06 +01:00
spasm-ng
spirv-llvm-translator spirv-llvm-translator: 8.0.1-2 -> 2021-06-13 2021-10-23 22:24:06 +02:00
squeak squeak: fix a src URL, transition meta to OpenSmalltalk 2022-03-22 18:19:07 +00:00
stalin
swi-prolog
swift treewide: rename name to pname&version 2022-03-08 13:24:25 +01:00
terra
teyjus teyjus: switch to fetchFromGitHub 2022-01-08 15:38:10 +01:00
tinycc tinycc: unstable-2021-10-09 -> 0.9.27+date=2022-01-11 2022-01-14 00:15:29 -03:00
tinygo
tvm tvm: 0.7.0 -> 0.8.0 2022-02-13 11:13:22 +00:00
uasm uasm: init at 2.53 2022-01-29 23:31:01 -03:00
unison unison-ucm: add aarch64-darwin support 2022-01-29 07:04:58 -05:00
urn treewide: rename name to pname&version 2022-03-08 13:24:25 +01:00
urweb treewide: use lib.getLib for OpenSSL libraries 2022-03-30 15:10:00 +00:00
vala Merge staging-next into staging 2022-02-22 12:02:54 +00:00
vlang vlang: weekly.2021.25 -> 2021.51 2021-12-21 15:43:10 -05:00
vyper vyper: remove unused postPatch and add setuptools-scm 2022-01-14 17:05:10 +07:00
wcc
wla-dx
x11basic
xa xa: 2.3.11 -> 2.3.12 2022-01-04 01:57:33 -03:00
yap Drop myself from meta.maintainers for most packages. 2021-10-14 11:01:27 +02:00
yasm yasm: fix cross build 2021-12-05 10:47:44 +01:00
yosys yosys: 0.12+54 -> 0.15 2022-03-08 18:28:13 +01:00
z88dk
zasm
zig zig: 0.9.0 -> 0.9.1 2022-02-16 21:29:52 -03:00
zulu zulu: 11.50.19 -> 11.52.13 2022-01-13 17:38:30 +08:00
zz zz: unstable-2021-03-07 -> unstable-2021-05-04 2021-10-12 12:58:26 +02:00