mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
add padding in channel script
This commit is contained in:
parent
93f90eb737
commit
a56ad705f2
1 changed files with 3 additions and 0 deletions
|
@ -51,9 +51,12 @@
|
||||||
[[ "$(<$nixos/.version-suffix)" =~ ^pre ]] &&
|
[[ "$(<$nixos/.version-suffix)" =~ ^pre ]] &&
|
||||||
channel="unstable" ||
|
channel="unstable" ||
|
||||||
channel="$(<$nixos/.version)"
|
channel="$(<$nixos/.version)"
|
||||||
|
echo
|
||||||
echo "nixos-$channel"
|
echo "nixos-$channel"
|
||||||
|
echo
|
||||||
echo "$(<$nixos/.git-revision) current local"
|
echo "$(<$nixos/.git-revision) current local"
|
||||||
echo "$(curl --silent -L "https://channels.nixos.org/nixos-$channel/git-revision") latest available"
|
echo "$(curl --silent -L "https://channels.nixos.org/nixos-$channel/git-revision") latest available"
|
||||||
|
echo
|
||||||
'')
|
'')
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue