libsecret: fix build on darwin
Remove unnecessary xvfb-run, accidentally re-introduced in https://github.com/NixOS/nixpkgs/commit/a42ca0678b548d47b1bda46259c5b02b5d54c019 And only run tests on Linux, since gjs dependency is not supported on Darwin.
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user