mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
libclc: fix evaluation
This commit is contained in:
parent
1f7fe3dc07
commit
75c3f00971
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user