Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cachix.Client.InstallationMode
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 #
Constructors
Install NixConfLoc | |
WriteNixOS | |
UntrustedRequiresSudo | |
UntrustedNixOS |
Instances
Eq InstallationMode Source # | |
Defined in Cachix.Client.InstallationMode Methods (==) :: InstallationMode -> InstallationMode -> Bool # (/=) :: InstallationMode -> InstallationMode -> Bool # | |
Show InstallationMode Source # | |
Defined in Cachix.Client.InstallationMode Methods 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 #
Constructors
UseOptions | |
Fields |
Instances
Show UseOptions Source # | |
Defined in Cachix.Client.InstallationMode Methods showsPrec :: Int -> UseOptions -> ShowS # show :: UseOptions -> String # showList :: [UseOptions] -> ShowS # |