| Age | Commit message (Collapse) | Author |
|
* nonguix/download.scm (nuget-restore): New procedure.
Signed-off-by: Hilton Chain <hako@ultrarare.space>
|
|
* nonguix/multiarch-container.scm (make-internal-script): Adds symlinks of
SteamVR drivers to FHS container.
Signed-off-by: Hilton Chain <hako@ultrarare.space>
|
|
* nonguix/multiarch-container.scm (make-container-wrapper): Share
$XDG_RUNTIME_DIR/monado_comp_ipc with container for use with SteamVR.
Signed-off-by: Hilton Chain <hako@ultrarare.space>
|
|
* nonguix/multiarch-container.scm (make-container-wrapper): Expose all of /sys
to allow SteamVR to access VR headsets.
Signed-off-by: Hilton Chain <hako@ultrarare.space>
|
|
* nonguix/multiarch-container.scm (make-container-wrapper):
Expose /dev/nvidia-uvm and /dev/nvidia-uvm-tools.
These two are now needed for dxvk to start on 580+ drivers.
Signed-off-by: Hilton Chain <hako@ultrarare.space>
|
|
services.
* nonguix/transformations.scm (nonguix-transformation-nvidia) [packages]
[services]: Apply ‘replace-mesa’.
|
|
* nonguix/download.scm (go-mod-vendor): New procedure.
|
|
Commit produced by the following command, with manual adjustments:
rg -l atk | xargs sed -i '/.*atk.*/d'
|
|
Also, update my copyright lines from previous work.
* nonguix/multiarch-container.scm (make-container-wrapper): Expose /dev/ntsync.
|
|
* nonguix/transformations.scm (nonguix-transformation-guix)[substitute-urls]:
Delete duplicates.
(nonguix-transformation-nvidia)[kernel-arguments]: Likewise.
|
|
* nonguix/transformations.scm (nonguix-transformation-nvidia): Set
nvidia_drm.modeset to 0 when kernel-mode-setting? is #f.
|
|
* nonguix/transformations.scm: Re-export replace-mesa.
|
|
* nonguix/transformations.scm (nonguix-transformation-nvidia): New procedure.
|
|
* nonguix/transformations.scm (nonguix-transformation-linux): New procedure.
|
|
* nonguix/transformations.scm: New file.
|
|
* nonguix/build-system/chromium-binary.scm (lower)
<host-inputs>: Add xdg-utils.
Signed-off-by: Hilton Chain <hako@ultrarare.space>
|
|
* nonguix/build-system/chromium-binary.scm (add-input-labels): New procedure.
(lower) <host-inputs>: Remove labels. Adjust accordingly.
* nonguix/build/chromium-binary-build-system.scm
(install-wrapper): Adjust for label change of fontconfig-minimal.
Signed-off-by: Hilton Chain <hako@ultrarare.space>
|
|
* nonguix/build/chromium-binary-build-system.scm: Fix indentation.
Signed-off-by: Hilton Chain <hako@ultrarare.space>
|
|
* nonguix/utils.scm (with-transformation): Deprioritize procedure matching.
|
|
* nonguix/utils.scm (with-transformation): Skip parameters.
Avoid duplicating file system packages.
|
|
This was a change in Guix to make read-only root file system the default in
containers. See commit ce363c1dc7bd63a74dcf7788d340819f6d5db89f.
* nonguix/multiarch-container.scm (make-container-wrapper): Use option
"--writable-root".
|
|
Some applications may crash with errors like the following:
libstdc++.so.6: version `GLIBCXX_3.4.31' not found
This can be fixed by using a more recent version of gcc:lib, this patch allows
overriding the default gcc:lib provided by the chromium-binary-build-system.
* nonguix/build-system/chromium-binary.scm (lower)[host-inputs]: Allow
overriding default host-inputs by package inputs.
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
|
|
* nonguix/multiarch-container.scm (make-container-wrapper): Set sandbox-home
relative to XDG_DATA_HOME environment variable, if it exists.
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
|
|
Fixes: https://gitlab.com/nonguix/nonguix/-/issues/384
* nonguix/multiarch-container.scm (make-internal-script): Fix controller
detection.
Reported-by: Morgan Smith <Morgan.J.Smith@outlook.com>
|
|
* nonguix/utils.scm (package-with-alias): New procedure.
|
|
Since packages field of <nonguix-container> was never used (it's lowered to a
list of store paths, which doesn't suit packages->manifest's expectation), this
commit makes use of it to provide default value for various other fields:
packages -> union64 + union32 -> ld.so.conf -> ld.so.cache.
* nonguix/multiarch-container.scm (<nonguix-container>)[ld.so.conf,ld.so.cache]
[union64,union32]: Set default value.
(make-container-manifest): Remove ngc-packages reference.
|
|
* nonguix/utils.scm (package-input-grafting): New procedure.
|
|
* nonguix/multiarch-container.scm (make-internal-script): Add nss to
LD_LIBRARY_PATH (as nss puts libraries in lib/nss).
|
|
This commit is similar to a0079cf1bd8ef707ab9e15a0e249cbd34f157ae4 which
allowed patchelf-plan to take entries with an optional path. Here,
wrapper-plan is extended to allow for additional syntax (not just a list of
strings) similar to patchelf-plan. Now, entries can be a list, with the first
the string for the file to be patched and the second a list which is added to
the patchelf-plan.
This allows, for example, to patch RPATH to effectively have $ORIGIN for
binaries that need it, with an entry like `("bin/binary" (("out"
"/lib/Binary")))` common for some chromium-based packages. See followup
commits for these changes to reduce LD_LIBRARY_PATH wrapping in some packages.
* nonguix/build-system/chromium-binary.scm (build-patchelf-plan): Handle
entries in wrapper-plan which are a list so that the cdr is added to
patchelf-plan for the car.
(chromium-binary-build): Update doc string for this change and some basics
which were not documented.
|
|
* nonguix/utils.scm (with-transformation): New procedure.
Signed-off-by: Hilton Chain <hako@ultrarare.space>
|
|
Launching a package, like steam, with GUIX_SANDBOX_EXTRA_SHARES= (set to an
empty string) will cause guix shell to fail to launch with "guix shell: error:
statfs: : No such file or directory".
* nonguix/multiarch-container.scm (make-container-wrapper): Check that the
environment variable GUIX_SANDBOX_EXTRA_SHARES is both set and not an empty
string.
Reported-by: apoorv569
|
|
Closes #241.
See discussion in above issue, but the summary is that the container (or any
package/program) shouldn't be trying to start pulseaudio (or other home/system
services, especially that can be started on demand). While previously this
was done to avoid some issue, it is not clear if that is still the case and it
may possibly lead to other issues. So, let's default to a more
expected (non-) behavior.
* nonguix/multiarch-container.scm (make-container-wrapper): Remove invoke of
pulseaudio.
|
|
This should allow Electron apps to detect whether they are running on Wayland
or X11. If they are on Wayland, then they should default to using Wayland
libraries. This should help with HiDPI monitors, fractional scaling, and all
the other issues that Wayland solved over X11.
This environment variable is only supported by Electron versions >=28. All
earlier versions relied on command-line arguments instead.
* nonguix/build/chromium-binary-build-system (install-wrapper): Add
ELECTRON_OZONE_PLATFORM_HINT environment variable and set to "auto".
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
|
|
* nonguix/build/binary-build-system.scm (patchelf): Output patchelf version.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
|
|
This is a followup to commit c7e6962eb359493251220a1db174dde868013673.
* nonguix/build-system/binary.scm (default-patchelf): Add comment and TODO
about using older patchelf-0.16 due to upstream bug.
Reported-by: Attila Lendvai <attila@lendvai.name>
|
|
Newer patchelf may break binaries.
This commit replaces patchelf with patchelf-0.16 for binary-build-system and
nvidia-driver (known affected package).
Fixes: https://gitlab.com/nonguix/nonguix/-/issues/350
* nonguix/build-system/binary.scm (default-patchelf): Replace patchelf with
patchelf-0.16.
* nongnu/packages/nvidia.scm (nvidia-driver)[native-inputs]: Likewise.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
|
|
.deb could contain data.tar compressed in any format, not just .xz as it
assumes now.
* nonguix/build/binary-build-system (unpack-deb): find a data.tar archive to
extract.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
|
|
Previously the resulting store object would also depend on the source.
* nonguix/build-system/chromium-binary.scm (lower): Remove reference to source
in #:wrap-inputs.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
Tested-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
|
|
We rely on the upstream implementation to avoid duplicating effort.
* nonguix/build/chromium-binary-build-system (install-wrapper): Use
search-path-as-list;
* nonguix/build/utils.scm (build-paths-for-input): remove variable;
(build-paths-from-inputs): remove variable.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
|
|
* nonguix/multiarch-container.scm (make-internal-script): Link fonts to
/usr/share/fonts.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
|
|
* nonguix/multiarch-container.scm (make-container-wrapper): Expose
/etc/os-release.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
|
|
* nonguix/multiarch-container.scm (make-container-wrapper): Preserve TZ and TZDIR.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
Co-authored-by: John Kehayias <john.kehayias@protonmail.com>
|
|
* nonguix/multiarch-container.scm (make-container-wrapper): Don't set
VDPAU_DRIVER_PATH.
(make-internal-script): Add VDPAU paths to LD_LIBRARY_PATH.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
|
|
* nonguix/multiarch-container.scm (make-container-wrapper): Set
LIBVA_DRIVERS_PATH and preserve it.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
|
|
* nonguix/multiarch-container.scm (make-container-wrapper): Preserve environment
variables and share socket for Wayland.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
|
|
* nonguix/multiarch-container.scm (make-internal-script): Symlink EGL
configurations.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
|
|
* nonguix/multiarch-container.scm (make-internal-script): Symlink all
available Vulkan layers.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
|
|
* nonguix/multiarch-container.scm (make-internal-script)[icd-symlink]: Allow
custom directory.
Rename to…
[file-symlink]: …this.
[get-files]: New procedure to simplify find-files use.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
|
|
* nonguix/multiarch-container.scm (make-container-wrapper): Use
ngc-preserved-env.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
Co-authored-by: John Kehayias <john.kehayias@protonmail.com>
|
|
Basic fix for #237.
This allows exposing other directories or drives to the nonguix container, for
example to add additional library locations to Steam, by setting
$GUIX_SANDBOX_EXTRA_SHARES.
* nonguix/multiarch-container.scm (make-container-wrapper): Use environment
variable $GUIX_SANDBOX_EXTRA_SHARES to pass extra directories to share with
the container.
|