mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
aspcud: fix build w/glibc-2.34
Failing Hydra build: https://hydra.nixos.org/build/155189149
This commit is contained in:
parent
84635a6e17
commit
40fc0090fc
1 changed files with 7 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, boost
|
||||
, catch2
|
||||
, clasp
|
||||
, cmake
|
||||
, gringo
|
||||
|
@ -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 ];
|
||||
|
||||
|
@ -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/";
|
||||
|
|
Loading…
Reference in a new issue