Commit Graph

26 Commits

Author SHA1 Message Date
tropf
920bc7a2fd xvfb-run: only set fontconfig if not specified
Nix injects the environment variable FONTCONFIG_PATH to xvfb-run, in
order to provide some miminmal font support to applications via
fontconfig.

This change only sets this environment variable if it is not given
already. This allows the user to inject their own font configuration,
i.e. allows them to make extra fonts available to the executed
application.

If not set, the minimal font configuration will still be provided.
2023-10-15 22:54:04 +03:00
Robert Hensing
34ee0260ec treewide: Add meta.mainProgram
Based on ofborg feedback.
Part of https://github.com/NixOS/nixpkgs/pull/246386
2023-08-01 12:21:05 +02:00
Mario Rodas
527f549d60 xvfb-run: fix pname 2023-01-28 04:20:00 +00:00
Artturin
27d3a6e649 xvfb-run: refactor && add update script 2022-04-05 10:29:33 +03:00
Sandro Jäckel
388a4ef423
treewide: convert all links git.archlinux.org to github.com/archlinux/svntogit-* 2021-07-14 03:35:21 +02:00
Stéphan Kochen
36d0bcdca8 xvfb-run: mark as linux-only 2021-05-19 10:35:45 -07:00
Robert Hensing
8e3c5eb501 treewide: xvfb_run -> xvfb-run 2021-05-08 15:48:41 +02:00
Ben Siraphob
e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
Mario Rodas
cc7fbc4ac1 xvfb_run: enable on darwin 2020-08-16 10:14:46 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Eric Bailey
5cc47dc5df
xvfb_run: fix name
Co-Authored-By: Jan Tojnar <jtojnar@gmail.com>
2019-06-10 11:21:26 -05:00
Eric Bailey
c4be9091b3
xvfb_run: pin xorg-server package
Co-Authored-By: Jan Tojnar <jtojnar@gmail.com>
2019-06-10 05:16:56 -05:00
Eric Bailey
ec0e3acd58
xvfb_run: fix hash 2019-06-09 22:11:57 -05:00
Markus Kowalewski
55c0f5167f
xvfb-run: add license` 2018-09-11 23:51:16 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Tor Hedin Brønner
63ca77bca5 xvfb_run: fix /bin/sh impurity 2018-03-16 20:39:19 +01:00
volth
69ed58d88f xorg.xserver: configure --with-xkb-path= (#21653) 2017-01-18 02:57:15 +03:00
Alexander Ried
e7ded267bd xserver: replace XKB_BINDIR with compile time option
---

Using the configure option relieves us of the patch and passing the path
via the env var in many places. Also the env var may not be inherited
when components like gdm spawn new sessions.
2016-10-03 15:03:02 +02:00
Tuomas Tynkkynen
2258b21e4b treewide: Add lots of platforms to packages with no meta
Build-tested on x86_64 Linux and on Darwin.
2016-08-02 21:17:44 +03:00
Vladimír Čunát
99b91020d6 xvfb-run: fix missing tools
- it was failing to find awk and mktemp
- use `makeBinPath` for better robustness wrt. multiple outputs
2016-04-27 12:31:01 +02:00
Tuomas Tynkkynen
db81e22148 treewide: Mass-replace 'xorgserver}/bin' with correct output
vcunat added one fix in xdummy.
2015-10-28 10:17:12 +01:00
Rob Vermaas
374886444f xvfb-run: add some runtime dependencies to wrapper, set FONTCONFIG_FILE 2012-08-07 03:27:00 +02:00
Rob Vermaas
f676f9e487 Add xvfb-run, a wrapper script for Xvfb. 2012-08-07 03:14:17 +02:00