aboutsummaryrefslogtreecommitdiff
path: root/tests/simple-failing.nix
diff options
context:
space:
mode:
authorAlexander Bantyev <balsoft@balsoft.ru>2021-11-26 18:03:07 +0300
committerAlexander Bantyev <balsoft@balsoft.ru>2021-12-06 16:52:50 +0300
commit33926ed1e75c06cbf70a920e462841cc9daa0520 (patch)
tree1e375e99c1848edb70427588f2febaa9967be1d3 /tests/simple-failing.nix
parent0a2fa2d68460eca946c91b72cd264725e5cda7db (diff)
nix repl: add :log
Add a :log command that shows logs for a derivation. Closes https://github.com/NixOS/nix/issues/3504 Co-authored-by: Taeer Bar-Yam <taeer@bar-yam.me>
Diffstat (limited to 'tests/simple-failing.nix')
-rw-r--r--tests/simple-failing.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/simple-failing.nix b/tests/simple-failing.nix
new file mode 100644
index 000000000..1e3a080ed
--- /dev/null
+++ b/tests/simple-failing.nix
@@ -0,0 +1,8 @@
+with import ./config.nix;
+
+mkDerivation {
+ name = "simple-failing";
+ builder = ./simple-failing.builder.sh;
+ PATH = "";
+ goodPath = path;
+}