Merge pull request #37831 from dtzWill/fix/celt-0.5.1-disable-broken-tests
celt-0.5.1: disable tests that fail to build due to bad code
This commit is contained in:
commit
49726921d5
@ -7,4 +7,11 @@ callPackage ./generic.nix (args // rec{
|
||||
url = "http://downloads.xiph.org/releases/celt/celt-${version}.tar.gz";
|
||||
sha256 = "0bkam9z5vnrxpbxkkh9kw6yzjka9di56h11iijikdd1f71l5nbpw";
|
||||
};
|
||||
|
||||
# Don't build tests due to badness with ec_ilog
|
||||
prePatch = ''
|
||||
substituteInPlace Makefile.in \
|
||||
--replace 'SUBDIRS = libcelt tests' \
|
||||
'SUBDIRS = libcelt'
|
||||
'';
|
||||
})
|
||||
|
@ -1,5 +1,6 @@
|
||||
{ stdenv, version, src
|
||||
, liboggSupport ? true, libogg ? null # if disabled only the library will be built
|
||||
, prePatch ? ""
|
||||
, ...
|
||||
}:
|
||||
|
||||
@ -10,6 +11,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
inherit src;
|
||||
|
||||
inherit prePatch;
|
||||
|
||||
buildInputs = []
|
||||
++ stdenv.lib.optional liboggSupport libogg;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user