Skip to content

Commit

Permalink
chore(nix): update flakes and dune-release (#894)
Browse files Browse the repository at this point in the history
* follow nixpkgs-unstable on our own
* use dune-release from nixpkgs
  • Loading branch information
rgrinberg authored Oct 22, 2022
1 parent f1a984a commit 8ee39df
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 16 deletions.
41 changes: 27 additions & 14 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.follows = "opam-nix/nixpkgs";
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
opam-nix = {
url = "github:tweag/opam-nix";
inputs.opam-repository.follows = "opam-repository";
Expand Down Expand Up @@ -34,7 +34,6 @@
cinaps = "*";
ppx_expect = "*";
ocamlfind = "1.9.2";
dune-release = "*";
};
packagesFromNames = set:
(builtins.map (s: builtins.getAttr s scope)
Expand Down Expand Up @@ -79,6 +78,7 @@
git-subrepo
ocamlformat_0_21_0
yarn
dune-release
]) ++ packagesFromNames devPackages;
inputsFrom = [ self.packages.${system}.default ]
++ packagesFromNames localPackages;
Expand Down

0 comments on commit 8ee39df

Please sign in to comment.