mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
libsecret: fix build on darwin
Remove unnecessary xvfb-run, accidentally re-introduced in
a42ca0678b
And only run tests on Linux, since gjs dependency is not supported on Darwin.
This commit is contained in:
parent
6e2cc949bc
commit
e15ae73b7a
@ -18,7 +18,6 @@
|
||||
, gjs
|
||||
, libintl
|
||||
, dbus
|
||||
, xvfb-run
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -59,16 +58,14 @@ stdenv.mkDerivation rec {
|
||||
python3
|
||||
python3.pkgs.dbus-python
|
||||
python3.pkgs.pygobject3
|
||||
xvfb-run
|
||||
dbus
|
||||
gjs
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
doCheck = stdenv.isLinux;
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
patchShebangs ./tool/test-*.sh
|
||||
'';
|
||||
|
||||
preCheck = ''
|
||||
|
Loading…
Reference in New Issue
Block a user