summaryrefslogtreecommitdiff
path: root/nix/default.nix
diff options
context:
space:
mode:
authordavc0n <dconti.dev@gmail.com>2024-09-10 12:06:37 +0200
committerGitHub <noreply@github.com>2024-09-10 11:06:37 +0100
commitc67b257e51133a2aaeec050fc4d283e2eaea6375 (patch)
tree987e50002de7b85bd67afd095618e1c1ef19164b /nix/default.nix
parent8237d7e1a4994f70636b2e91584775308f24a584 (diff)
build: Set cmake_minimum_required to version 3.30 (#7709)
* build: Set cmake_minimum_required to version 3.30 * Nix: add patch for CMake min ver --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
Diffstat (limited to 'nix/default.nix')
-rw-r--r--nix/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nix/default.nix b/nix/default.nix
index 1c6a0113..985a4cbb 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -64,6 +64,8 @@ assert lib.assertMsg (!hidpiXWayland) "The option `hidpiXWayland` has been remov
patches = [
# forces GCC to use -std=c++26
./stdcxx.patch
+ # Nix does not have CMake 3.30 yet, so override the minimum version
+ ./cmake-version.patch
];
postPatch = ''