libcpuid: use python2
This commit is contained in:
parent
f3c8692232
commit
b1f60ba8cf
@ -3,7 +3,7 @@
|
|||||||
, libtool
|
, libtool
|
||||||
, automake
|
, automake
|
||||||
, autoconf
|
, autoconf
|
||||||
, python
|
, python2 # Needed for tests
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libcpuid-${version}";
|
name = "libcpuid-${version}";
|
||||||
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
pushd Install
|
pushd Install
|
||||||
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/lib ${python.interpreter} ../tests/run_tests.py ./bin/cpuid_tool ../tests/
|
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/lib ${python2.interpreter} ../tests/run_tests.py ./bin/cpuid_tool ../tests/
|
||||||
popd
|
popd
|
||||||
|
|
||||||
function fixRunPath {
|
function fixRunPath {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user