1
1
mirror of https://github.com/nmattia/niv.git synced 2024-09-16 01:47:08 +03:00
Commit Graph

98 Commits

Author SHA1 Message Date
eyJhb
723f0eeb96
updated readme from release-21.05 to nixos-unstable (#378) 2023-10-17 11:27:33 +02:00
Nicolas Mattia
ecabfde837 Release 0.2.22 2023-03-12 12:44:53 +01:00
Nicolas Mattia
de5a4e7d01
Update devshell (#367)
* Update devshell

Update nixpkgs and simplify devshell

* Run ormolu

* Fixups

* Format nix files

* Update sources
2023-03-11 22:16:53 +01:00
Nicolas Mattia
0b7666effa Add motivation paragraph to 'Getting Started' 2022-12-20 11:33:53 +01:00
Nicolas Mattia
82e5cd1ad3 Release 0.2.21 2022-05-06 18:02:31 +02:00
Nicolas Mattia
df49d53b71 Release 0.2.20 2022-04-04 19:06:43 +02:00
Troels Henriksen
5912c378c2 Fix GitHub Actions badge.
Previously it just linked to an image of itself.
2022-03-21 15:06:09 +01:00
Martin Lavoie
65a61b147f Update documentation
- Use more recent exemples
- Update obsolete sections
- Add information about the different ways of using niv sources
2021-09-18 22:52:29 +02:00
Nicolas Mattia
527494090f Speed up initialization
This speeds up the `niv init` command by getting rid of
`nix-prefetch-url` calls (by default). In particular:
* `niv` itself is not added anymore
* `nixpkgs` is fetched from a "known" version
2021-06-07 18:03:50 +02:00
Nicolas Mattia
94080ae828 Update to latest optparse-applicative 2021-05-11 14:36:18 +02:00
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