mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
dmsdos: fix cmake-4 fix
Without the change the build fails on `master` as https://hydra.nixos.org/build/310538691: CMake Error at CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake. ZHF: #457852
This commit is contained in:
parent
da83893018
commit
5be3ff47f5
1 changed files with 11 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
cmake,
|
||||
}:
|
||||
|
||||
|
|
@ -16,6 +17,16 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
hash = "sha256-oGVkDf1gFaSMRpvHq4GNLN8htBm/sYawZeVwiqQxjL8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# cmake-4 support:
|
||||
# https://github.com/sandsmark/dmsdos/pull/1
|
||||
(fetchpatch {
|
||||
name = "cmake-4.patch";
|
||||
url = "https://github.com/sandsmark/dmsdos/commit/94076ab27800e9cba41ab05e6bb2edbb421154d9.patch";
|
||||
hash = "sha256-olpnzPg/kbveUl0muwHKwI+DMGqXzxLrruFomf/SXjE=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue