Commit Graph

76 Commits

Author SHA1 Message Date
Marie Ramlow
b804fa464f xdg-desktop-portal: 1.20.4 -> 1.22.1 2026-07-23 14:56:03 +02:00
whispers
5f316d1cc0 libgdata: drop due to upstream archival
libgdata was archived upstream, as can be seen in the GitLab repository:
https://gitlab.gnome.org/Archive/libgdata. Additionally, it relies on
libsoup 2.4, which is known to be insecure. The only effort to migrate
stalled out for years in
https://gitlab.gnome.org/Archive/libgdata/-/merge_requests/49, even
before the archival. Since there are no in-tree dependents, this seems
harmless to drop.
2026-05-29 15:26:25 -04:00
r-vdp
d7fc07c54f nixos/tests/fwupd: drop FWUPD_VERBOSE again 2026-04-09 14:19:52 +02:00
Thomas Mühlbacher
4ccbe12a71 fwupd: 2.0.19 -> 2.1.1
Diff: https://github.com/fwupd/fwupd/compare/2.0.19...2.1.1

Changelog: https://github.com/fwupd/fwupd/releases/tag/2.1.1

Co-developed-by: Daniel Schaefer <git@danielschaefer.me>
Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
2026-03-28 15:52:46 +01:00
Victor Fuentes
b77674a5ea appstream: 1.0.4 -> 1.1.2 2026-01-31 14:16:37 -08:00
Wolfgang Walther
90e7159c55 treewide: remove unused rec
Auto-fix by nixf-diagnose.
2025-10-05 10:49:12 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Léana 江
d993907597 libxmlb: fix installedTest 2025-05-09 17:29:29 +02:00
Grimmauld
25aeff88f5 nixos/tests/geocode-glib: point to geocode-glib_2 2025-04-16 10:07:18 +02:00
aucub
98b086d6d3 xdg-desktop-portal: 1.18.4 -> 1.20.0
- remove unneeded dependencies
- switch to wrapGAppsNoGuiHook
- add patch to fix sound validation similar to icon validation
- rebase other patches
- use a single python env with all test dependencies, as pytest path is hardcoded
  into installed tests
- fix installed tests, reenable location test (it works now)
- clean up a bunch of old hacks

Co-authored-by: aucub <78630225+aucub@users.noreply.github.com>
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2025-03-10 20:42:37 +03:00
Silvan Mosberger
667d42c00d treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev 57b193d8dd
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:27:17 +01:00
Artturin
431d0a19ef xdg-desktop-portal: Fix installedTests (#344743) 2024-10-14 21:36:39 +03:00
Artturin
f6d0724717 xdg-desktop-portal: Fix installedTests 2024-10-04 22:06:22 +03:00
Artturin
f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Artturin
da19f27bd4 geocode-glib.tests.installed-tests: Fix
Were added in c670fb9afe

https://hydra.nixos.org/build/270814594/log
2024-09-03 19:39:23 +03:00
Sigmanificient
6dd44107ac treewide: remove unused lib (and other) arguments 2024-07-26 11:18:09 +02:00
arthsmn
05b4a52e0a flatpak-builder: update test 2024-07-15 09:49:49 -03:00
GY
bcc7eff2c5 nixos/input-method: deprecate .enabled option; add .type and .enable options
This commit introduces two new properties:
`enable` and `type`, to replace the `enabled` property.
`enable` has the same meaning as is common across nixpkgs.
`type` has the same meaning as the existing `enabled` property.
`enabled` property is now deprecated and will be removed in a future release.

Fixes #180654
2024-07-12 03:59:20 -04:00
Vladimír Čunát
725f48a252 Merge branch 'master' into staging-next 2024-05-02 09:05:49 +02:00
Bobby Rong
736c6be462 treewide: Move away from wiki.gnome.org
The wiki.gnome.org site is planned for retirement.
2024-05-01 21:16:03 +08:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
r-vdp
12de1b3a38 fwupd: 1.9.12 -> 1.9.13
Changelog: https://github.com/fwupd/fwupd/releases/tag/1.9.13
2024-02-09 16:45:09 +01:00
Bobby Rong
9ed63709bc flatpak: 1.14.4 → 1.14.5
https://github.com/flatpak/flatpak/compare/1.14.4...1.14.5

This contains build fix for AppStream 1.0.
2023-12-11 23:58:03 +08:00
Jan Tojnar
d08e84b3be upower: Add installed tests 2023-07-13 19:12:22 +02:00
K900
7a86a7f9ed nixos/tests/pipewire: don't enable pipewire in test VM
It's not actually used
2023-04-20 18:02:38 +03:00
Nick Cao
d469096dbd nixos/fwupd: do no use renamed options in tests 2023-01-25 13:37:00 +08:00
Vladimír Čunát
00a757ed3f Merge branch 'master' into staging 2022-10-13 08:27:55 +02:00
Jan Tojnar
b8e21f065b librsvg: remove installed tests
Build will start failing with the following error in 2.55.1 due to `/build/librsvg-2.55.1/.libs` ending up in rpath:

    RPATH of binary /nix/store/78k70limslvxs6y98hdirbcixl3car1q-librsvg-2.55.1-installedTests/libexec/installed-tests/RSVG/api contains a forbidden reference to /build/
2022-10-11 18:52:13 +02:00
Artturin
f4ea1208ec treewide: *Flags convert to list from str
*Flags implies a list

slightly relevant:
> stdenv: start deprecating non-list configureFlags https://github.com/NixOS/nixpkgs/pull/173172

the makeInstalledTests function in `nixos/tests/installed-tests/default.nix` isn't available outside of nixpkgs so
it's not a breaking change
2022-10-10 15:30:59 +03:00
Robert Hensing
9303a3c73b nixos/tests/installed-tests: Fix maintainers 2022-09-24 17:38:10 +01:00
github-actions[bot]
1fcb01e547 Merge master into staging-next 2022-09-05 18:01:15 +00:00
Naïm Favier
3a2f99340c ibus: fix installed tests 2022-09-04 18:52:45 +02:00
Vladimír Čunát
3bd6484563 Re-Revert Merge #184360: json-glib: add installed tests
This reverts commit 78182194c6.
2022-08-20 08:45:18 +02:00
Vladimír Čunát
78182194c6 Revert Merge #184360: json-glib: add installed tests
Moving to staging, as it causes lots of rebuilds
and it doesn't seem urgent.

This reverts commit d6fb907269, reversing
changes made to 600b02324c.
2022-08-20 08:43:12 +02:00
Will Bush
ec11cf5337 json-glib: add installed tests
https://github.com/NixOS/nixpkgs/issues/34987
2022-07-31 17:55:20 -05:00
ElXreno
4eeaca86fd nixosTests.installed-tests.flatpak-builder: fix tests
This commit fixes the following error:
       Failed assertions:
       - Setting xdg.portal.enable to true requires a portal implementation in xdg.portal.extraPortals such as xdg-desktop-portal-gtk or xdg-desktop-portal-kde.
2022-07-07 21:07:21 +03:00
Jan Tojnar
6a7da5b520 geocode-glib: fix installed tests 2022-07-02 20:14:11 +02:00
Jan Tojnar
fb2877c36f geocode-glib: 3.26.2 → 3.26.3
https://gitlab.gnome.org/GNOME/geocode-glib/-/compare/3.26.2...3.26.3

- Add support for linking against libsoup 3 (incompatible ABI).
- Format the expression.
- Register installed tests (currently broken).
2022-07-02 02:23:00 +02:00
Jan Tojnar
b8b17d9b8e power-profiles-daemon: 0.10.1 → 0.11.1
https://gitlab.freedesktop.org/hadess/power-profiles-daemon/-/releases/0.11
https://gitlab.freedesktop.org/hadess/power-profiles-daemon/-/releases/0.11.1
2022-05-03 22:51:48 +02:00
Robert Hensing
aa0f27abb0 treewide: machine -> nodes.machine 2022-03-28 14:11:58 +02:00
Jan Tojnar
053ecedfe0 gjs.tests: fix warning
The tests complained:

/nix/store/nm3nf5y4hzgmy00lw5s6ls68j38y84y0-gjs-1.72.0-installedTests/libexec/installed-tests/gjs/scripts/testCommandLineModules.sh: line 90: gjs-console: command not found

But they still passed.
2022-03-25 15:02:49 +01:00
Bobby Rong
b3d4c1d48f nixosTests.installed-tests.appstream-qt: init 2022-03-02 11:28:29 +08:00
Bobby Rong
c942cd7b2e nixosTests.installed-tests.appstream: init 2022-03-02 11:28:29 +08:00
Thomas Gerbet
725d843cc8 flatpak: 1.12.2 -> 1.12.4
Fixes CVE-2021-43860 and CVE-2022-21682

Changes:
https://github.com/flatpak/flatpak/releases/tag/1.12.4
https://github.com/flatpak/flatpak/releases/tag/1.12.3

Security advisories:
https://github.com/flatpak/flatpak/security/advisories/GHSA-qpjc-vq3c-572j
https://github.com/flatpak/flatpak/security/advisories/GHSA-8ch7-5j3h-g4fx
2022-01-27 13:57:07 -08:00
Artturin
54ece050b8 nixos/qemu-vm: default memorySize 384 -> 1024
the default hasn't been changed since 2009
this can improve our test performances

nixos/tests: remove explicit memorySize <1024

1024MiB is now the default
2021-11-21 17:27:58 +02:00
Jan Tojnar
bb9ea6763d nixosTests.installed-tests.power-profiles-daemon: init 2021-10-30 14:45:37 +02:00
Jan Tojnar
468cb5980b gnome: rename from gnome3
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
2021-05-08 09:47:42 +02:00
Jan Tojnar
941b15b003 librsvg: register installed tests 2021-05-05 22:20:22 +02:00
talyz
6edd102013 pipewire: Fix tests 2021-04-27 12:41:35 +02:00