nix/tests/nixos/containers/id-test.nix

9 lines
163 B
Nix
Raw Normal View History

{ name, uidRange ? false }:
with import <nixpkgs> {};
runCommand name
{ requiredSystemFeatures = if uidRange then ["uid-range"] else [];
}
"id; id > $out"