Remove redundant brackets

This commit is contained in:
Ivan Gromakovskii 2024-01-09 19:15:52 +01:00
parent 023622e4bb
commit c0b0fdd33f
No known key found for this signature in database
GPG Key ID: D0180FB62ABC8AA7

View File

@ -70,10 +70,10 @@ showSystem = do
showEnvVar "TERM"
-- Nix stuff
let builtNix = isJust ($$(envQ @String "NIX_BUILD_TOP"))
let builtNix = isJust $$(envQ @String "NIX_BUILD_TOP")
when builtNix $ do
putStrLn " * Built with Nix"
let builtNixShell = isJust ($$(envQ @String "IN_NIX_SHELL"))
let builtNixShell = isJust $$(envQ @String "IN_NIX_SHELL")
when builtNixShell $ do
putStrLn " * Built in nix-shell"
inNixShell <- isJust <$> lookupEnv "IN_NIX_SHELL"