diff --git a/Setup.hs b/Setup.hs index 542afbf..cd5d13a 100644 --- a/Setup.hs +++ b/Setup.hs @@ -16,7 +16,9 @@ main = defaultMainWithHooks simpleUserHooks buildRustLib :: Args -> a -> IO HookedBuildInfo buildRustLib _ flags = do - buildResult <- system "cargo +nightly cbuild --release --manifest-path rust-wrapper/Cargo.toml" + dir <- getCurrentDirectory + + buildResult <- system ("cargo +nightly cbuild --release --manifest-path " ++ dir ++ "/rust-wrapper/Cargo.toml") case buildResult of ExitSuccess -> return () ExitFailure exitCode -> throwIO $ userError $ "Build rust library failed with exit code " <> show exitCode diff --git a/zkfold-prover.cabal b/zkfold-prover.cabal index 747e41e..1c9873d 100644 --- a/zkfold-prover.cabal +++ b/zkfold-prover.cabal @@ -1,5 +1,5 @@ cabal-version: 3.0 -name: haskell-wrapper +name: zkfold-prover version: 0.1.0.0 license: BSD-3-Clause license-file: LICENSE @@ -7,7 +7,6 @@ author: ZkFold maintainer: info@zkfold.io category: Network build-type: Custom -extra-doc-files: CHANGELOG.md custom-setup setup-depends: @@ -105,7 +104,7 @@ test-suite wrapper-test build-depends: , base >= 4.16 , zkfold-base - , haskell-wrapper + , zkfold-prover , hspec < 2.12 , QuickCheck , vector @@ -125,7 +124,7 @@ benchmark msm vector, zkfold-base, bytestring, - haskell-wrapper + zkfold-prover benchmark prove import: options @@ -142,7 +141,7 @@ benchmark prove vector, zkfold-base, bytestring, - haskell-wrapper + zkfold-prover benchmark poly-mul import: options @@ -159,6 +158,6 @@ benchmark poly-mul vector, zkfold-base, bytestring, - haskell-wrapper, + zkfold-prover, random, deepseq \ No newline at end of file