summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2023-10-27 15:28:00 +0200
committerLinnnus <[email protected]>2023-10-27 15:28:00 +0200
commit3dc6994f304e62d727e43163622132560d00b551 (patch)
treec12b19136cd6515d0b254a90298343932c277a50
parentfd50b381d63e4875185289e8b6f27934aa97cd0d (diff)
hosts: Add nix alias to always print logs
-rw-r--r--hosts/common.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/hosts/common.nix b/hosts/common.nix
index ec45367..aa34086 100644
--- a/hosts/common.nix
+++ b/hosts/common.nix
@@ -45,6 +45,9 @@
"file" = "file --no-dereference";
"tree" = "tree --dirsfirst";
+ # See: https://github.com/NixOS/nix/issues/5858
+ "nix" = "nix --print-build-logs";
+
".." = "cd ../";
"..." = "cd ../../";
"...." = "cd ../../../";