libclc: fix evaluation

This commit is contained in:
Robin Gloster 2017-03-03 12:39:00 +01:00
parent 1f7fe3dc07
commit 75c3f00971
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, python2, llvm_40, clang }: { stdenv, fetchFromGitHub, python2, llvm_4, clang }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "libclc-2017-02-25"; name = "libclc-2017-02-25";
@ -10,7 +10,7 @@ stdenv.mkDerivation {
sha256 = "1c20jyh3sdwd9r37zs4vvppmsx8vhf2xbx0cxsrc27bhx5245p0s"; sha256 = "1c20jyh3sdwd9r37zs4vvppmsx8vhf2xbx0cxsrc27bhx5245p0s";
}; };
buildInputs = [ python2 llvm_40 clang ]; buildInputs = [ python2 llvm_4 clang ];
postPatch = '' postPatch = ''
sed -i 's,llvm_clang =.*,llvm_clang = "${clang}/bin/clang",' configure.py sed -i 's,llvm_clang =.*,llvm_clang = "${clang}/bin/clang",' configure.py