xvfb-run: fix missing tools
- it was failing to find awk and mktemp - use `makeBinPath` for better robustness wrt. multiple outputs
This commit is contained in:
parent
40838ad20f
commit
99b91020d6
@ -1,4 +1,5 @@
|
|||||||
{ stdenv, fetchurl, makeWrapper, xkbcomp, xorgserver, getopt, xkeyboard_config, xauth, utillinux, which, fontsConf}:
|
{ stdenv, fetchurl, makeWrapper, xkbcomp, xorgserver, getopt, xkeyboard_config
|
||||||
|
, xauth, utillinux, which, fontsConf, gawk, coreutils }:
|
||||||
let
|
let
|
||||||
xvfb_run = fetchurl {
|
xvfb_run = fetchurl {
|
||||||
url = https://projects.archlinux.org/svntogit/packages.git/plain/trunk/xvfb-run?h=packages/xorg-server;
|
url = https://projects.archlinux.org/svntogit/packages.git/plain/trunk/xvfb-run?h=packages/xorg-server;
|
||||||
@ -17,6 +18,6 @@ stdenv.mkDerivation {
|
|||||||
wrapProgram $out/bin/xvfb-run \
|
wrapProgram $out/bin/xvfb-run \
|
||||||
--set XKB_BINDIR "${xkbcomp}/bin" \
|
--set XKB_BINDIR "${xkbcomp}/bin" \
|
||||||
--set FONTCONFIG_FILE "${fontsConf}" \
|
--set FONTCONFIG_FILE "${fontsConf}" \
|
||||||
--prefix PATH : ${getopt}/bin:${xorgserver.out}/bin:${xauth}/bin:${which}/bin:${utillinux}/bin
|
--prefix PATH : ${stdenv.lib.makeBinPath [ getopt xorgserver xauth which utillinux gawk coreutils ]}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user