From 853678a1a93638c5e2b852ee9351c4f282df7b16 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Sun, 3 Nov 2024 11:37:11 -0600 Subject: [PATCH] add build flag --- pkgs/oizys/src/oizys/exec.nim | 2 +- pkgs/oizys/src/oizys/nix.nim | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/oizys/src/oizys/exec.nim b/pkgs/oizys/src/oizys/exec.nim index 0e48bfc..05b6cbf 100644 --- a/pkgs/oizys/src/oizys/exec.nim +++ b/pkgs/oizys/src/oizys/exec.nim @@ -21,7 +21,7 @@ type CaptStdout CaptStderr -# TODO: suppot both capturing and inheriting the stream? +# TODO: support both capturing and inheriting the stream? proc runCmdCapt*( cmd: string, capture: set[CaptureGrp] = {CaptStdout}, diff --git a/pkgs/oizys/src/oizys/nix.nim b/pkgs/oizys/src/oizys/nix.nim index 34ed12a..e45f9c2 100644 --- a/pkgs/oizys/src/oizys/nix.nim +++ b/pkgs/oizys/src/oizys/nix.nim @@ -253,6 +253,7 @@ proc nixBuildWithCache*(name: string, rest:seq[string], service: string, jobs: i cmd.addArg drv cmd.addArg "--no-link" cmd.addArg "--print-out-paths" + cmd.addArg "-L" cmd.addArgs rest let (path, _, buildCode) = runCmdCapt(cmd) if buildCode != 0: