libcpuid: use python2

This commit is contained in:
Frederik Rietdijk
2016-11-24 22:28:03 +01:00
parent f3c8692232
commit b1f60ba8cf
+2 -2
View File
@@ -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 {