summaryrefslogtreecommitdiff
path: root/nonguix
AgeCommit message (Collapse)Author
2023-11-11nonguix: multiarch-container: Make locale usable by pressure-vessel.John Kehayias
Steam's pressure-vessel startup time can be improved by not having to generate locales. So make sure locales are in and used by the pressure-vessel container by linking the expected location of /usr/lib/locale (presumably so that pressure-vessel will capture them) and setting $GUIX_LOCPATH. * nonguix/multiarch-container.scm (make-container-wrapper): Preserve and set GUIX_LOCPATH. (make-internal-script): Add symlink for /usr/lib/locale.
2023-11-11nonguix: multiarch-container: Preserve MANGOHUD.John Kehayias
Now one can have set MANGOHUD=1 in their environment to have all Steam games launch with MangoHud, rather than always setting this per game launch settings. Likewise for MANGOHUD_CONFIG for configuration. * nonguix/multiarch-container.scm (make-container-wrapper): Preserve MANGOHUD environment variables.
2023-11-11nonguix: multiarch-container: Set LD_LIBRARY_PATH (for steam).John Kehayias
Setting $LD_LIBRARY_PATH in the container allows for non-Steam games added to Steam to launch properly with Proton. Otherwise they don't make it to the pressure-vessel container as it seems they start in an environment where the rest of our setup is not active (e.g. game will fail to launch with an error about being unable to load libGL.so.1). * nonguix/multiarch-container.scm (make-container-wrapper): Preserve LD_LIBRARY_PATH and set it.
2023-11-11nonguix: multiarch-container: Remove pressure-vessel workaround.John Kehayias
Setting $PRESSURE_VESSEL_FILESYSTEMS_RO to "/gnu/store" is no longer needed for Steam as the fix has been merged upstream. Users can still set this environment variable (preserved in the container) if needed. * nonguix/multiarch-container.scm (make-container-wrapper): Remove setting $PRESSURE_VESSEL_FILESYSTEMS_RO.
2023-10-14nongnu: steam: Fix to work with newer mangohud.John Kehayias
In 0.7.0 of MangoHud the vulkan implicit layers have different names for 32- and 64-bit so we no longer need a workaround. * nonguix/multiarch-container.scm (make-internal-script): No longer create /usr/share/vulkan/implicit_layer.d. Symlink instead directly from guix-env. Remove vulkan layer renaming from mangohud.
2023-09-03nongnu: steam: Fix missing tray icon.John Kehayias
Finally, it's back! Using something like snixembed worked around this before by using a different tray icon format. * nongnu/packages/steam-client.scm (steam-client-libs): Add gdk-pixbuf. * nonguix/multiarch-container.scm (make-internal-script): Add symlink to /usr/share/mime.
2023-09-03nonguix: chromium-binary-build-system: Use gcc:lib.John Kehayias
Effectively reverts changes that came from 9d58bb6e3e93a444d35bf62d4ca98a126ae4f295 which doesn't seem to be needed anymore. These got carried into chromium-binary-build-system when it was introduced. We need libstdc++ from the gcc:lib package, which is hidden from users but directly accessible from the build system. The library from make-libstdc++ has missing symbols compared to the one from gcc:lib. The addition of libgccjit seems to also be unneeded from this change and increases the closure of e.g. signal-desktop by nearly 10% or 200 MiB. Fixes #276 and #279. * nonguix/build-system/chromium-binary.scm (lower)[host-inputs]: Use gcc:lib again and remove libgccjit.
2023-07-15nongnu: steam: Allow workaround of white box bug.John Kehayias
See <https://gitlab.com/nonguix/nonguix/-/issues/267> and <https://github.com/ValveSoftware/steam-for-linux/issues/9306>. * nonguix/multiarch-container.scm (make-container-wrapper): Preserve QT_X11_NO_MITSHM to allow setting to 1 to workaround an upstream bug where only a white box is displayed.
2023-07-12nonguix: Add chromium-binary-build-system.Giacomo Leidi
This build system is an extension to the binary-build-system, designed to abstract some common boilerplate necessary for packaging Chromium based software. * nonguix/build-system/chromium-binary.scm: New file; * nonguix/build/chromium-binary-build-system.scm: new file; * nonguix/build/utils.scm (build-paths-for-input): new variable; (build-paths-from-inputs): New variable. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-06-29nonguix: glibc-for-fhs: Remove variable.John Kehayias
* nonguix/multiarch-container.scm (glibc-for-fhs): Remove. (fhs-min-libs): Use upstream glibc-for-fhs.
2023-05-29nongnu: Export steam containers and minor refactor.Elijah Malaby
nonguix: Make container actually respect the ngc-shared and ngc-exposed fields. * nongnu/packages/steam-client.scm (steam-container): New variable. This is to export the container definition from steam. (steam-nvidia-container): New variable. This is the container for steam-nvidia and now inherits from steam-container. (steam, steam-nvidia): Container definitions moved to steam-container and steam-nvidia-container. * nonguix/multiarch-container.scm (make-container-wrapper): Add ngc-exposed and ngc-shared to expose and share lists. Signed-off-by: ison <ison@airmail.cc>
2023-05-29nonguix: Remove unnecessary modules from multiarch-container scripts.Attila Lendvai
* nonguix/multiarch-container.scm (packages->ld.so.conf)[computed-file]: Remove with-imported-modules and use-modules. (make-container-wrapper)[program-file]: Remove with-imported-modules. Signed-off-by: ison <ison@airmail.cc>
2023-05-15nonguix: Move nonguix-container to its own module.Giacomo Leidi
* nonguix/multiarch-container.scm: New file. This module makes the container code from steam-client.scm usable by other packages which require multiarch support (which is not currently supported by the upstream Guix FHS container). Signed-off-by: ison <ison@airmail.cc>
2022-12-19nonguix: Add missing copyright line.Jonathan Brielmaier
This is a follow up to daa0dda76ddd869c8b2866fcf2866667b69461ad. * nonguix/utils.scm: Add missing copyright line for myself.
2022-12-19*.scm: Use SPDX license identifiers.Jonathan Brielmaier
Fixes https://gitlab.com/nonguix/nonguix/-/issues/224 * *.scm: Use SPDX license identifier and remove obsolete license statement.
2022-06-18nonguix: binary-build-system: Fix use of undefined variable.Guillaume Le Vaillant
Follow up to a0079cf1bd8ef707ab9e15a0e249cbd34f157ae4. * nonguix/build/binary-build-system.scm (patchelf)[make-rpath]: Use 'name' instead of undefined 'input-or-output'. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-05-05nonguix: binary-build-system: Add copyright header for Attila.Jonathan Brielmaier
Follow up to a0079cf1bd8ef707ab9e15a0e249cbd34f157ae4.
2022-05-05nonguix: Extend patchelf-plan syntax with optional path.Attila Lendvai
Makes it possible to define entries like the following in the patchelf-plan: ("the-binary" ("glibc" ("nss" "/lib/nss"))) * nonguix/build/binary-build-system.scm (maybe-make-rpath, make-rpath): New functions and use them. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2021-12-13nonguix: Update binary build system to pass sources.Jelle Licht
* nonguix/build-system/binary.scm (lower): Remove #:source from 'private-keywords'.
2021-12-13nonguix: Update binary build system to return a monadic procedure.Josselin Poiret
Fixes https://gitlab.com/nonguix/nonguix/-/issues/146. * nonguix/build-system/binary.scm (binary-build): Update it. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2020-12-22nongnu: Adapt linux-initrd to populate-store changes.Jonathan Brielmaier
Fixes https://gitlab.com/nonguix/nonguix/-/issues/81. Reported-by: Jean-Baptiste Volatier. Depends on https://git.savannah.gnu.org/cgit/guix.git/commit/?id=d88ff09. * nonguix/modules.scm (import-nonguix-module?): New variable. Export it instead of nonguix-module-name?. * nongnu/system/linux-initrd.scm (microcode-initrd): Use import-nonguix-module? instead of nonguix-module-name?. (combined-initrd): Dito.
2020-07-02nonguix: Allow disabling passing $0 in make-wrapper.Julien Lepiller
* nonguix/build/utils.scm (make-wrapper): Add skip-argument-0? keyword.
2020-06-22utils: Remove 'make-desktop-entry-file' function now that it's upstream.Pierre Neidhardt
* nonguix/build/utils.scm (make-desktop-entry-file): Remove function.
2020-05-17nonguix: Set default build-inputs priority higher than libc32 in ↵Pierre Neidhardt
binary-build-system. * nonguix/build-system/binary.scm (lower): Swap native-inputs and libc32 in build-inputs. In particular, this fixes static linking with GCC.
2020-05-15nonguix: Don't rename to32 package to avoid useless rebuilds.Pierre Neidhardt
* nonguix/utils.scm (to32): Reuse inherited `name' field.
2020-03-13nonguix: Use name when provided in unredistributable-url-fetch.Julien Lepiller
* nonguix/download.scm (unredistributable-url-fetch): Use name when provided.
2020-02-29nonguix: Use the install-plan of the copy-build-system in the ↵Pierre Neidhardt
binary-build-system. * nonguix/build-system/binary.scm (lower): Adapt the default value of the install plan. * nonguix/build/binary-build-system.scm (new-install): New procedure. (old-install): Rename former `install' procedure to this. (install): New procedure that dispatches over old-install and new-install.
2020-01-16nonguix: Add support for libraries for an extension other than ".so".Pierre Neidhardt
* nonguix/build-system/binary.scm (binary-build): Don't fail when setting the interpreter of libraries that don't contain ".so" in their name.
2020-01-08linux-initrd: Don't close over core Guile modules.Alex Griffin
* nonguix/modules.scm: New file. * nongnu/system/linux-initrd.scm: Limit 'source-module-closure' to guix and nonguix modules only.
2020-01-08utils: Add 'concatenate-files' function.Alex Griffin
* nonguix/build/utils.scm (concatenate-files): New function.
2019-12-29nonguix: Remove spurious getenv* export.Pierre Neidhardt
* nonguix/utils.scm: Do it.
2019-12-29nonguix: Fix default values for patchelf-plan and install-plan.Pierre Neidhardt
* nonguix/build-system/binary.scm (binary-build): Default values are unquoted, so we add an extra quote.
2019-12-29Move the "binary" build system from the Gaming Channels to Nonguix.Pierre Neidhardt
* nonguix/build-system/binary.scm: New file. * nonguix/build/binary-build-system.scm: New file. * nonguix/build/utils.scm: New file. * nonguix/utils.scm: New file.
2019-07-27nongnu: Add unredistributable-url-fetch.Julien Lepiller
* nonguix/download.scm: New file.
2019-05-26Add nonfree licenses.Alex Griffin
* nonguix/licenses.scm: New file.