summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2024-05-05 20:35:30 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2024-05-05 21:42:11 +0200
commitb4c25932f538bbfe332f2ff406d510dbc9641339 (patch)
tree7625840a4ae379103582b56186972362503040aa /examples
parent1f0894a45be2ba1bd2d17fef771cf41ecf46309d (diff)
downloadrebel-b4c25932f538bbfe332f2ff406d510dbc9641339.tar
rebel-b4c25932f538bbfe332f2ff406d510dbc9641339.zip
rebel-parse: make fetch bodies struct-like rather than block-like
Fetch statements can't have parameters, so we don't need a code block where a simple data structure would suffice.
Diffstat (limited to 'examples')
-rw-r--r--examples/recipes/gmp/build.recipe4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/recipes/gmp/build.recipe b/examples/recipes/gmp/build.recipe
index 9a1ae45..34fb10b 100644
--- a/examples/recipes/gmp/build.recipe
+++ b/examples/recipes/gmp/build.recipe
@@ -12,9 +12,9 @@ let sourcedir = "{{workdir}}/{{name}}-{{version}}";
let builddir = "{{workdir}}/{{name}}-build";
fetch source {
- url = ["https://invalid/{{name}}-{{version}}.tar.xz"];
+ url: ["https://invalid/{{name}}-{{version}}.tar.xz"],
// TODO: Move to lockfile
- sha256 = "a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898";
+ sha256: "a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898",
}
task unpack() {