niv 0.2.8 → 0.2.9
raw patch · 4 files changed
+11/−11 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- README.md +5/−5
- niv.cabal +3/−3
- src/Niv/Cli.hs +2/−2
- src/Niv/GitHub/Cmd.hs +1/−1
README.md view
@@ -96,7 +96,7 @@ "nixpkgs": { "url": "https://github.com/NixOS/nixpkgs-channels/archive/109a28ab954a0ad129f7621d468f829981b8b96c.tar.gz", "owner": "NixOS",- "branch": "nixos-19.03",+ "branch": "nixos-19.09", "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz", "repo": "nixpkgs-channels", "sha256": "12wnxla7ld4cgpdndaipdh3j4zdalifk287ihxhnmrzrghjahs3q",@@ -133,7 +133,7 @@ #### Tracking a nixpkgs branch The `init` command sets the `nix/sources.json` file to track the latest commit-present on nixpkgs 19.03 when the command was run. Run the following command to+present on nixpkgs 19.09 when the command was run. Run the following command to update it: ``` shell@@ -143,7 +143,7 @@ To change the branch being tracked run this command: ``` shell-$ niv update nixpkgs -b nixos-19.03 # equivalent to --branch nixos-19.03+$ niv update nixpkgs -b nixos-19.09 # equivalent to --branch nixos-19.09 ``` #### Importing packages from GitHub@@ -199,7 +199,7 @@ ``` niv - dependency manager for Nix projects -version: 0.2.8+version: 0.2.9 Usage: niv [-s|--sources-file FILE] COMMAND @@ -224,7 +224,7 @@ Examples: niv add stedolan/jq- niv add NixOS/nixpkgs-channels -n nixpkgs -b nixos-19.03+ niv add NixOS/nixpkgs-channels -n nixpkgs -b nixos-19.09 niv add my-package -v alpha-0.1 -t http://example.com/archive/<version>.zip Usage: niv add PACKAGE [-n|--name NAME] ([-a|--attribute KEY=VAL] |
niv.cabal view
@@ -1,13 +1,13 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.31.2.+-- This file has been generated from package.yaml by hpack version 0.32.0. -- -- see: https://github.com/sol/hpack ----- hash: 14c279b685996f9b3420df0072e55b06a86c006a89759d44af1aec9f515dab88+-- hash: ddb3cdf32af755a65bee2021ae1c20874e8fd0074d1bb640af7642fd4152154d name: niv-version: 0.2.8+version: 0.2.9 synopsis: Easy dependency management for Nix projects description: Easy dependency management for Nix projects. category: Development
src/Niv/Cli.hs view
@@ -125,7 +125,7 @@ , ( pathNixSourcesJson fsj , \path -> do createFile path initNixSourcesJsonContent- -- Imports @niv@ and @nixpkgs@ (19.03)+ -- Imports @niv@ and @nixpkgs@ (19.09) say "Importing 'niv' ..." cmdAdd (updateCmd githubCmd) (PackageName "niv") (specToFreeAttrs $ PackageSpec $ HMS.fromList@@ -138,7 +138,7 @@ (specToFreeAttrs $ PackageSpec $ HMS.fromList [ "owner" .= ("NixOS" :: T.Text) , "repo" .= ("nixpkgs-channels" :: T.Text)- , "branch" .= ("nixos-19.03" :: T.Text)+ , "branch" .= ("nixos-19.09" :: T.Text) ] ) , \path _content -> dontCreateFile path)
src/Niv/GitHub/Cmd.hs view
@@ -109,7 +109,7 @@ "Examples:" Opts.<$$> "" Opts.<$$> " niv add stedolan/jq" Opts.<$$>- " niv add NixOS/nixpkgs-channels -n nixpkgs -b nixos-19.03" Opts.<$$>+ " niv add NixOS/nixpkgs-channels -n nixpkgs -b nixos-19.09" Opts.<$$> " niv add my-package -v alpha-0.1 -t http://example.com/archive/<version>.zip" ]