Skip to content

Commit cd0e4e4

Browse files
authored
nextpnr: Fix build the easy way (NixOS#452270)
2 parents 00a45d0 + 15a0b40 commit cd0e4e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkgs/by-name/ne/nextpnr/package.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ stdenv.mkDerivation rec {
8080

8181
"-DHIMBAECHEL_GOWIN_DEVICES=all"
8282
"-DHIMBAECHEL_PRJBEYOND_DB=${prjbeyond_src}"
83+
# https://github.com/YosysHQ/nextpnr/issues/1578
84+
# `Compatibility with CMake < 3.5 has been removed from CMake.`
85+
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
8386
]
8487
++ (lib.optional enableGui "-DBUILD_GUI=ON");
8588

0 commit comments

Comments
 (0)