diff --git a/pkgs/by-name/ho/horizon-eda/base.nix b/pkgs/by-name/ho/horizon-eda/base.nix index 4e504a0027b8..31c980998aa4 100644 --- a/pkgs/by-name/ho/horizon-eda/base.nix +++ b/pkgs/by-name/ho/horizon-eda/base.nix @@ -55,6 +55,12 @@ rec { sqlite ]; + env = { + NIX_CFLAGS_COMPILE = toString [ + "-fpermissive" + ]; + }; + CASROOT = opencascade-occt; meta = { diff --git a/pkgs/by-name/ho/horizon-eda/package.nix b/pkgs/by-name/ho/horizon-eda/package.nix index 92ebc186e8fa..069adb345593 100644 --- a/pkgs/by-name/ho/horizon-eda/package.nix +++ b/pkgs/by-name/ho/horizon-eda/package.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { src meta CASROOT + env ; # provide base for python module