mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-29 11:44:10 +01:00
gnu: nvidia-cg-toolkit: Fix a non-exhaustive match.
* nongnu/packages/game-development.scm (nvidia-cg-toolkit): Replace a non-exhaustive match with string=? to fix evaluation on unsupported platforms.
This commit is contained in:
parent
e90b62a58a
commit
4782afc06e
1 changed files with 2 additions and 4 deletions
|
@ -53,10 +53,8 @@
|
||||||
(base32 "0y4qms4lm9xiix93g45337rx5nrp0y3gb0x0avyv7l9qrkk03zz8"))))
|
(base32 "0y4qms4lm9xiix93g45337rx5nrp0y3gb0x0avyv7l9qrkk03zz8"))))
|
||||||
|
|
||||||
(define (lib)
|
(define (lib)
|
||||||
(match (or (%current-target-system)
|
(if (string=? (or (%current-target-system) (%current-system)) "x86_64-linux")
|
||||||
(%current-system))
|
"lib64" "lib"))
|
||||||
("x86_64-linux" "lib64")
|
|
||||||
("i686-linux" "lib")))
|
|
||||||
|
|
||||||
(define-public nvidia-cg-toolkit
|
(define-public nvidia-cg-toolkit
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue