mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 10:31:25 +09:00
xdg-desktop-portal: fix cross
This commit is contained in:
parent
ff74c3e444
commit
d3f5b059bb
1 changed files with 7 additions and 0 deletions
|
@ -76,6 +76,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
docutils # for rst2man
|
docutils # for rst2man
|
||||||
|
glib
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
|
@ -169,6 +170,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
export LD_PRELOAD=${lib.getLib umockdev}/lib/libumockdev-preload.so
|
export LD_PRELOAD=${lib.getLib umockdev}/lib/libumockdev-preload.so
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# We can't disable the installedTests output when doCheck is disabled,
|
||||||
|
# because that produces an infinite recursion.
|
||||||
|
preFixup = lib.optionalString (!finalAttrs.finalPackage.doCheck) ''
|
||||||
|
mkdir $installedTests
|
||||||
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
tests = {
|
tests = {
|
||||||
installedTests = nixosTests.installed-tests.xdg-desktop-portal;
|
installedTests = nixosTests.installed-tests.xdg-desktop-portal;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue