Skip to content

Commit

Permalink
nix: disable tests & examples
Browse files Browse the repository at this point in the history
- the tests are not run or even built
- the examples are not installed
so it is better to simply disable them; this also avoids requiring
packages needed only for them.
  • Loading branch information
pinotree committed Jul 30, 2023
1 parent dd29870 commit 33803ba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ stdenv.mkDerivation rec {
sass
pkgconfig
];
cmakeFlags = [
"-Dlager_BUILD_TESTS=OFF"
"-Dlager_BUILD_EXAMPLES=OFF"
];
propagatedBuildInputs = [
boost
deps.cereal
Expand Down

0 comments on commit 33803ba

Please sign in to comment.