mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
pythonPackages.libclc: use python2
This commit is contained in:
parent
576740f7f2
commit
e7395434db
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, python, llvm, clang }:
|
||||
{ stdenv, fetchFromGitHub, python2, llvm, clang }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libclc-2015-08-07";
|
||||
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "10n9qk1dild9yjkjjkzpmp9zid3ysdgvqrad554azcf755frch7g";
|
||||
};
|
||||
|
||||
buildInputs = [ python llvm clang ];
|
||||
buildInputs = [ python2 llvm clang ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's,llvm_clang =.*,llvm_clang = "${clang}/bin/clang",' configure.py
|
||||
@ -18,7 +18,7 @@ stdenv.mkDerivation {
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
python2 ./configure.py --prefix=$out
|
||||
${python.interpreter} ./configure.py --prefix=$out
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user