mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
b6bac6c144
This reverts commit10addad603
, reversing changes made to7786575c6c
. NixOS scripts should be kept in the NixOS source tree, not in pkgs. Moving them around is just confusing and creates unnecessary code/history churn.
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
|