1
1
mirror of https://github.com/nmattia/niv.git synced 2024-11-07 22:36:53 +03:00
Commit Graph

308 Commits

Author SHA1 Message Date
Nicolas Mattia
461905a70c Only build static executable in top-level niv attribute
This reduces the closure size by about 2G.
2020-01-11 20:01:18 +01:00
Nicolas Mattia
d20eed4ce6
Merge pull request #179 from nmattia/nm-format-examples
Reformat libosmium example and build it on CI
2020-01-11 12:16:42 +01:00
Nicolas Mattia
b8a4ba7364 Reformat libosmium example and build it on CI 2020-01-11 12:03:22 +01:00
Nicolas Mattia
e58e182976
Merge pull request #167 from brano543/master
Add cpp example
2020-01-11 11:38:07 +01:00
Nicolas Mattia
c20455616d
Merge pull request #174 from nmattia/nm-custom-pkgs
Allow setting custom pkgs
2020-01-07 15:38:55 +01:00
Nicolas Mattia
1cf0ebaa7f Release 0.2.11 2020-01-07 15:29:59 +01:00
Nicolas Mattia
0e460c49de Allow setting custom pkgs 2020-01-07 15:17:37 +01:00
Nicolas Mattia
56e3f877ad Release 0.2.10 2020-01-06 21:05:49 +01:00
Nicolas Mattia
5170a6f3f3
Merge pull request #171 from zimbatm/nixpkgs-fmt-check
ci: add nixpkgs-fmt check (v2)
2020-01-06 11:20:08 +01:00
zimbatm
ea2cb5c55f
bump nix/source.nix version 2020-01-03 14:03:02 +01:00
zimbatm
2f2ee45a08
nixpkgs-fmt 2020-01-03 10:41:22 +01:00
zimbatm
f555c9cc5f
ci: add nixpkgs-fmt check 2020-01-02 19:29:38 +01:00
brano543
67af18c332 add cpp example 2019-12-19 14:53:18 +01:00
Nicolas Mattia
abd0de3269 Release 0.2.9 2019-12-17 23:39:35 +01:00
Nicolas Mattia
983e7a049a
Merge pull request #165 from kampka/init-at-19.09
init at 19.09
2019-12-17 10:40:08 +01:00
Christian Kampka
8cce9b0c74
Unset SSL file paths in nix shell to return to defaults 2019-12-16 22:29:29 +01:00
Nicolas Mattia
66a28898b0 Update nixpkgs 2019-12-16 14:58:18 +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
Nicolas Mattia
e5a3c9aa0c
Merge pull request #160 from cprussin/cprussin/fix-custom-sources-option-docs
Rename sourcesFile to sourcesJson
2019-12-09 18:54:53 +01:00
Connor Prussin
f3202a1f62 Rename sourcesJson to sourcesFile 2019-12-09 18:44:20 +01:00
Connor Prussin
f518e2e370 Rename sourcesFile to sourcesJson 2019-12-09 10:20:32 +01:00
Nicolas Mattia
db185fc24e Run tests on all master commits 2019-12-09 10:19:04 +01:00
Nicolas Mattia
70345acf49 Run tests on Pull Requests 2019-12-09 10:16:20 +01:00
Nicolas Mattia
22e1f901df
Merge pull request #159 from nmattia/nm-configure-sources
Allow custom location for nix/sources.json
2019-12-08 21:06:09 +01:00
Nicolas Mattia
2f88cf4fa6 Release 0.2.7 2019-12-08 20:54:47 +01:00
Nicolas Mattia
a226f9c294 Cleanup Niv.Cli 2019-12-08 20:42:10 +01:00
Nicolas Mattia
0d10454ebb Cleanup sources.nix 2019-12-08 20:39:45 +01:00
Nicolas Mattia
8d83a8dc9d Print INFO on init with custom sources.json 2019-12-08 20:37:35 +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
3e1d44bbfa Allow specifying custom sources.json
This turns `sources.nix` into a functor that acceps an argument:

``` nix
{ sourcesJson = <path/to/sources.json> ; }
```

The `sourcesJson` will be used instead of `./sources.json`.
2019-12-08 20:29:15 +01:00
Nicolas Mattia
e14fbaab92
Merge pull request #157 from nmattia/nm-test-actions
Create a test workflow
2019-12-08 17:24:50 +01:00
Nicolas Mattia
424662b47f Switch to CI to GitHub Actions 2019-12-08 17:18:59 +01:00
Nicolas Mattia
7edc0de265 Update CHANGELOG 2019-12-07 12:57:26 +01:00
Nicolas Mattia
444c1ad489
Merge pull request #156 from nmattia/nm-fix-git-update
Fix git update
2019-12-05 21:11:35 +01:00
Nicolas Mattia
cb8ae24e0c Release 0.2.6 2019-12-05 21:05:44 +01:00
Nicolas Mattia
1c89b6d05b Fix git update 2019-12-05 16:05:57 +01:00
Nicolas Mattia
d9f62fdcb7
Merge pull request #153 from nmattia/nm-0.2.5
Fix niv show newlines and release 0.2.5
2019-12-01 22:34: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
7f6ffb1667
Merge pull request #152 from nmattia/nm-0.2.4
Release 0.2.4
2019-12-01 14:02:59 +01:00
Nicolas Mattia
89de962d04 Release 0.2.4 2019-12-01 13:59:05 +01:00
Nicolas Mattia
32fe489e08
Merge pull request #151 from nmattia/nm-split-updates
Experimental support for git dependencies
2019-12-01 12:58:03 +01:00
Nicolas Mattia
c012e4b424 Show stdout on parse failure of ref and HEAD 2019-12-01 12:45:37 +01:00
Nicolas Mattia
c51947d4bf Parse -a and -s in git add 2019-12-01 12:43:47 +01:00
Nicolas Mattia
3377472122 Actually update git specs 2019-12-01 12:41:31 +01:00
Nicolas Mattia
4fbbbf28d4 Write proper error messages for git 2019-11-30 16:23:38 +01:00
Nicolas Mattia
c0cc366f0f Cleanup logger 2019-11-30 16:03:57 +01:00
Nicolas Mattia
26438c14a8 Implement git shortcut parsing 2019-11-30 15:52:22 +01:00
Nicolas Mattia
dfc838aba2 Parse ref and rev in git 2019-11-30 12:36:23 +01:00
Nicolas Mattia
5faeb0a621 Update sources.nix version 2019-11-30 12:23:41 +01:00