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:
parent
a78983cd55
commit
99771dd10d
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user