Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 24 lines 816 B view raw
1diff --git a/cmd/hare/build.ha b/cmd/hare/build.ha 2index ce19af9e..8631b325 100644 3--- a/cmd/hare/build.ha 4+++ b/cmd/hare/build.ha 5@@ -36,7 +36,7 @@ fn build(name: str, cmd: *getopt::command) (void | error) = { 6 case let ncpu: size => 7 yield ncpu; 8 }, 9- version = build::get_version(os::tryenv("HAREC", "harec"))?, 10+ version = build::get_version(os::tryenv("HAREC", "@harec_bin@"))?, 11 arch = arch, 12 platform = build::get_platform(os::sysname())?, 13 ... 14@@ -143,8 +143,8 @@ fn build(name: str, cmd: *getopt::command) (void | error) = { 15 set_arch_tags(&ctx.ctx.tags, arch); 16 17 ctx.cmds = ["", 18- os::tryenv("HAREC", "harec"), 19- os::tryenv("QBE", "qbe"), 20+ os::tryenv("HAREC", "@harec_bin@"), 21+ os::tryenv("QBE", "@qbe_bin@"), 22 os::tryenv("AS", arch.as_cmd), 23 os::tryenv("LD", arch.ld_cmd), 24 ];