This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
31
unikernel/duniverse/httpun/nix/ci/test.nix
Normal file
31
unikernel/duniverse/httpun/nix/ci/test.nix
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue