niv-0.2.4: Easy dependency management for Nix projects

Safe HaskellNone
LanguageHaskell2010

Niv.Cli

Synopsis

Documentation

cli :: IO () Source #

parseShortcutArgs :: Cmd -> Parser (PackageName, Attrs) Source #

only used in shortcuts (niv add foo/bar ...) because PACKAGE is NOT optional

parseCmdArgs :: Cmd -> Parser (PackageName, Attrs) Source #

only used in command (niv add cmd ...) because PACKAGE is optional

cmdAdd :: Update () a -> PackageName -> Attrs -> IO () Source #

partitionEithersHMS :: (Eq k, Hashable k) => HashMap k (Either a b) -> (HashMap k a, HashMap k b) Source #

shouldUpdateNixSourcesNix :: ByteString -> Bool Source #

Checks if content is different than default and if it does not contain a comment line with niv: no_update