mkclean: fix build with cmake4 (#454681)
This commit is contained in:
@@ -18,6 +18,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail "cmake_minimum_required(VERSION 3.1.2)" "cmake_minimum_required(VERSION 3.10)"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
install -Dm0755 mkclean/mkclean $out/bin/mkclean
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user