diff options
| author | OPNA2608 <christoph.neidahl@gmail.com> | 2021-12-10 14:17:56 +0100 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2021-12-12 18:18:35 +0000 |
| commit | 27f6dfc57e4eeb88aa09e3b906ab5fd9833e25c9 (patch) | |
| tree | bd8cd039676de69ab3bc8359273fdfb3fadc36a0 | |
| parent | Merge #149835: thunderbird: 91.3.2 -> 91.4.0 (into release-21.11) (diff) | |
| download | nixpkgs-27f6dfc57e4eeb88aa09e3b906ab5fd9833e25c9.tar.gz | |
libsidplayfp: fix tests on x86_64-darwin
(cherry picked from commit 875ea5d71bc28581dacd84edf49c71f44ee98a15)
| -rw-r--r-- | pkgs/development/libraries/libsidplayfp/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libsidplayfp/default.nix b/pkgs/development/libraries/libsidplayfp/default.nix index 6e1319dda24f..50e6d8846f23 100644 --- a/pkgs/development/libraries/libsidplayfp/default.nix +++ b/pkgs/development/libraries/libsidplayfp/default.nix @@ -1,6 +1,7 @@ { stdenv , lib , fetchFromGitHub +, fetchpatch , nix-update-script , autoreconfHook , pkg-config @@ -26,6 +27,15 @@ stdenv.mkDerivation rec { sha256 = "sha256-Cu5mZzsqAO4X4Y8QAn851zIFPVPwxj5pB+jvA62L108="; }; + patches = [ + # Fixes test failure on x86_64-darwin + # Drop when fix for https://github.com/libsidplayfp/libsidplayfp/issues/39 in a release (>2.3.1) + (fetchpatch { + url = "https://github.com/libsidplayfp/libsidplayfp/commit/337020a91caa0113de4f4374e0dc770e4056d2c7.patch"; + sha256 = "0sd7bqic8k945f05d8sk9mshf5d90ykd7f5p6m0n6v3jjhpwmqlq"; + }) + ]; + postPatch = '' patchShebangs . ''; |
