Commit 7ca61f53 authored by Doron Behar's avatar Doron Behar
Browse files

nixosTests.i18n: copy locale.conf files to $out for debugging

parent d0e5fb3f
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
@@ -54,5 +54,16 @@
      };
    };
  };
  testScript = { nodes, ... }: "";
  testScript =
    { nodes, ... }:
    lib.pipe nodes [
      builtins.attrNames
      (map (node: ''
        ${node}.copy_from_vm(
            ${node}.succeed("readlink -f /etc/locale.conf").strip(),
            "${node}"
        )
      ''))
      (lib.concatStringsSep "\n")
    ];
}