Skip to content

Commit 1da2372

Browse files
authored
Revert to 24.11; use OCaml 5.1 for legacy packages (#11)
* revert to 24.11 * ci ver * ocaml ver * parsynt ocaml ver
1 parent c4b9ade commit 1da2372

File tree

5 files changed

+13
-9
lines changed

5 files changed

+13
-9
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ jobs:
1919
cachixName:
2020
- mistzzt
2121
nixPath:
22-
- nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/nixpkgs-unstable.tar.gz
23-
- nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/nixos-unstable.tar.gz
22+
- nixpkgs=channel:nixos-24.11
2423
runs-on: ubuntu-latest
2524
env:
2625
NIXPKGS_ALLOW_UNFREE: '1'

flake.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
description = "NUR repository of program synthesis tools";
3-
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
3+
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
44
outputs = {
55
self,
66
nixpkgs,

pkgs/Synduce/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22
fetchFromGitHub,
33
lib,
44
makeWrapper,
5-
ocamlPackages,
5+
ocaml-ng,
66
z3,
77
cvc4,
88
cvc5,
99
}: let
10+
ocamlPackages = ocaml-ng.ocamlPackages_5_1;
11+
1012
parsexp_io = ocamlPackages.buildDunePackage rec {
1113
pname = "parsexp_io";
1214
version = "v0.17.0";

pkgs/parsynt/default.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22
fetchFromGitHub,
33
lib,
44
makeWrapper,
5-
ocamlPackages,
5+
ocaml-ng,
66
z3,
77
racket,
88
}:
9+
let
10+
ocamlPackages = ocaml-ng.ocamlPackages_5_1;
11+
in
912
ocamlPackages.buildDunePackage rec {
1013
pname = "Parsynt";
1114
version = "0-unstable-2021-12-15";

0 commit comments

Comments
 (0)