update-nix-fetchgit-0.1.2.0: A program to update fetchgit values in Nix expressions

Safe HaskellNone
LanguageHaskell2010

Update.Nix.FetchGit

Synopsis

Documentation

updatesFromFile :: FilePath -> [Text] -> IO (Either Warning [SpanUpdate]) Source #

Given the path to a Nix file, returns the SpanUpdates all the parts of the file we want to update.

processFile :: FilePath -> [Text] -> IO () Source #

Provided FilePath, update Nix file in-place