1
1
mirror of https://github.com/nmattia/niv.git synced 2024-09-19 11:27:40 +03:00
Commit Graph

88 Commits

Author SHA1 Message Date
kfollesdal
cd7bb81154 Fix README example 2021-02-04 09:39:01 +01:00
Nicolas Mattia
62fcf7d085 Release 0.2.19 2021-01-05 11:55:20 +01:00
Nicolas Mattia
d91c8b8051 Add flag for --no-colors 2021-01-05 11:51:20 +01:00
Eric Wolf
20c899271f Fix README* 2020-11-02 14:42:14 +01:00
Eric Wolf
205240c278 Remove stray uncompleted sentence 2020-11-02 14:42:14 +01:00
Eric Wolf
45faf8f331 Update README.md 2020-11-02 14:42:14 +01:00
Nicolas Mattia
29ddaaf4e0 Release 0.2.18 2020-09-17 13:32:07 +02:00
Nicolas Mattia
48dee993d2 Prepend environment variables with NIV_
Here we make sure that some environment variables are prepended
(GITHUB_PATH, GITHUB_INSECURE). For consistency's sake, other
environment variables (GITHUB_TOKEN, etc) _can_ also be prepended with
NIV_. This also issues a warning if `GITHUB_PATH` or `GITHUB_INSECURE`
is set.
2020-09-17 13:29:09 +02:00
Nicolas Mattia
dd13098d01 Release 0.2.17 2020-09-08 11:48:42 +02:00
Nicolas Mattia
b50a010769 Show version with --version 2020-09-07 16:14:10 +02:00
Nicolas Mattia
89ae775e9d Add --rev and -r
This should hopefully clarify that `--version` shouldn't be used for
GitHub repositories; moreover setting a particular revision is used much
more often than changing the repo name.
2020-08-21 16:17:27 +02:00
Nicolas Mattia
e82eb322ea Release 0.2.16 2020-08-14 09:42:09 +02:00
Nicolas Mattia
bee0b4ca51 Release 0.2.15 2020-08-13 16:41:08 +02:00
Nicolas Mattia
45c4ed5af1 Document NIV_OVERRIDE and add FAQ TOC 2020-08-13 16:26:28 +02:00
Nicolas Mattia
15c82fd184 Add NixOS module example 2020-07-24 12:43:51 +02:00
Nicolas Mattia
c0a61e6283 Add subpath handling to FAQ 2020-07-24 12:43:51 +02:00
Nicolas Mattia
febd3530f0 Update installation instructions
Now that niv is part of nixpkgs, the installation is much simpler.
2020-07-15 15:22:39 +02:00
Nicolas Mattia
e5f7c0a4d3 Release 0.2.14 2020-07-15 14:34:14 +02:00
Nicolas Mattia
99771dd10d Use release-20.03 by default 2020-07-15 14:05:45 +02:00
Nicolas Mattia
79b6cc4d76 Factor out default nixpkgs branch 2020-07-15 14:05:45 +02:00
Sarah Brofeldt
0f50051d3c Drop nixpkgs-channels in README, usage and examples 2020-07-13 21:59:11 +02:00
Sarah Brofeldt
2521c74b8b Change default repo to NixOS/nixpkgs
Also use defaultNixpkgsUser and defaultNixpkgsRepo in the options parser
2020-07-13 21:59:11 +02:00
Nicolas Mattia
c27f5a6c57 Allow custom nixpkgs
This adds a few configuration options to `niv init`:

* `--no-nixpkgs`: skips the import of nixpkgs
* `--nixpkgs-branch`: specifies the branch to use for nixpkgs
* `--nixpkgs`: specifies the repo to use for nixpkgs

NOTE: this changes the default nixpkgs branch from nixos-19.09 to
release-19.09.
2020-07-07 17:36:52 +02:00
Nicolas Mattia
dd17834c49 Add FAQ section to README
... and answer how to add a private repository.
2020-07-06 14:57:17 +02:00
Nicolas Mattia
f73bf8d584 Add niv add local for local sources 2020-03-31 19:58:43 +02:00
Nicolas Mattia
f2e2502412 Don't IFD when testing README 2020-02-22 19:18:30 +01:00
Nicolas Mattia
50600603b5 Use cache in install instructions 2020-02-21 10:46:12 +01:00
Nicolas Mattia
2ecfd86b63 Release 0.2.13 2020-02-02 13:51:50 +01:00
Nicolas Mattia
490c5e4ebc Regenerate README 2020-01-31 20:30:33 +01:00
Nicolas Mattia
bea7aa52d9 Mention the modify command in README 2020-01-20 16:55:25 +01:00
Nicolas Mattia
4f038fc598 Release 0.2.12 2020-01-17 12:08:57 +01:00
Nicolas Mattia
d891455d5b Add README instructions for installing niv from nixpkgs 2020-01-11 19:49:07 +01:00
Nicolas Mattia
1cf0ebaa7f Release 0.2.11 2020-01-07 15:29:59 +01:00
Nicolas Mattia
56e3f877ad Release 0.2.10 2020-01-06 21:05:49 +01:00
Nicolas Mattia
abd0de3269 Release 0.2.9 2019-12-17 23:39:35 +01:00
Christian Kampka
ec254c6853
init at 19.09 2019-12-16 14:44:29 +01:00
Nicolas Mattia
6f03879b8a Release 0.2.8 2019-12-09 19:00:20 +01:00
Connor Prussin
f3202a1f62 Rename sourcesJson to sourcesFile 2019-12-09 18:44:20 +01:00
Nicolas Mattia
2f88cf4fa6 Release 0.2.7 2019-12-08 20:54:47 +01:00
Nicolas Mattia
ceab2e1572 Allow specifying path to sources.json in executable
The CLI was updated to allow for custom locations of the
`nix/sources.json`:

```

Usage: niv [-s|--sources-json FILE] COMMAND

Available options:
  -s,--sources-json FILE   Use FILE instead of nix/sources.json
  -h,--help                Show this help text
```
2019-12-08 20:29:15 +01:00
Nicolas Mattia
424662b47f Switch to CI to GitHub Actions 2019-12-08 17:18:59 +01:00
Nicolas Mattia
cb8ae24e0c Release 0.2.6 2019-12-05 21:05:44 +01:00
Nicolas Mattia
b87d7c84ef Fix niv show newlines and release 0.2.5 2019-12-01 18:31:58 +01:00
Nicolas Mattia
89de962d04 Release 0.2.4 2019-12-01 13:59:05 +01:00
Nicolas Mattia
1e7abae029 Fix parsing of subcommands 2019-11-30 11:10:19 +01:00
Nicolas Mattia
c8b5412835 Add Cmd and split commands 2019-11-30 11:07:45 +01:00
Nicolas Mattia
b1968996f3 Release 0.2.3 2019-11-28 10:09:24 +01:00
Nicolas Mattia
271677ec6e Allow JSON attributes values with -a foo=bar 2019-11-28 09:56:41 +01:00
Nicolas Mattia
b6a33b847f Add CHANGELOG and release 0.2.2 2019-11-27 18:32:27 +01:00
Nicolas Mattia
7820785799 Update README 2019-11-10 16:03:33 +01:00