horizon-eda: fix build

This commit is contained in:
wxt 2024-11-25 16:03:24 +08:00
parent 8f1334f790
commit ab380b8d22
No known key found for this signature in database
GPG Key ID: 8281D5EE2D1825A4
2 changed files with 7 additions and 0 deletions

View File

@ -55,6 +55,12 @@ rec {
sqlite sqlite
]; ];
env = {
NIX_CFLAGS_COMPILE = toString [
"-fpermissive"
];
};
CASROOT = opencascade-occt; CASROOT = opencascade-occt;
meta = { meta = {

View File

@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
src src
meta meta
CASROOT CASROOT
env
; ;
# provide base for python module # provide base for python module