1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

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