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

331 Commits

Author SHA1 Message Date
Nicolas Mattia
f2e2502412 Don't IFD when testing README 2020-02-22 19:18:30 +01:00
Nicolas Mattia
140dd34d49 Get rid of cabal2nix
The `callCabal2nix` invocation caused `cabal2nix` to be downloaded on
every install of `niv`. This introduces `foo`, a Nix function that does
exactly the same.
2020-02-22 18:43:04 +01:00
Nicolas Mattia
50600603b5 Use cache in install instructions 2020-02-21 10:46:12 +01:00
Nicolas Mattia
6cf4ff85b9 Add cachix 2020-02-20 19:00:59 +01:00
Nicolas Mattia
2ecfd86b63 Release 0.2.13 2020-02-02 13:51:50 +01:00
Nicolas Mattia
7a21f49027 Fix typo 2020-01-31 20:30:33 +01:00
Nicolas Mattia
490c5e4ebc Regenerate README 2020-01-31 20:30:33 +01:00
Nicolas Mattia
29a01ca085 Specify --name for nix-prefetch-url 2020-01-31 20:30:33 +01:00
Nicolas Mattia
65dc34edc8 Add -n to modify for renaming 2020-01-31 20:30:33 +01:00
Nicolas Mattia
7970bd7770 Use writeShellScript in cabal-upload 2020-01-31 20:30:33 +01:00
Nicolas Mattia
49157afd22
Merge pull request #191 from nmattia/nm-dont-ship-niv-test
Remove the niv-test executable
2020-01-20 18:32:12 +01:00
Nicolas Mattia
0b2d1dc06e Remove the niv-test executable
This moves the tests into a `tests` section of the `package.yaml`. Otherwise, the `niv-test` is shipped with the actual executable.
2020-01-20 18:12:13 +01:00
Nicolas Mattia
d29a2b6901
Merge pull request #190 from nmattia/nm-document-modify
Mention the modify command in README
2020-01-20 17:34:33 +01:00
Nicolas Mattia
bea7aa52d9 Mention the modify command in README 2020-01-20 16:55:25 +01:00
Nicolas Mattia
c396d697f3
Merge pull request #188 from nmattia/nm-changelog-0.2.12
Add CHANGELOG entry for 0.2.12
2020-01-20 11:48:05 +01:00
Nicolas Mattia
a4b45b95e1 Add CHANGELOG entry for 0.2.12 2020-01-20 11:33:09 +01:00
Nicolas Mattia
61b61d1e5f
Merge pull request #184 from nmattia/nm-release-0.2.12
Release 0.2.12
2020-01-17 12:24:43 +01:00
Nicolas Mattia
4f038fc598 Release 0.2.12 2020-01-17 12:08:57 +01:00
Nicolas Mattia
77b8893df4
Merge pull request #183 from nmattia/nm-dont-evaluate-nixpkgs
Don't needlessly evaluate <nixpkgs>
2020-01-17 11:53:09 +01:00
Nicolas Mattia
13598ef956 Don't needlessly evaluate <nixpkgs>
This changes the logic to make sure the first `if` branch -- which pulls nixpkgs from sources.json -- is evaluated first. Moreover the `<nixpkgs>` check is changed to avoid actually evaluating `<nixpkgs>`.
2020-01-17 11:33:07 +01:00
Nicolas Mattia
c8f74f44b5
Merge pull request #181 from nmattia/nm-reduce-closure-size
Only build static executable in top-level niv attribute
2020-01-11 21:08:38 +01:00
Nicolas Mattia
2b21ab646f
Merge pull request #180 from nmattia/nm-readme-nixpkgs
Add README instructions for installing niv from nixpkgs
2020-01-11 20:02:32 +01:00
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
d891455d5b Add README instructions for installing niv from nixpkgs 2020-01-11 19:49:07 +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