summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2020-06-12 12:57:15 +0200
committerMarius Bakke <marius@gnu.org>2020-06-12 12:57:15 +0200
commit8ea91d05b0fd16a8dd42a53efee9b16991d581b9 (patch)
tree88604cd30f9a71255b1082808dd8b3842d411dfa /gnu/packages
parentfdd883509301845ddb4dc90e70e58b469afb5441 (diff)
downloadguix-8ea91d05b0fd16a8dd42a53efee9b16991d581b9.tar.gz
gnu: mesa: Ensure replacements are inherited in special variants.
* gnu/packages/gl.scm (mesa-opencl, mesa-opencl-icd, mesa-headers): Use
PACKAGE/INHERIT instead of regular inheritance.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/gl.scm9
1 files changed, 3 insertions, 6 deletions
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 828612eee1..41fc8ae697 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -462,8 +462,7 @@ from software emulation to complete hardware acceleration for modern GPUs.")
                 "0v0bfh3ay07s6msxmklvwfaif0q02kq2yhy65fdhys49vw8c1w3c"))))))
 
 (define-public mesa-opencl
-  (package
-    (inherit mesa)
+  (package/inherit mesa
     (name "mesa-opencl")
     (arguments
      (substitute-keyword-arguments (package-arguments mesa)
@@ -477,8 +476,7 @@ from software emulation to complete hardware acceleration for modern GPUs.")
        ,@(package-native-inputs mesa)))))
 
 (define-public mesa-opencl-icd
-  (package
-    (inherit mesa-opencl)
+  (package/inherit mesa-opencl
     (name "mesa-opencl-icd")
     (arguments
      (substitute-keyword-arguments (package-arguments mesa)
@@ -487,8 +485,7 @@ from software emulation to complete hardware acceleration for modern GPUs.")
                ,(delete "-Dgallium-opencl=standalone" flags)))))))
 
 (define-public mesa-headers
-  (package
-    (inherit mesa)
+  (package/inherit mesa
     (name "mesa-headers")
     (propagated-inputs '())
     (inputs '())