rPackages: remove Xvfb where it's not needed
This commit is contained in:
parent
621d1ab444
commit
0f9c0348af
@ -3,9 +3,9 @@
|
|||||||
{ R, pkgs, overrides }:
|
{ R, pkgs, overrides }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (pkgs) fetchurl stdenv lib xvfb_run utillinux;
|
inherit (pkgs) fetchurl stdenv lib;
|
||||||
|
|
||||||
buildRPackage = import ./generic-builder.nix { inherit R xvfb_run utillinux ; };
|
buildRPackage = pkgs.callPackage ./generic-builder.nix { inherit R; };
|
||||||
|
|
||||||
# Package template
|
# Package template
|
||||||
#
|
#
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
{ R, xvfb_run, utillinux }:
|
{ stdenv, R, xvfb_run, utillinux }:
|
||||||
|
|
||||||
{ name, buildInputs ? [], ... } @ attrs:
|
{ name, buildInputs ? [], ... } @ attrs:
|
||||||
|
|
||||||
R.stdenv.mkDerivation ({
|
stdenv.mkDerivation ({
|
||||||
buildInputs = buildInputs ++ [R xvfb_run utillinux];
|
buildInputs = buildInputs ++ [R] ++
|
||||||
|
stdenv.lib.optionals attrs.requireX [utillinux xvfb_run];
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
runHook preConfigure
|
runHook preConfigure
|
||||||
|
Loading…
Reference in New Issue
Block a user