Commit graph

397 commits

Author SHA1 Message Date
Ben Siraphob 0d95d03c98
Merge pull request #165765 from ConnorBaker/patch-1 2022-04-04 16:56:52 -05:00
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
Connor Baker f50e41bfd6 rPackages: nloptr requires libiconv 2022-03-25 14:36:43 -04:00
Justin Bedo e599d1ce98
rPackages.qqconf: add missing FFTW and pkg-config dependencies 2022-03-14 13:50:38 +11:00
Justin Bedo 95d69d32d9
rPackages.RNifti: use nixpkgs zlib
Build was failing due to incorrect zlib macro expansion.
Patch to use nixpkgs zlib rather than vendored copy.
2022-03-14 13:50:02 +11:00
Justin Bedo 9db967d700
rPackages.chebpol: fix fftw linking 2022-03-03 16:56:20 +11:00
Justin Bedo 145172b2c4
Merge remote-tracking branch 'origin/master' into r-updates 2022-02-09 10:25:07 +11:00
Naïm Favier 59be16611c rPackages: fix evaluation
Removes uses of aliases
2022-02-08 11:29:12 -08:00
Justin Bedo cb13e4e96d
rPackages.nloptr: fix build
Unnecessary to remove bundled source as it is unused during build.
2022-02-07 19:04:40 +11:00
Justin Bedo 16216b2e04
rPackages.geomorph: fix build 2022-01-07 14:17:54 +11:00
Justin Bedo cad7decdd2
rPackages.ragg: fix build 2022-01-07 14:10:44 +11:00
Justin Bedo 13ab11bf60
rPackages: fix whitespace 2021-12-07 19:18:05 +11:00
Justin Bedo 03df8c8b88
rPackages.flowClust: x86 only 2021-12-07 09:23:21 +11:00
Justin Bedo bd49665b8f
rPackages.x13binary: remove double occurance in broken list 2021-12-07 09:23:20 +11:00
Justin Bedo bedc496dde
rPackages.RMariaDB: fix build 2021-12-07 09:23:14 +11:00
Justin Bedo 717914f31f
rPackages.DropletUtils: fix build 2021-12-07 09:20:31 +11:00
Justin Bedo f4c82e0d62
rPackages.textshaping: fix build 2021-12-07 09:20:20 +11:00
Justin Bedo 8541b1178c
rPackages.RandomFieldsUtils: x86 only 2021-12-07 09:04:29 +11:00
Justin Bedo ef010a832e
rPackages.V8: fix build on aarch64-linux 2021-12-05 07:43:22 +11:00
Justin Bedo 35fbf7a709
rPackages.{HiveR,HIBAG}: mark broken 2021-12-02 13:24:05 +11:00
Justin Bedo aa8c9a8183
rPackages.MatchIt: fix build
patch no-longer applicable
2021-12-02 13:23:34 +11:00
Justin Bedo 10feaddf41
rPackages.HilbertVisGUI: fix build 2021-12-02 13:23:16 +11:00
Justin Bedo f223a2b84d
rPackages.RcppBigIntAlgos: fix build 2021-12-02 13:22:50 +11:00
Justin Bedo 2d8306ef9d
rPackages.RcppAlgos: fix build 2021-12-02 13:22:17 +11:00
Justin Bedo 248f05a120
rPackages.PING: fix build 2021-12-02 13:21:55 +11:00
Justin Bedo 08b77f3886
rPackages.RcppMeCab: fix build 2021-12-02 13:21:30 +11:00
Justin Bedo c520de648b
rPackages.Rrdrand: restrict to x86 architecture 2021-12-02 13:20:51 +11:00
Justin Bedo e4a127c171
rPackages: allow overriding of platforms 2021-12-02 13:20:21 +11:00
Justin Bedo 113c1e3574
rPackages.rgl: fix build 2021-11-22 19:17:46 +11:00
Justin Bedo 502b9e7a1d
rPackages.ChIPXpress: disable hydra
Output is too large.
2021-11-21 11:27:34 +11:00
Justin Bedo 69bf9264a8
rPackages.{canceR,RcmdrPlugin_FuzzyClust,RcmdrPlugin_PcaRobust,uHMM}: fix build 2021-11-21 11:27:33 +11:00
Justin Bedo 257f13b85f
rPackages: disable hydra on annotations/experiments 2021-11-21 11:27:33 +11:00
Justin Bedo f5cac4067c
rPackages: add maintainers to individual packages 2021-11-10 07:22:10 +11:00
Justin Bedo e2c1e04a75
rPackages.HDF5Array: remove duplicate zlib dependency 2021-11-07 08:17:21 +11:00
Justin Bedő 7016c7df1c
Merge pull request #144820 from NixOS/r-updates
R,rPackages: R 4.1.1 -> 4.1.2, rPackages BioC 3.13 -> 3.14
2021-11-07 08:12:10 +11:00
coolneng 6220ede045
HDF5Array: fix build 2021-11-05 12:29:05 +01:00
Justin Bedo 30e8835d5c
rPackages.{HierO,tiledb,x13binary,switchr}: mark broken 2021-11-04 21:20:04 +11:00
Justin Bedo 9523357453
rPackages.systemPipeShiny: requires home 2021-11-04 21:19:29 +11:00
Justin Bedo 23b57f2e6a
rPackages.flowWorkspace: fix missing zlib dependency 2021-11-04 21:18:44 +11:00
Justin Bedo 40ff9b267f
rPackages.PoissonBionomial: fix missing dependency 2021-11-04 21:18:21 +11:00
Justin Bedo a71c0e1615
rPackages.RmecabKo: fix missing dependency 2021-11-04 21:18:05 +11:00
Justin Bedo 6611a558d3
rPackages.{trackViewer,themetagenomics,NanoMethViz}: fix missing zlib dependencies 2021-11-04 21:17:35 +11:00
Justin Bedo 71723e1f68
rPackages.rrd: fix build 2021-11-04 21:16:51 +11:00
Justin Bedo 7264b569ac
rPackages.RcppCWB: fix build 2021-11-04 21:16:26 +11:00
Justin Bedo ab946b5113
rPackages.{scModels,multibridge}: add mpfr dependency 2021-11-04 16:39:04 +11:00
Justin Bedo c9ce16ee69
rPackages.valse: mark broken 2021-11-04 16:04:12 +11:00
Justin Bedo cad71004f7
rPackages: fix builds requiring gsl 2021-11-04 16:04:03 +11:00
Justin Bedo 8920d6bce7
rPackages.nullrangesData: mark as broken 2021-11-04 09:30:20 +11:00
Justin Bedo 2b786e821c
rPackages.proj4: fix build 2021-11-04 09:30:11 +11:00
Justin Bedo 74aa5fc758
rPackages.{HDF5Array,FLAMES,ncdfFlow}: fix missing zlib dependency 2021-11-04 09:29:55 +11:00