[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#57410] [PATCH] gnu: Add ecbuild.
From: |
Maxime Devos |
Subject: |
[bug#57410] [PATCH] gnu: Add ecbuild. |
Date: |
Sun, 28 Aug 2022 17:22:08 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 |
On 25-08-2022 19:27, Antero Mejr via Guix-patches via wrote:
+ (method git-fetch)
+ (uri (git-reference
+ (url"https://github.com/ecmwf/ecbuild")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1mcjdqwvkzli7xj2wlnr4hshfh3wi5rs585f9nvqjfpgwvn0ym14"))
+ (modules '((guix build utils)))
+ (snippet #~(substitute* "bin/ecbuild"
+ (("cmake=\\$\\{cmakebin:=cmake\\}")
+ (string-append "cmake=${cmakebin:="
+ #$cmake-minimal "/bin/cmake}"))))))
This 'source' is only usable inside Guix as it embeds store items, which
makes "guix build --source" less useful for sharing source code (see:
(guix)Snippets versus Phases).
Try doing this in a snippet instead.
Greetings,
Maxime.
OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature