2012-04-10 23:17:43 +02:00
|
|
|
#! @shell@
|
2014-12-27 21:43:04 +01:00
|
|
|
|
|
|
|
case "$1" in
|
2016-07-12 16:29:13 +02:00
|
|
|
--help)
|
|
|
|
exec man nixos-version
|
|
|
|
exit 1
|
2014-12-27 21:43:04 +01:00
|
|
|
--hash|--revision)
|
|
|
|
echo "@nixosRevision@"
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "@nixosVersion@ (@nixosCodeName@)"
|
|
|
|
;;
|
|
|
|
esac
|