From e15ae73b7abc81133624644953fbfda9b5382065 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Wed, 6 Apr 2022 03:34:36 +0200 Subject: [PATCH] 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. --- pkgs/development/libraries/libsecret/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/libraries/libsecret/default.nix b/pkgs/development/libraries/libsecret/default.nix index e023a524ae28..95e2c69e4c7b 100644 --- a/pkgs/development/libraries/libsecret/default.nix +++ b/pkgs/development/libraries/libsecret/default.nix @@ -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 = ''