File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 secp256k1 ,
1616 which ,
1717 rust-bin ,
18+ stellar-cli ,
1819
1920 komet-rust ? null ,
21+ komet-stellar ? null ,
2022 komet-pyk ,
2123 rev ? null
2224} @ args :
2325let
2426 rustWithWasmTarget = rust-bin . stable . latest . default . override {
25- targets = [ "wasm32-unknown-unknown " ] ;
27+ targets = [ "wasm32v1-none " ] ;
2628 } ;
2729in
2830stdenv . mkDerivation {
@@ -74,15 +76,22 @@ stdenv.mkDerivation {
7476 cp -r ./kdist-*/* $out/kdist/
7577
7678 makeWrapper ${ komet-pyk } /bin/komet $bin/bin/komet --prefix PATH : ${
77- lib . makeBinPath
78- ( [ which k ] ++ lib . optionals ( komet-rust != null ) [
79- komet-rust
80- ] )
79+ lib . makeBinPath (
80+ [ which k ]
81+ ++ lib . optionals ( komet-rust != null ) [
82+ komet-rust
83+ ]
84+ ++ lib . optionals ( komet-stellar != null ) [
85+ komet-stellar
86+ ]
87+ )
8188 } --set KDIST_DIR $out/kdist
8289 '' ;
8390
84- passthru = if komet-rust == null then {
85- # list all supported solc versions here
86- rust = callPackage ./default.nix ( args // { komet-rust = rustWithWasmTarget ; } ) ;
91+ passthru = if komet-stellar == null then {
92+ rust-stellar = callPackage ./default.nix ( args // {
93+ komet-rust = rustWithWasmTarget ;
94+ komet-stellar = stellar-cli ;
95+ } ) ;
8796 } else { } ;
8897}
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ email = "contact@runtimeverification.com"
1717
1818[project .scripts ]
1919komet = " komet.komet:main"
20+ komet-kdist = " pyk.kdist.__main__:main"
2021
2122[project .entry-points .kdist ]
2223soroban-semantics = " komet.kdist.plugin"
You can’t perform that action at this time.
0 commit comments