mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
kicad-unstable: set version
This commit is contained in:
parent
5e0344dce9
commit
f314157041
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "15cc81h7nh5dk6gj6mc4ylcgdznfriilhb43n1g3xwyq3s8iaibz";
|
||||
};
|
||||
|
||||
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Nightly" ]
|
||||
cmakeFlags = [ "-DKICAD_VERSION=${version}" ]
|
||||
++ optionals (oceSupport) [ "-DKICAD_USE_OCE=ON" "-DOCE_DIR=${opencascade_oce}" ]
|
||||
++ optional (ngspiceSupport) "-DKICAD_SPICE=ON"
|
||||
++ optionals (scriptingSupport) [
|
||||
|
|
Loading…
Reference in a new issue