Skip to content

Commit 735f3f7

Browse files
committed
[ nix ] update flake
1 parent 32f956d commit 735f3f7

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

flake.lock

+16-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
22
inputs = {
3+
nixpkgs.url = github:NixOS/nixpkgs/nixos-24.05;
34
opam-nix.url = "github:tweag/opam-nix";
5+
opam-nix.inputs.nixpkgs.follows = "nixpkgs";
46
opam-repository = {
57
url = "github:ocaml/opam-repository";
68
flake = false;
79
};
810
flake-utils.url = "github:numtide/flake-utils";
9-
nixpkgs.follows = "opam-nix/nixpkgs";
1011
};
1112
outputs = { self, flake-utils, opam-nix, nixpkgs, opam-repository }@inputs:
1213
flake-utils.lib.eachDefaultSystem (system:
@@ -42,7 +43,7 @@
4243
query = devPackagesQuery // {
4344
## You can force versions of certain packages here, e.g:
4445
## - force the ocaml compiler to be taken from opam-repository:
45-
ocaml-base-compiler = "5.0.0";
46+
ocaml-base-compiler = "5.2.0";
4647
## - or force the compiler to be taken from nixpkgs and be a certain version:
4748
# ocaml-system = "4.14.0";
4849
## - or force ocamlfind to be a certain version:
@@ -53,7 +54,7 @@
5354
{
5455
# You can add overrides here
5556
};
56-
scope' = scope.overrideScope' overlay;
57+
scope' = scope.overrideScope overlay;
5758
# Packages from devPackagesQuery
5859
devPackages = builtins.attrValues
5960
(pkgs.lib.getAttrs (builtins.attrNames devPackagesQuery) scope');

0 commit comments

Comments
 (0)