summary refs log tree commit diff
path: root/pkgs/development/r-modules/test-evaluation.nix
blob: 2ca0d42c6db4f509c9557c50f11b20fc4756e221 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Run
#
#   nix-build test-evaluation.nix --dry-run
#
# to test whether the R package set evaluates properly.

let

  config = {
    allowBroken = true;
    allowUnfree = true;
  };

  inherit (import ../../.. { inherit config; }) pkgs;

  rWrapper = pkgs.rWrapper.override {
    packages = pkgs.lib.filter pkgs.lib.isDerivation (pkgs.lib.attrValues pkgs.rPackages);
  };

in
  rWrapper