mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
15 lines
184 B
Bash
15 lines
184 B
Bash
#! @shell@
|
|
|
|
case "$1" in
|
|
-h|--help)
|
|
exec man nixos-version
|
|
exit 1
|
|
;;
|
|
--hash|--revision)
|
|
echo "@revision@"
|
|
;;
|
|
*)
|
|
echo "@version@ (@codeName@)"
|
|
;;
|
|
esac
|