Skip to content

Commit b186b4c

Browse files
HeinrichApfelmusjespercockx
authored andcommitted
Add containers-lib nix package
1 parent e32da26 commit b186b4c

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/workflows/nix-ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
derivation: [agda2hs, base-lib]
27+
derivation: [agda2hs, base-lib, containers-lib]
2828
include:
2929
- pretty: "Compile agda2hs"
3030
derivation: agda2hs
3131
- pretty: "Typecheck with Agda"
3232
derivation: base-lib
33+
- pretty: "Typecheck with Agda"
34+
derivation: containers-lib
3335
steps:
3436
- uses: actions/checkout@v3
3537
- uses: nixbuild/nix-quick-install-action@v30

nix/default.nix

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,17 @@ let
1717
'';
1818
src = ../lib/base;
1919
};
20+
21+
containers-lib = lib.mkDerivation {
22+
pname = "containers";
23+
meta = { };
24+
version = "0.8";
25+
buildInputs = [ base-lib ];
26+
everythingFile = "./agda/containers.agda";
27+
src = ../lib/containers;
28+
};
2029
in
2130
{
2231
inherit (lib) agda2hs;
23-
inherit base-lib;
32+
inherit base-lib containers-lib;
2433
}

0 commit comments

Comments
 (0)