diff --git a/pkgs/by-name/xp/xpwn/package.nix b/pkgs/by-name/xp/xpwn/package.nix index 24f2e9eb1e52..31c4d8d825c6 100644 --- a/pkgs/by-name/xp/xpwn/package.nix +++ b/pkgs/by-name/xp/xpwn/package.nix @@ -51,6 +51,11 @@ stdenv.mkDerivation { openssl ]; + postPatch = '' + substituteInPlace CMakeLists.txt \ + --replace-fail "cmake_minimum_required(VERSION 2.6)" "cmake_minimum_required(VERSION 3.10)" + ''; + meta = with lib; { broken = stdenv.hostPlatform.isDarwin; homepage = "http://planetbeing.lighthouseapp.com/projects/15246-xpwn";