Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
25 lines
816 B
Diff
25 lines
816 B
Diff
diff --git a/cmd/hare/build.ha b/cmd/hare/build.ha
|
|
index ce19af9e..8631b325 100644
|
|
--- a/cmd/hare/build.ha
|
|
+++ b/cmd/hare/build.ha
|
|
@@ -36,7 +36,7 @@ fn build(name: str, cmd: *getopt::command) (void | error) = {
|
|
case let ncpu: size =>
|
|
yield ncpu;
|
|
},
|
|
- version = build::get_version(os::tryenv("HAREC", "harec"))?,
|
|
+ version = build::get_version(os::tryenv("HAREC", "@harec_bin@"))?,
|
|
arch = arch,
|
|
platform = build::get_platform(os::sysname())?,
|
|
...
|
|
@@ -143,8 +143,8 @@ fn build(name: str, cmd: *getopt::command) (void | error) = {
|
|
set_arch_tags(&ctx.ctx.tags, arch);
|
|
|
|
ctx.cmds = ["",
|
|
- os::tryenv("HAREC", "harec"),
|
|
- os::tryenv("QBE", "qbe"),
|
|
+ os::tryenv("HAREC", "@harec_bin@"),
|
|
+ os::tryenv("QBE", "@qbe_bin@"),
|
|
os::tryenv("AS", arch.as_cmd),
|
|
os::tryenv("LD", arch.ld_cmd),
|
|
];
|