mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 08:31:59 +00:00
22 lines
387 B
Nix
22 lines
387 B
Nix
|
# 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
|