Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data InstallationMode
- data NixEnv = NixEnv {}
- getInstallationMode :: NixEnv -> UseOptions -> InstallationMode
- addBinaryCache :: Maybe Config -> BinaryCache -> UseOptions -> InstallationMode -> IO ()
- isTrustedUser :: [Text] -> IO Bool
- getUser :: IO Text
- fromString :: String -> Maybe InstallationMode
- toString :: InstallationMode -> String
- data UseOptions = UseOptions {}
Documentation
data InstallationMode Source #
Instances
Eq InstallationMode Source # | |
Defined in Cachix.Client.InstallationMode (==) :: InstallationMode -> InstallationMode -> Bool # (/=) :: InstallationMode -> InstallationMode -> Bool # | |
Show InstallationMode Source # | |
Defined in Cachix.Client.InstallationMode showsPrec :: Int -> InstallationMode -> ShowS # show :: InstallationMode -> String # showList :: [InstallationMode] -> ShowS # |
addBinaryCache :: Maybe Config -> BinaryCache -> UseOptions -> InstallationMode -> IO () Source #
Add a Binary cache to nix.conf, print nixos config or fail
fromString :: String -> Maybe InstallationMode Source #
toString :: InstallationMode -> String Source #
data UseOptions Source #
Instances
Show UseOptions Source # | |
Defined in Cachix.Client.InstallationMode showsPrec :: Int -> UseOptions -> ShowS # show :: UseOptions -> String # showList :: [UseOptions] -> ShowS # |