From 1fe01205d792a821027039b2ccfb3644b4ecbb09 Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Sat, 16 Mar 2024 22:38:34 +0100 Subject: Provision mm2 sources to komodo-wallet --- private/komodo/komodo.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/private/komodo/komodo.scm b/private/komodo/komodo.scm index e6a3cd6d14..557ed5a7be 100644 --- a/private/komodo/komodo.scm +++ b/private/komodo/komodo.scm @@ -46,6 +46,7 @@ (define-public komodo-wallet (let ((build-path-expected "../build/_deps/expected-src") (build-path-jl777-coins "../build/_deps/jl777-coins-src") + (build-path-mm2 "../build/_deps/mm2-src") (version "0.7.0-beta")) (package (name "komodo-wallet") @@ -77,6 +78,7 @@ (string-append "\nfile(MAKE_DIRECTORY \"" #+ build-path-expected "\")\n" "file(MAKE_DIRECTORY \"" #+ build-path-jl777-coins "\")\n" + "file(MAKE_DIRECTORY \"" #+ build-path-mm2 "\")\n" "file(COPY " #+ (origin (uri @@ -104,7 +106,16 @@ "02nsggdpksi0fwhp6arzjlaay8zvkl1hwnkg67nm7yl4vimb5s25"))) " DESTINATION " #+ build-path-jl777-coins " )\n" "file(COPY " #+ build-path-jl777-coins "/coins-master/ " - "DESTINATION " #+ build-path-jl777-coins ")\n")))))) + "DESTINATION " #+ build-path-jl777-coins ")\n" + "file(ARCHIVE_EXTRACT INPUT " + #+ (origin + (uri + "https://sdk.devbuilds.komodo.earth/main/mm2_b0fd99e-linux-x86-64.zip") + (method url-fetch) + (hash + (content-hash + "1bn2sjcrp9ih44h3p96prnwg74aids7fgzcnlv3c68nan6y2lysi"))) + " DESTINATION " #+ build-path-mm2 " )\n")))))) #:configure-flags #~ (list "-Wno-dev" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON"))) (native-inputs -- cgit v1.2.3