1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 18:31:49 +02:00

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

(cherry picked from commit 1421420e86)
This commit is contained in:
Robert Hensing 2024-12-09 17:18:10 +01:00 committed by Mergify
parent c709ca6e36
commit a867747c05
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
'';
}