summary refs log blame commit diff
path: root/pkgs/development/r-modules/test-evaluation.nix
blob: 2ca0d42c6db4f509c9557c50f11b20fc4756e221 (plain) (tree)




















                                                                                          
# 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