niv 0.2.7 → 0.2.8
raw patch · 3 files changed
+7/−7 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- README.md +3/−3
- niv.cabal +2/−2
- src/Niv/Cli.hs +2/−2
README.md view
@@ -199,12 +199,12 @@ ``` niv - dependency manager for Nix projects -version: 0.2.7+version: 0.2.8 -Usage: niv [-s|--sources-json FILE] COMMAND+Usage: niv [-s|--sources-file FILE] COMMAND Available options:- -s,--sources-json FILE Use FILE instead of nix/sources.json+ -s,--sources-file FILE Use FILE instead of nix/sources.json -h,--help Show this help text Available commands:
niv.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: fa195ed5e0022f61a4a4b7bad1e7f0833533c6faada195dd2b28be43880f14f0+-- hash: 14c279b685996f9b3420df0072e55b06a86c006a89759d44af1aec9f515dab88 name: niv-version: 0.2.7+version: 0.2.8 synopsis: Easy dependency management for Nix projects description: Easy dependency management for Nix projects. category: Development
src/Niv/Cli.hs view
@@ -69,7 +69,7 @@ ] parseFindSourcesJson = AtPath <$> Opts.strOption (- Opts.long "sources-json" <>+ Opts.long "sources-file" <> Opts.short 's' <> Opts.metavar "FILE" <> Opts.help "Use FILE instead of nix/sources.json"@@ -154,7 +154,7 @@ , "You are using a custom path for sources.json." ] , " You need to configure the sources.nix to use " <> tbold (T.pack fp) <> ":"- , tbold " import sources.nix { sourcesJson = PATH ; }; "+ , tbold " import sources.nix { sourcesFile = PATH ; }; " , T.unwords [ " where", tbold "PATH", "is the relative path from sources.nix to" , tbold (T.pack fp) <> "." ]