emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/nix-mode a2374521fd 1/2: Add --print-build-logs to flake t


From: ELPA Syncer
Subject: [nongnu] elpa/nix-mode a2374521fd 1/2: Add --print-build-logs to flake transient
Date: Mon, 28 Feb 2022 10:58:27 -0500 (EST)

branch: elpa/nix-mode
commit a2374521fd41129e1f3c8e0b96444ed3e8647219
Author: Caleb Chase <caleb@chasecaleb.com>
Commit: Caleb Chase <caleb@chasecaleb.com>

    Add --print-build-logs to flake transient
    
    Also make it enabled by default.
---
 nix-flake.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/nix-flake.el b/nix-flake.el
index 6729f2961b..b0c11397fa 100644
--- a/nix-flake.el
+++ b/nix-flake.el
@@ -378,6 +378,7 @@ For OPTIONS and FLAKE-REF, see the documentation of
 ;;;###autoload (autoload 'nix-flake-dispatch "nix-flake" nil t)
 (transient-define-prefix nix-flake-dispatch (flake-ref &optional remote)
   "Run a command on a Nix flake."
+  :value '("--print-build-logs")
   [:description
    nix-flake--description
    ("=r" nix-flake:from-registry)
@@ -386,7 +387,8 @@ For OPTIONS and FLAKE-REF, see the documentation of
    ("-i" "Allow access to mutable paths and repositories" "--impure")
    ("-ui" nix-flake-arg:update-input)
    ("-nu" "Do not allow any updates to the flake's lock file" 
"--no-update-lock-file")
-   ("-cl" "Commit changes to the flake's lock file" "--commit-lock-file")]
+   ("-cl" "Commit changes to the flake's lock file" "--commit-lock-file")
+   ("-L" "Print build logs" "--print-build-logs")]
   ["Installable commands"
    ("r" "Run attribute" nix-flake-run-attribute)
    ("R" "Run default" nix-flake-run-default :if nix-flake--default-run-p)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]