1
1
mirror of https://github.com/nmattia/niv.git synced 2024-07-08 20:16:30 +03:00
Commit Graph

459 Commits

Author SHA1 Message Date
Finn Landweber
f7c5388378
hlint refactor (#403)
Was perfomed using `find -name '*.hs' -exec hlint -i "Missing NOINLINE
pragma" -i "Use uncurry" -i "Use const"  --refactor
--refactor-options="--inplace" {} \;`
2024-05-23 11:59:14 +02:00
Finn Landweber
84fed676e4
Add info when init with cached Nixpkgs (#402)
https://github.com/nmattia/niv/issues/384
2024-05-23 10:55:12 +02:00
dependabot[bot]
0ca27c51ab
--- (#401)
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 14:10:48 +02:00
dependabot[bot]
5f0defe2f7
Bump cachix/install-nix-action from 26 to 27 (#400)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 26 to 27.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v26...V27)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 13:27:36 +02:00
Felix Richter
04c1cec148
README: update nixos link to official wiki (#399)
ref: https://github.com/NixOS/foundation/issues/113
2024-05-13 14:11:33 +02:00
dependabot[bot]
6f6529db3a
Bump cachix/install-nix-action from 25 to 26 (#395)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 25 to 26.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v25...v26)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-08 13:52:27 +01:00
LDprg
d67c25f297
Update FAQ to explain submodules (#393)
* Update FAQ to explain submodules

* Update README.md

* Update README.md

* Update README template

---------

Co-authored-by: Nicolas Mattia <nicolas@nmattia.com>
2024-02-22 23:30:27 +01:00
Nicolas Mattia
51216db28d
Update cpp example (#394)
* Update cpp example

This bumps the nixpkgs version and sources.nix in the `cpp-libosmium`
example.

* Bump libosmium
2024-02-22 23:15:52 +01:00
Sivizius
67b245a356
Remove Unnecessary Uses of rec (#390)
* Remove Unnecessary Uses of `rec`

* Bump sources version

---------

Co-authored-by: Nicolas Mattia <nicolas@nmattia.com>
2024-02-21 19:49:09 +01:00
Naïm Favier
290965abaa
Update to optparse-applicative 0.18 (#389) 2024-01-23 11:07:13 +01:00
dependabot[bot]
b0ad17bce7
Bump cachix/cachix-action from 13 to 14 (#387)
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 13 to 14.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v13...v14)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 12:31:36 +01:00
dependabot[bot]
a77f96a496
Bump cachix/install-nix-action from 24 to 25 (#386)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 24 to 25.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v24...v25)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 12:31:25 +01:00
dependabot[bot]
6bd7cd6862
Bump cachix/install-nix-action from 23 to 24 (#383)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 24.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v23...v24)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 15:19:27 +01:00
dependabot[bot]
1d8e2e4d43
Bump cachix/cachix-action from 12 to 13 (#382)
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 12 to 13.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v12...v13)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 15:19:18 +01:00
Nicolas Mattia
7b76374b2b
Update nixpkgs & macos (#381) 2023-11-25 16:41:21 +01:00
eyJhb
723f0eeb96
updated readme from release-21.05 to nixos-unstable (#378) 2023-10-17 11:27:33 +02:00
dependabot[bot]
9341b1027d
Bump actions/checkout from 3 to 4 (#376)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 13:47:24 +02:00
dependabot[bot]
1d057c4a3a
Bump cachix/install-nix-action from 22 to 23 (#375)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 22 to 23.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v22...v23)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 14:34:54 +02:00
dependabot[bot]
914aba08a2
Bump cachix/install-nix-action from 21 to 22 (#373)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 21 to 22.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v21...v22)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 14:11:58 +02:00
dependabot[bot]
0ebb80e003
Bump cachix/install-nix-action from 20 to 21 (#372)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 20 to 21.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...v21)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-25 14:12:37 +02:00
Nicolas Mattia
c0f68a09d6
Use recommended optparse applicative function (#371)
Before this, the build issued a warning suggesting to use
`haskellPackages.generateOptparseApplicativeCompletions`.
2023-05-24 10:41:41 +02:00
Martin Weinelt
7225521219
Update the default nixpkgs to a rolling release (#369)
For security reasons niv should not initialize with a potentially
outdated nixpkgs, that won't receive updates when even when the user
calls `niv update`.
2023-04-26 14:42:25 +02:00
Nicolas Mattia
ecabfde837 Release 0.2.22 2023-03-12 12:44:53 +01:00
Victor Engmark
f275964bb0
refactor: statix recommendations (#363)
* refactor: Inherit where possible

As recommended by `statix check`.

* refactor: Remove unnecessary parentheses

As recommended by `statix check`.

* refactor: Remove unnecessary comparison with `true`

As recommended by `statix check`.

* refactor: Avoid using deprecated `isNull`

As recommended by `statix check` and the documentation
<https://nixos.org/manual/nix/stable/language/builtins.html#builtins-isNull>.

* refactor: Simplify conditionals

As recommended by `statix check`.

* Update sources version

---------

Co-authored-by: Nicolas Mattia <nicolas@nmattia.com>
2023-03-12 12:41:42 +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
dependabot[bot]
320689d737 Bump cachix/cachix-action from 10 to 12
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 10 to 12.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v10...v12)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-07 16:22:26 +01:00
Victor Engmark
40482f05b5 feat: Configure Dependabot for GitHub Actions
Automatically creates PRs for any updated third-party actions.
2023-03-07 10:57:24 +01:00
Victor Engmark
d13000fcea fix: Bump cachix install action
See <https://github.com/cachix/install-nix-action/issues/161>.
2023-03-07 10:27:49 +01:00
Nicolas Mattia
689d0e5539 Update formatting 2022-12-20 11:39:08 +01:00
Nicolas Mattia
6b6fffd73e Update nixpkgs 2022-12-20 11:39:08 +01:00
Nicolas Mattia
0b7666effa Add motivation paragraph to 'Getting Started' 2022-12-20 11:33:53 +01:00
Nicolas Mattia
351d8bc316 Update workflows 2022-10-15 18:04:22 +02:00
Jan Tojnar
acdb172678 Fix GH rate-limiting link 2022-10-11 09:24:39 +02:00
Nicolas Mattia
82e5cd1ad3 Release 0.2.21 2022-05-06 18:02:31 +02:00
Jacek Galowicz
945aa20cd0 Fetch submodules if supported, and warn if submodules are used but not supported 2022-04-27 22:27:24 +02:00
Nicolas Mattia
df49d53b71 Release 0.2.20 2022-04-04 19:06:43 +02:00
Troels Henriksen
2998a663d0 Make tests work with newest Nix. 2022-03-29 13:05:18 +02:00
Troels Henriksen
81192ec553 Fix formatting. 2022-03-29 13:05:18 +02:00
Troels Henriksen
533d1ba912 Fix Nix setup to use aeson 2.
This also bumps the Nixpkgs snapshot.

Hopefully all the gross overrides will go away once aeson 2 becomes
the default in Nixpkgs.
2022-03-29 13:05:18 +02:00
Troels Henriksen
9d09779ad1 Work with (only) aeson 2. 2022-03-29 13:05:18 +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
Nikola Knezevic
b8202cb275 fix: use the same nix path as scripts 2022-03-21 14:01:51 +01:00
Nikola Knezevic
768210efbe Remove custom github actions
This change removes custom github actions and switches to using
install-nix-action.
2022-03-21 14:01:51 +01:00
Nikola Knezevic
788289706e fix: formatting error in sources.nix
This change fixes the issue with sources.nix file that's been failing in
CI. The format was fixed by running `nixpkgs-fmt .` inside of the
nix-shell.
2022-03-21 12:59:38 +01:00
George Shammas
9cb7ef336b Add the ability to pass submodules to builtins.fetchGit 2022-02-07 18:58:44 +01:00
Nicolas Mattia
5830a4dd34 Fix nix.conf 2021-11-08 12:58:57 +01:00
Nicolas Mattia
a751be0775 Workaround nix-shell silliness 2021-11-08 12:58:57 +01:00
Nicolas Mattia
0ff60d5b09 Ad extra-experimental-features 2021-11-08 12:58:57 +01:00
Nicolas Mattia
19545d3926 Bump nixpkgs 2021-11-08 12:58:57 +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