Skip to content

nix-systems/current-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

current-system

Like builtins.currentSystem but for accessing the native (current) "system" from the command line.

Usage

# Get current system
$ nix run github:nix-systems/current-system
aarch64-darwin

# Get as JSON
$ nix run github:nix-systems/current-system -- --json
"aarch64-darwin"

About

Like `builtins.currentSystem` but for the CLI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages