kicad: replace with3DPackages option with an override

This commit is contained in:
Dmitry Kalinkin
2019-03-24 01:37:47 -04:00
parent 38b3292149
commit 9ba406ff1c
2 changed files with 3 additions and 5 deletions
@@ -5,7 +5,7 @@
, oceSupport ? true, opencascade
, ngspiceSupport ? true, libngspice
, swig, python, pythonPackages
, lndir, with3DPackages ? false
, lndir
}:
assert ngspiceSupport -> libngspice != null;
@@ -93,9 +93,7 @@ in stdenv.mkDerivation rec {
};
};
modules = with passthru;
[ i18n symbols footprints templates ]
++ optional with3DPackages packages3d;
modules = with passthru; [ i18n symbols footprints templates ];
postInstall = ''
mkdir -p $out/share