Commit Graph

21 Commits

Author SHA1 Message Date
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
Congee
596543f23d
rbw: 1.4.1 -> 1.4.3 2022-02-10 14:26:01 -05:00
Sandro Jäckel
13cd798247
rbw: remove extra string concatination 2021-11-11 14:58:15 +01:00
Ivan Kovnatsky
4d6c9e246c
rbw: Install git credential helper without an option 2021-11-03 14:51:42 +02:00
Ivan Kovnatsky
130706b23c
rbw: Add git-credential-helper 2021-10-31 09:16:42 +02:00
Ivan Kovnatsky
eb283a9a3e
rbw: 1.4.0 -> 1.4.1 2021-10-31 08:38:52 +02:00
Ivan Kovnatsky
9d16f56a8b
rbw: 1.3.0 -> 1.4.0 2021-10-28 10:19:17 +03:00
Ivan Kovnatsky
f88653b156
rbw: Apply nixpkgs-fmt 2021-10-28 10:18:19 +03:00
Mario Rodas
0e2e75566e rbw: 1.2.0 -> 1.3.0 2021-07-05 04:20:00 +00:00
Mario Rodas
0b2034e36c rbw: 1.1.2 -> 1.2.0 2021-04-25 04:20:00 +00:00
Mario Rodas
7008b7e015 rbw: remove pinentry substitution
Since rbw≥1.1.0 pinentry is configured trough `rbw config`.
2021-03-11 04:20:00 +00:00
Mario Rodas
b0c667a8dd rbw: 1.0.0 -> 1.1.2 2021-03-08 04:20:00 +00:00
Mario Rodas
4a84ccae9c rbw: 0.5.2 -> 1.0.0 2021-03-05 06:00:00 -05:00
Ben Siraphob
76f93cc731 pkgs/tools: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Mario Rodas
7630e4a1d6 rbw: 0.5.0 -> 0.5.2 2020-12-02 04:20:00 +00:00
Pavol Rusnak
2c931312ce treewide: simplify rev/repo arguments in src
+ use fetchFromGithub where possible
2020-11-01 23:02:24 -08:00
Mario Rodas
e2591b03fb rbw: add marsam to maintainers 2020-10-17 04:20:00 +00:00
Mario Rodas
1f319ea6ad rbw: 0.4.6 -> 0.5.0 2020-10-17 04:20:00 +00:00
Mario Rodas
56f9e7571c rbw: fix build on darwin 2020-10-01 04:20:00 +00:00
luc65r
6917fda396 rbw: 0.4.4 -> 0.4.6 2020-09-09 20:49:52 +02:00
luc65r
3483bf8b7b rbw: init at 0.4.4 2020-07-08 15:10:54 +02:00