mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 22:46:16 +02:00
8 lines
163 B
Nix
8 lines
163 B
Nix
{ name, uidRange ? false }:
|
|
|
|
with import <nixpkgs> {};
|
|
|
|
runCommand name
|
|
{ requiredSystemFeatures = if uidRange then ["uid-range"] else [];
|
|
}
|
|
"id; id > $out"
|