1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 06:53:54 +02:00

test: Move unusual-logging to run only in logging test case

This commit is contained in:
Robert Hensing 2024-12-09 17:18:10 +01:00
parent 03d4bfd852
commit 1421420e86
3 changed files with 19 additions and 15 deletions

View file

@ -0,0 +1,16 @@
let
inherit (import ../config.nix) mkDerivation;
in
mkDerivation {
name = "unusual-logging";
buildCommand = ''
{
echo "@nix 1"
echo "@nix {}"
echo '@nix {"action": null}'
echo '@nix {"action": 123}'
echo '@nix ]['
} >&$NIX_LOG_FD
touch $out
'';
}