Revert "Merge pull request #48122 from zimbatm/pkg-nixos-rebuild"
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.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#! @shell@
|
||||
|
||||
case "$1" in
|
||||
-h|--help)
|
||||
exec man nixos-version
|
||||
exit 1
|
||||
;;
|
||||
--hash|--revision)
|
||||
echo "@revision@"
|
||||
;;
|
||||
*)
|
||||
echo "@version@ (@codeName@)"
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user