Most Guix system setup with desktop evironment will install GDK_PIXBUF_MODULE_FILE environment variable in the system profile, and it'll be leaked into the sandbox environment of flatpak, so the applications in sandbox may fail to find correct GdkPixbuf loaders. This patch unset the GDK_PIXBUF_MODULE_FILE environment variable before running the sandboxed applications, prevents it to load GdkPixbuf loaders from the path of host system. --- a/common/flatpak-run.c +++ b/common/flatpak-run.c @@ -1853,6 +1853,7 @@ static const ExportData default_exports[] = { {"GST_PTP_HELPER", NULL}, {"GST_PTP_HELPER_1_0", NULL}, {"GST_INSTALL_PLUGINS_HELPER", NULL}, + {"GDK_PIXBUF_MODULE_FILE", NULL}, }; static const ExportData no_ld_so_cache_exports[] = { scripts'>koszko-scripts Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/swh.scm
AgeCommit message (Expand)Author
2024-03-09swh: ‘lookup-origin-revision’ handles branches pointing to directories....Fixes <https://issues.guix.gnu.org/69070>. * guix/swh.scm (branch-target): Add clause for 'directory and 'alias. (lookup-origin-revision): Iterate over all the visits of ORIGIN instead of just the first one. Handle the case where ‘branch-target’ returns something other than a release or revision. * tests/swh.scm ("lookup-origin-revision"): New test. Change-Id: I7f636739a719908763bca1d3e7376341dd62e816 Ludovic Courtès
2024-02-12swh: Add bindings for the “ExtID” API....This interface was deployed at archive.softwareheritage.org a few days ago. Our main use case will be looking up directories by “nar-sha256” hashes. * guix/swh.scm (<external-id>): New JSON-mapped record type. (lookup-external-id, lookup-directory-by-nar-hash): New procedures. * tests/swh.scm (%external-id): New variable. ("lookup-directory-by-nar-hash"): New test. Change-Id: Ib671c7798aeb6f8132ac78f2b06b9285da8e7bd5 Ludovic Courtès
2021-01-21swh: Test proper handling of null visit snapshot URL....* tests/swh.scm (%origin): Change "visits_url" to "origin_visits_url". (%visits): New variable. ("origin-visit, no snapshots"): New test. Ludovic Courtès
2020-12-21tests: Fix malformed JSON....Guile-JSON 4.3.2 would parse in spite of these typos, but 4.4.1 is stricter. * tests/swh.scm (%directory-entries): Add missing comma. * tests/cve-sample.json: Likewise. Ludovic Courtès