diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2017-01-05 13:49:44 -0600 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2017-01-17 19:49:30 -0600 |
commit | 2614fa1de05e0dfad6ab717c9b08c55cdd6389ab (patch) | |
tree | 8abf960478d5c92cc913967b062dcd10b0901fd0 /pkgs/development/libraries/portaudio/default.nix | |
parent | 74b206bce2ae81d764cb9eb1239818202435fae1 (diff) |
portaudio: fixup patches
- don't use preBuild for patching - leave all of the tests in place (no tests are run anyway)
Diffstat (limited to 'pkgs/development/libraries/portaudio/default.nix')
-rw-r--r-- | pkgs/development/libraries/portaudio/default.nix | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pkgs/development/libraries/portaudio/default.nix b/pkgs/development/libraries/portaudio/default.nix index b2375fb758376..3882e1fb08a22 100644 --- a/pkgs/development/libraries/portaudio/default.nix +++ b/pkgs/development/libraries/portaudio/default.nix @@ -16,16 +16,12 @@ stdenv.mkDerivation rec { propagatedBuildInputs = stdenv.lib.optionals stdenv.isDarwin [ AudioUnit AudioToolbox CoreAudio CoreServices Carbon ]; - preBuild = stdenv.lib.optionalString stdenv.isDarwin '' + patchPhase = stdenv.lib.optionalString stdenv.isDarwin '' sed -i '50 i\ #include <CoreAudio/AudioHardware.h>\ #include <CoreAudio/AudioHardwareBase.h>\ #include <CoreAudio/AudioHardwareDeprecated.h>' \ include/pa_mac_core.h - - # disable two tests that don't compile - sed -i -e 105d Makefile - sed -i -e 107d Makefile ''; # not sure why, but all the headers seem to be installed by the make install |