1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 15:41:40 +00:00

kicad-unstable: set version

This commit is contained in:
Orivej Desh 2017-12-17 04:48:15 +00:00
parent 5e0344dce9
commit f314157041

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
sha256 = "15cc81h7nh5dk6gj6mc4ylcgdznfriilhb43n1g3xwyq3s8iaibz"; sha256 = "15cc81h7nh5dk6gj6mc4ylcgdznfriilhb43n1g3xwyq3s8iaibz";
}; };
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Nightly" ] cmakeFlags = [ "-DKICAD_VERSION=${version}" ]
++ optionals (oceSupport) [ "-DKICAD_USE_OCE=ON" "-DOCE_DIR=${opencascade_oce}" ] ++ optionals (oceSupport) [ "-DKICAD_USE_OCE=ON" "-DOCE_DIR=${opencascade_oce}" ]
++ optional (ngspiceSupport) "-DKICAD_SPICE=ON" ++ optional (ngspiceSupport) "-DKICAD_SPICE=ON"
++ optionals (scriptingSupport) [ ++ optionals (scriptingSupport) [