From 23bfb2d2220ac0d2ec987b49e749d0bd7dbc6269 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Tue, 28 May 2024 22:55:22 +0200 Subject: [PATCH] core: make wrapped nix commands higer priority --- nix-os/core.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix-os/core.nix b/nix-os/core.nix index 23dfc5f..7f07c00 100644 --- a/nix-os/core.nix +++ b/nix-os/core.nix @@ -19,7 +19,7 @@ let makeWrapper ${pkg}/bin/${exe} $out/bin/${exe} ${lib.concatStringsSep " " wrapperArgs} ''; }; - wrapedNixPrograms = [ + wrapedNixPrograms = builtins.map lib.hiPrio [ (mkWrappedExecutable {pkg = pkgs.nix; exe = "nix-build"; wrapperArgs = ["--add-flags" "\"--log-format\"" "--add-flags" "bar-with-logs"];}) (mkWrappedExecutable {pkg = pkgs.nix; exe = "nix-shell"; wrapperArgs = ["--add-flags" "\"--log-format\"" "--add-flags" "bar"];}) ];