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

68 Commits

Author SHA1 Message Date
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
Nicolas Mattia
cc9a52050f Release 0.2.1
Forgot a PR when releasing 0.2.0
2019-09-23 22:51:35 +02:00
Nicolas Mattia
ee19f5f841 Show version in --help 2019-09-23 22:37:17 +02:00
Nicolas Mattia
09d6e876df Fix typos 2019-09-22 09:32:42 +02:00
Nicolas Mattia
923f794e4d Document environment variables 2019-09-21 23:25:32 +02:00
Yorick van Pelt
f7688ef5d9
update default nixpkgs to 19.03 2019-08-27 13:52:00 +02:00
Nicolas Mattia
21e4db8695 Allow show single package 2019-07-01 17:33:08 +02:00
Nicolas Mattia
c3c1194766 Drop misleading related section 2019-06-18 18:04:24 +00:00
Nicolas Mattia
24ace0e198 Fix weird sentence in README 2019-06-16 08:22:57 +00:00
Nicolas Mattia
cd3b43f447
Merge pull request #90 from nmattia/nm-fix-readme
Fix README
2019-06-15 18:20:56 +02:00
Nicolas Mattia
fe563e3852 Fix README 2019-06-15 15:10:09 +00:00
Michael Peyton Jones
f2bf520840
Implement modify command.
Fixes #63.
2019-06-15 16:08:41 +01:00
Nicolas Mattia
abc5144940 Fix netlify link 2019-04-15 15:17:37 +02:00
Nicolas Mattia
ea9119500d Update README 2019-04-14 23:50:42 +02:00
Nicolas Mattia
9703f53e81 Add SVG to README 2019-04-14 21:11:18 +02:00
Nicolas Mattia
262dd9ab21 Replace snack with cabal 2019-04-07 12:29:24 +02:00
Nicolas Mattia
3386273b6e
Merge pull request #27 from nlewo/fetcher
Add `fetcher` options
2019-03-05 18:59:22 +01:00
Antoine Eiche
d23a8626a0 Add the attribute 'type' to set the package URL type
The main objective is to be able to fetch packages that are just a file
which was not possible.

The value of this attribute is either 'file' or 'tarball'. By default,
the value of this attribute is inferred by using the suffix of the
URL. If the URL ends with 'tar.gz' the type is set to 'tarball',
otherwise it is 'file'.

This attribute is used by the Nix expression to select the appropriate
fetcher ('fetchurl' or 'fetchTarball') and by `nix-prefetch-url` to
set or not the `--unpack` flag.
2019-03-01 18:05:22 +01:00
Nicolas Mattia
beb274c094 Add test suite instructions to README'
'
2019-03-01 10:24:15 +01:00
LeOtaku
e2f7245e18 Fix README spelling/name error
"NixOS/nixpkgs-channel" does not actually exist, the correct repo would be "NixOS/nixpkgs-channels"
2019-02-22 17:05:49 +01:00
Nicolas Mattia
cdfa7b9a27 Add related work 2019-02-13 10:26:16 +01:00