bustools: fix build
This commit is contained in:
@@ -23,6 +23,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ zlib ];
|
buildInputs = [ zlib ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace CMakeLists.txt --replace-fail \
|
||||||
|
'cmake_minimum_required(VERSION 2.8.12)' \
|
||||||
|
'cmake_minimum_required(VERSION 3.5)'
|
||||||
|
'';
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion {
|
passthru.tests.version = testers.testVersion {
|
||||||
package = bustools;
|
package = bustools;
|
||||||
command = "bustools version";
|
command = "bustools version";
|
||||||
|
|||||||
Reference in New Issue
Block a user