From 3fc515178238632c48c3d98c4cd29a9c35fc2e7d Mon Sep 17 00:00:00 2001 From: Luflosi Date: Mon, 13 Jul 2020 13:18:51 +0200 Subject: [PATCH] nextpnr: fix build on macOS `PYTRELLIS_LIBDIR` has been replaced by `TRELLIS_LIBDIR` in https://github.com/YosysHQ/nextpnr/commit/1dc1164dce88fade762956c1067aeb97fa3c0f9a, which causes the build to fail on macOS. --- pkgs/development/compilers/nextpnr/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/nextpnr/default.nix b/pkgs/development/compilers/nextpnr/default.nix index 3d1db7af2dd5..dc8f750c5670 100644 --- a/pkgs/development/compilers/nextpnr/default.nix +++ b/pkgs/development/compilers/nextpnr/default.nix @@ -50,7 +50,7 @@ with stdenv; mkDerivation rec { "-DBUILD_TESTS=ON" "-DICEBOX_ROOT=${icestorm}/share/icebox" "-DTRELLIS_INSTALL_PREFIX=${trellis}" - "-DPYTRELLIS_LIBDIR=${trellis}/lib/trellis" + "-DTRELLIS_LIBDIR=${trellis}/lib/trellis" "-DUSE_OPENMP=ON" # warning: high RAM usage "-DSERIALIZE_CHIPDB=OFF"