mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-26 02:15:20 +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"))))
|
||||
|
||||
(define (lib)
|
||||
(match (or (%current-target-system)
|
||||
(%current-system))
|
||||
("x86_64-linux" "lib64")
|
||||
("i686-linux" "lib")))
|
||||
(if (string=? (or (%current-target-system) (%current-system)) "x86_64-linux")
|
||||
"lib64" "lib"))
|
||||
|
||||
(define-public nvidia-cg-toolkit
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue