gnu: clang: Move version conditionals out of the builder.
authorMarius Bakke <mbakke@fastmail.com>
Wed, 26 Feb 2020 20:06:01 +0000 (21:06 +0100)
committerMarius Bakke <mbakke@fastmail.com>
Wed, 26 Feb 2020 20:52:47 +0000 (21:52 +0100)
commit5041cc28cb33a714ea40c91e14e55706d6dbb9dc
tree77a11636be7feda3ebe607799ba97cf620db8e57
parentf5cc5de8b6c542295b08c108d9a6f1ca52cdc37a
gnu: clang: Move version conditionals out of the builder.

* gnu/packages/llvm.scm (clang-from-llvm)[arguments]: Rewrite phase
'set-glibc-file-names' to use VERSION>=? from (guix utils) and splice in the
relevant build code, instead of doing the comparison at build time.
gnu/packages/llvm.scm