mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-25 18:08:09 +01:00
nonguix: multiarch-container: Symlink all available Vulkan layers.
* nonguix/multiarch-container.scm (make-internal-script): Symlink all available Vulkan layers. Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
This commit is contained in:
parent
3cebd9c77b
commit
1c419ee1a8
1 changed files with 16 additions and 7 deletions
|
@ -494,14 +494,11 @@ application."
|
||||||
"/run/current-system/profile/share"
|
"/run/current-system/profile/share"
|
||||||
"/sbin"
|
"/sbin"
|
||||||
"/usr/lib"
|
"/usr/lib"
|
||||||
"/usr/share/vulkan/icd.d"))
|
"/usr/share"))
|
||||||
(for-each
|
(for-each
|
||||||
new-symlink
|
new-symlink
|
||||||
`((,ld.so.cache . "/etc/ld.so.cache")
|
`((,ld.so.cache . "/etc/ld.so.cache")
|
||||||
(,ld.so.conf . "/etc/ld.so.conf") ;; needed?
|
(,ld.so.conf . "/etc/ld.so.conf") ;; needed?
|
||||||
;; For MangoHud implicit layers.
|
|
||||||
((,guix-env "share/vulkan/implicit_layer.d") .
|
|
||||||
"/usr/share/vulkan/implicit_layer.d")
|
|
||||||
((,guix-env "etc/ssl") . "/etc/ssl")
|
((,guix-env "etc/ssl") . "/etc/ssl")
|
||||||
((,guix-env "etc/ssl") . "/run/current-system/profile/etc/ssl")
|
((,guix-env "etc/ssl") . "/run/current-system/profile/etc/ssl")
|
||||||
((,union32 "lib") . "/lib")
|
((,union32 "lib") . "/lib")
|
||||||
|
@ -519,15 +516,27 @@ application."
|
||||||
((,union64 "share/glib-2.0") . "/usr/share/glib-2.0") ; Heroic interface.
|
((,union64 "share/glib-2.0") . "/usr/share/glib-2.0") ; Heroic interface.
|
||||||
((,union64 "share/drirc.d") . "/usr/share/drirc.d")
|
((,union64 "share/drirc.d") . "/usr/share/drirc.d")
|
||||||
((,union64 "share/fonts") . "/run/current-system/profile/share/fonts")
|
((,union64 "share/fonts") . "/run/current-system/profile/share/fonts")
|
||||||
((,union64 "etc/fonts") . "/etc/fonts")
|
((,union64 "etc/fonts") . "/etc/fonts")))
|
||||||
((,union64 "share/vulkan/explicit_layer.d") .
|
|
||||||
"/usr/share/vulkan/explicit_layer.d")))
|
|
||||||
(for-each
|
(for-each
|
||||||
(cut file-symlink <> "/usr/share/vulkan/icd.d")
|
(cut file-symlink <> "/usr/share/vulkan/icd.d")
|
||||||
(append-map
|
(append-map
|
||||||
get-files
|
get-files
|
||||||
`((,union32 "share/vulkan/icd.d")
|
`((,union32 "share/vulkan/icd.d")
|
||||||
(,union64 "share/vulkan/icd.d"))))
|
(,union64 "share/vulkan/icd.d"))))
|
||||||
|
(for-each
|
||||||
|
(cut file-symlink <> "/usr/share/vulkan/explicit_layer.d")
|
||||||
|
(append-map
|
||||||
|
get-files
|
||||||
|
`((,union64 "share/vulkan/explicit_layer.d")
|
||||||
|
(,union32 "share/vulkan/explicit_layer.d"))))
|
||||||
|
(for-each
|
||||||
|
(cut file-symlink <> "/usr/share/vulkan/implicit_layer.d")
|
||||||
|
(append-map
|
||||||
|
get-files
|
||||||
|
`((,union32 "share/vulkan/implicit_layer.d")
|
||||||
|
(,union64 "share/vulkan/implicit_layer.d")
|
||||||
|
;; For MangoHud implicit layers.
|
||||||
|
(,guix-env "share/vulkan/implicit_layer.d"))))
|
||||||
;; TODO: This is not the right place for this.
|
;; TODO: This is not the right place for this.
|
||||||
;; Newer versions of Steam won't startup if they can't copy to here
|
;; Newer versions of Steam won't startup if they can't copy to here
|
||||||
;; (previous would output this error but continue).
|
;; (previous would output this error but continue).
|
||||||
|
|
Loading…
Reference in a new issue