1
1
mirror of https://github.com/nmattia/niv.git synced 2024-09-18 19:07:19 +03:00

Use release-20.03 by default

This commit is contained in:
Nicolas Mattia 2020-07-15 12:33:03 +02:00
parent a78983cd55
commit 99771dd10d
2 changed files with 2 additions and 2 deletions

View File

@ -357,7 +357,7 @@ Usage: niv init ([--no-nixpkgs] | [-b|--nixpkgs-branch ARG]
Available options:
--no-nixpkgs Don't add a nixpkgs entry to sources.json.
-b,--nixpkgs-branch ARG The nixpkgs branch to use. (default: "release-19.09")
-b,--nixpkgs-branch ARG The nixpkgs branch to use. (default: "release-20.03")
--nixpkgs OWNER/REPO Use a custom nixpkgs repository from
GitHub. (default: NixOS/nixpkgs)
-h,--help Show this help text

View File

@ -111,7 +111,7 @@ instance Show Nixpkgs where
defaultNixpkgsRepo, defaultNixpkgsUser, defaultNixpkgsBranch :: T.Text
defaultNixpkgsRepo = "nixpkgs"
defaultNixpkgsUser = "NixOS"
defaultNixpkgsBranch = "release-19.09"
defaultNixpkgsBranch = "release-20.03"
parseCmdInit :: Opts.ParserInfo (NIO ())
parseCmdInit = Opts.info (cmdInit <$> parseNixpkgs <**> Opts.helper) $ mconcat desc