We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff74c3e commit d3f5b05Copy full SHA for d3f5b05
pkgs/development/libraries/xdg-desktop-portal/default.nix
@@ -76,6 +76,7 @@ stdenv.mkDerivation (finalAttrs: {
76
77
nativeBuildInputs = [
78
docutils # for rst2man
79
+ glib
80
meson
81
ninja
82
pkg-config
@@ -169,6 +170,12 @@ stdenv.mkDerivation (finalAttrs: {
169
170
export LD_PRELOAD=${lib.getLib umockdev}/lib/libumockdev-preload.so
171
'';
172
173
+ # We can't disable the installedTests output when doCheck is disabled,
174
+ # because that produces an infinite recursion.
175
+ preFixup = lib.optionalString (!finalAttrs.finalPackage.doCheck) ''
176
+ mkdir $installedTests
177
+ '';
178
+
179
passthru = {
180
tests = {
181
installedTests = nixosTests.installed-tests.xdg-desktop-portal;
0 commit comments