Skip to content

Commit 03010c0

Browse files
ManifoldFRnim65s
authored andcommitted
flake.nix : add catch2 dep
1 parent ad294b4 commit 03010c0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

flake.nix

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
};
2525
packages = {
2626
default = self'.packages.py-aligator;
27-
aligator = pkgs.aligator.overrideAttrs {
27+
aligator = pkgs.aligator.overrideAttrs (super: {
2828
src = lib.fileset.toSource {
2929
root = ./.;
3030
fileset = lib.fileset.unions [
@@ -40,7 +40,10 @@
4040
./tests
4141
];
4242
};
43-
};
43+
checkInputs = super.checkInputs ++ [
44+
pkgs.catch2_3
45+
];
46+
});
4447
py-aligator = pkgs.python3Packages.toPythonModule (self'.packages.aligator.overrideAttrs (super:{
4548
cmakeFlags = super.cmakeFlags ++ [
4649
(lib.cmakeBool "BUILD_PYTHON_INTERFACE" true)

0 commit comments

Comments
 (0)