fritzing: fix ngspice path on darwin
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
This commit is contained in:
co-authored by
Weijia Wang
parent
4563e96053
commit
469aac9ecc
@@ -87,7 +87,9 @@ stdenv.mkDerivation {
|
||||
--replace-fail "6.5.10" "${qt6.qtbase.version}"
|
||||
|
||||
substituteInPlace src/simulation/ngspice_simulator.cpp \
|
||||
--replace-fail 'path + "/" + libName' '"${libngspice}/lib/libngspice.so"'
|
||||
--replace-fail 'path + "/" + libName' '"${
|
||||
libngspice + "/lib/libngspice" + stdenv.hostPlatform.extensions.sharedLibrary
|
||||
}"'
|
||||
|
||||
mkdir parts
|
||||
cp -a ${parts}/* parts/
|
||||
|
||||
Reference in New Issue
Block a user