This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ ocamlVersion }:
let
lock = builtins.fromJSON (builtins.readFile ./../../flake.lock);
src = fetchGit {
url = with lock.nodes.nixpkgs.locked; "https://github.com/${owner}/${repo}";
inherit (lock.nodes.nixpkgs.locked) rev;
allRefs = true;
};
nix-filter-src = fetchGit {
url = with lock.nodes.nix-filter.locked; "https://github.com/${owner}/${repo}";
inherit (lock.nodes.nix-filter.locked) rev;
# inherit (lock.nodes.nixpkgs.original) ref;
allRefs = true;
};
nix-filter = import "${nix-filter-src}";
pkgs = import "${src}" {
extraOverlays = [
(self: super: {
ocamlPackages = super.ocaml-ng."ocamlPackages_${ocamlVersion}";
})
];
};
in
pkgs.callPackage ./.. {
inherit nix-filter;
doCheck = true;
}