summaryrefslogtreecommitdiff
path: root/Command/Version.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Version.hs')
-rw-r--r--Command/Version.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Command/Version.hs b/Command/Version.hs
index 1cfc0aedc..e15f1fb91 100644
--- a/Command/Version.hs
+++ b/Command/Version.hs
@@ -16,6 +16,8 @@ import qualified Types.Remote as R
import qualified Remote
import qualified Backend
+import System.Info
+
cmd :: Command
cmd = dontCheck repoExists $ noCommit $
noRepo (seekNoRepo <$$> optParser) $
@@ -53,6 +55,8 @@ showVersion = do
unwords supportedVersions
vinfo "upgrade supported from repository versions" $
unwords upgradableVersions
+ vinfo "operating system" $
+ unwords [os, arch]
showPackageVersion :: IO ()
showPackageVersion = do