Commit Graph

389 Commits

Author SHA1 Message Date
github-actions[bot]
6d46d8a9b9
Merge master into staging-next 2021-05-08 18:22:46 +00:00
Robert Hensing
8e3c5eb501 treewide: xvfb_run -> xvfb-run 2021-05-08 15:48:41 +02:00
Andrew Childs
7869d16545 llvmPackages: Multuple outputs for everythting
Also begin to start work on cross compilation, though that will have to
be finished later.

The patches are based on the first version of
https://reviews.llvm.org/D99484. It's very annoying to do the
back-porting but the review has uncovered nothing super major so I'm
fine sticking with what I've got.

Beyond making the outputs work, I also strove to re-sync the packages,
as they have been drifting pointlessly apart for some time.

----

Other misc notes, highly incomplete

- lvm-config-native and llvm-config are put in `dev` because they are
  tools just for build time.

- Clang no longer has an lld dep. That was introduced in
  db29857eb3, but if clang needs help
  finding lld when it is used we should just pass it flags / put in the
  resource dir. Providing it at build time increases critical path
  length for no good reason.

----

A note on `nativeCC`:

`stdenv` takes tools from the previous stage, so:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.stdenv.cc`: `(?0, ?1, x)`

while:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.targetPackages`: `(x, x, ?2)`
3. `pkgsBuildBuild.targetPackages.stdenv.cc`: `(?1, x, x)`
2021-04-30 05:41:00 +00:00
Sandro Jäckel
3453b89f4b
lzma: deprecate alias 2021-04-04 19:49:52 +02:00
Samuel Gräfenstein
819ab46fe7
treewide: pkgconfig -> pkg-config
Fix building with `config.allowAliases = false;`.
2021-03-17 00:00:19 +01:00
Peter Simons
c4d8bd324f r-arrow: update the library to version 3.0.0 to match the version of arrow-cpp
See https://github.com/NixOS/nixpkgs/issues/81761 for further details.
2021-02-16 12:47:21 +01:00
Peter Simons
64b5504939 r-arrow: add missing arrow-cpp dependency to the build
See https://github.com/NixOS/nixpkgs/issues/81761 for further details.
2021-02-16 12:47:21 +01:00
Markus Kowalewski
6dba41fbcb
mpi: use mpi attribute consistently as the default MPI implementations
Use the attribute mpi to provide a system wide default MPI
implementation. The default is openmpi (as before).
This now allows for overriding the MPI implentation by using
the overlay mechanism. Build all packages with mpich instead
of the default openmpi can now be achived like this:
self: super:
 {
   mpi = super.mpich;
 }

All derivations that have been using "mpi ? null" to provide optional
building with MPI have been change in the following way to allow for
optional builds with MPI:
{ ...
, mpi
, useMpi ? false
}
2021-01-23 12:15:13 +01:00
Peter Simons
74c2af4ca7
Merge pull request #110050 from PhDyellow/master_plus_patches_3
r-modules: fix gert build
2021-01-20 09:05:51 +01:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Peter Simons
a15e4b69e7
Merge pull request #93590 from lblasc/r-packages
R: remove qtbase.patch and fix few CRAN packages
2021-01-18 21:22:57 +01:00
Peter Simons
39cb2244ff
Merge pull request #109717 from teto/fix-r-wrapper
rWrapper: use symlinkJoin instead of runCommand
2021-01-18 19:25:59 +01:00
Phil Dyer
a10b00e080 r-modules: fix gert build
gert requires pkgs.libgit2 to build.
2021-01-18 20:49:27 +10:00
Matthieu Coudron
ef156fb8ed rWrapper: use symlinkJoin instead of runCommand
While trying to build a haskell-project I got:

Configuring library for inline-r-0.10.4..
cabal: The pkg-config package 'libR' version ==3.0 || >3.0 is required but it
could not be found.

the rWrapper was only bringing the R binary without its companion
library: this fixes it.
2021-01-18 10:35:35 +01:00
Phil Dyer
364de6ddd2 r-modules: fix clustermq and rzmq build
rzmq uses pkgconfig.

clustermq now incorporates ZMQ libs directly, rather than using
the rzmq package. clustermq now uses zeromq and pkgconfig.

Both packages needed patchShebangs, due to pkgconfig.
2021-01-18 15:30:28 +10:00
Pavol Rusnak
cf2a67fef3
pkgs/development: stdenv.lib -> lib
this takes care of the following folders in pkgs/development:
* arduino
* chez-modules
* go-packages
* guile-modules
* idris-modules
* perl-modules
* r-modules
* ruby-modules
2021-01-17 19:11:59 +01:00
Tikhon Jelvis
4203a4dabc Added suggested macOS fix and fixed data.table package.
`data.table` had a `postInstall` step to rename `data.table.so` to `datatable.so`, but after the package bump the file was already called `datatable.so` and `mv` command would fail.
2021-01-04 18:20:10 -08:00
Tikhon Jelvis
70cd2cb336 r-modules: update cran and bioc packages
The last snapshot was 4 months ago (2020-08-19). I also found that I needed newer definitions when I was trying to fix the R arrow package.

This update required a couple of manual changes:

  1. Removing a few deleted packages from default.nix
  2. Renaming the "assert" package to "r_assert" in generate-r-packages.R because "assert" is a keyword in Nix
2021-01-02 15:03:06 -08:00
Sandro
a3f9335ed2
Merge pull request #101451 from moritzschaefer/fix-r-mirror-path
fix package path for bioc server
2020-11-27 01:58:30 +01:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
Luka Blaskovic
0601f34356 R: remove qtbase.patch and fix few CRAN packages 2020-11-05 06:42:38 +00:00
Moritz Schaefer
dfba5e1c9b Fixes missing configure script 2020-10-23 14:40:18 +02:00
Moritz Schaefer
2eda0fbc5b fix package path for bioc server (http://mirrors.ustc.edu.cn/bioc/3.11/bioc/src/contrib/Archive/) 2020-10-23 11:46:53 +02:00
Justin Bedo
6bec22ee40
r-modules: bioc and cran update 2020-08-20 16:46:22 +10:00
Michele Guerini Rocco
bb395a9a47
Merge pull request #91288 from rnhmjoj/zeromq
Remove old zeromq 3.x packages
2020-07-26 17:37:10 +02:00
cfhammill
3c503aa733 rpackages.RcppParallel: Patch shebang
Fixes hydra build error
2020-07-13 14:21:34 -04:00
rnhmjoj
c7b3e54dff
rzmq: use default zeromq 2020-06-22 15:37:36 +02:00
Matt Wittmann
5b3f0c4f4a
r-statmod: Add libiconv to buildInputs 2020-05-14 20:00:58 -07:00
Peter Simons
ec5d1a79d1
Merge pull request #82504 from mcwitt/fix/r-mvtnorm
r-mvtnorm: add libiconv to buildInputs
2020-05-11 20:38:42 +02:00
Alex Branham
cb1a13ad98
R: Update CRAN and bioconductor packages 2020-04-26 17:16:34 -04:00
Matthew Bauer
1c8aba8334 treewide: use blas and lapack
This makes packages use lapack and blas, which can wrap different
BLAS/LAPACK implementations.

treewide: cleanup from blas/lapack changes

A few issues in the original treewide:

- can’t assume blas64 is a bool
- unused commented code
2020-04-17 16:24:09 -05:00
Alex Branham
f5afc20d06
R: Update CRAN and bioconductor packages 2020-04-08 10:01:19 -04:00
Matt Wittmann
dcda9df724
r-mvtnorm: add libiconv to buildInputs
Fixes build failure with `ld: library not found for -liconv`
2020-03-13 10:33:27 -07:00
Edward Tjörnhammar
d5b5ff5ae5
rPackages.ggbio: patch away spelling mistake 2020-02-26 09:45:23 +01:00
tricktron
e97ac66410
r-modules/generic-builder: Add missing iconv library to fix build on darwin (#78965)
Add missing iconv dependency to fix builds of several r-modules on darwin.
2020-02-07 10:50:43 +01:00
Maximilian Bosch
3c525b702a
r-packages: update
This update was primarily done to update rPackages.V8 to 3.0 which
doesn't depend on an ancient version of v8 anymore.

Also dropped the `-lv8_libplatform` linker flag. It seems as this now
part of `v8.so` as `v8_libplatform.so` doesn't exist anymore on recent
v8 versions in nixpkgs, but the headers are still there and there aren't
any "undefined reference to" errors while linking.
2020-01-28 20:11:00 +01:00
Alex Branham
e206c37550
R: Update CRAN and bioconductor packages 2020-01-23 21:22:55 -05:00
Linus Heckemann
1e840fc421 rgl: fix build
It seems that the dev output of libGLU needs to be included explicitly
for this to work. I've also moved the libraries from nativeBuildInputs
to buildInputs to be more semantically correct (and maybe support
cross compilation, not tested though).
2020-01-01 20:37:38 +01:00
Alex Branham
b9a558aaa4 R: Update CRAN and bioconductor packages
Closes https://github.com/NixOS/nixpkgs/pull/75010.
2019-12-16 18:56:49 +01:00
Peter Simons
9be0d6d4ae
Merge pull request #75021 from mnacamura/r-websocket
rPackages.websocket: fix build
2019-12-10 11:00:16 +01:00
Mitsuhiro Nakamura
350d358dea rPackages.websocket: fix build 2019-12-05 13:00:19 +09:00
adisbladis
c9d8624ccd
treewide: Get rid of libGLU_combined 2019-11-18 20:10:43 +00:00
Nick Partridge
4d54c9e368 rPackages.glmnet: Add missing dependency
Fixes the error:
    ld: library not found for -liconv
2019-11-01 08:14:25 +10:00
Nick Partridge
f21ac0e4dc rPackages.ModelMetrics: fix darwin build
This fixes the error:

	auc_.cpp:2:10: fatal error: 'omp.h' file not found
	#include <omp.h>
2019-10-31 10:10:55 +10:00
Peter Simons
7deb982d6a r-systemfonts: fix shebang of configure script
Closes https://github.com/NixOS/nixpkgs/pull/70813.
2019-10-10 20:50:49 +02:00
Dylan Simon
13085f13aa r-systemfonts: fix package dependencies 2019-10-10 20:50:49 +02:00
Peter Simons
ca05a50d83 r-data.table: add missing zlib dependency to fix the build 2019-10-06 14:38:07 +02:00
Alex Branham
24f0ef530e R: Update CRAN and bioconductor packages 2019-10-06 14:38:07 +02:00
Vladimír Čunát
eab41878ac
Merge branch 'master' into staging-next 2019-09-24 08:14:34 +02:00
Jörg Thalheim
c89df5544e
Merge pull request #69333 from mnacamura/r-ucminf
r-ucminf: fix build on Darwin
2019-09-24 03:36:25 +01:00