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:
Timotej Lazar 2020-01-12 20:15:48 +01:00
parent e90b62a58a
commit 4782afc06e

View file

@ -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