Skip to content

Commit

Permalink
build: upgrade yuujinchou (#54)
Browse files Browse the repository at this point in the history
* build: upgrade yuujinchou

* build: make Nix happy
  • Loading branch information
favonia authored Sep 3, 2023
1 parent 8f9b0aa commit af20e23
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 deletions.
13 changes: 8 additions & 5 deletions flake.lock

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

7 changes: 6 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
{
inputs = {
opam-repository = {
url = "github:ocaml/opam-repository";
flake = false;
};
opam-nix.url = "github:tweag/opam-nix";
opam-nix.inputs.opam-repository.follows = "opam-repository";
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.follows = "opam-nix/nixpkgs";
};
outputs = { self, flake-utils, opam-nix, nixpkgs }@inputs:
outputs = { self, flake-utils, opam-nix, opam-repository, nixpkgs }@inputs:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
Expand Down
3 changes: 1 addition & 2 deletions lib/vernacular/Eff.ml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ struct
type hook = empty
type context = empty
end
module Modifier = Yuujinchou.Modifier.Make(Param)
module Scope = Yuujinchou.Scope.Make(Param)(Modifier)
module Scope = Yuujinchou.Scope.Make(Param)

let load path =
let env = Eff.read () in
Expand Down
2 changes: 1 addition & 1 deletion polytt.opam
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ depends: [
"bantorra"
"bwd" {>= "1.1"}
"cmdliner" {>= "1.1"}
"yuujinchou" {>= "4.0" & < "5.0"}
"yuujinchou" {>= "5.0"}
"containers"
]
build: [
Expand Down

0 comments on commit af20e23

Please sign in to comment.