Skip to content

Commit

Permalink
aspcud: fix build w/glibc-2.34
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma27 committed Feb 27, 2022
1 parent 84635a6 commit 40fc009
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/tools/misc/aspcud/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, stdenv
, fetchFromGitHub
, boost
, catch2
, clasp
, cmake
, gringo
Expand All @@ -19,6 +20,10 @@ stdenv.mkDerivation rec {
hash = "sha256-d04GPMoz6PMGq6iiul0zT1C9Mljdl9uJJ2C8MIwcmaw=";
};

postPatch = ''
cp ${catch2}/include/catch2/catch.hpp libcudf/tests/catch.hpp
'';

nativeBuildInputs = [ cmake ];
buildInputs = [ boost clasp gringo re2c ];

Expand All @@ -28,6 +33,8 @@ stdenv.mkDerivation rec {
"-DASPCUD_CLASP_PATH=${clasp}/bin/clasp"
];

doCheck = true;

meta = with lib; {
description = "Solver for package problems in CUDF format using ASP";
homepage = "https://potassco.org/aspcud/";
Expand Down

0 comments on commit 40fc009

Please sign in to comment.