diff options
author | William A. Kennington III <william@wkennington.com> | 2015-05-02 14:12:53 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-05-03 20:30:10 -0700 |
commit | ca5c9e6cf2ea5a7367154c52b41072722924ef2b (patch) | |
tree | 14b5b25ca1e89785fe3137c81b175a47b4207925 /pkgs | |
parent | 5728c06f8320e134795374f35289ee6590ba2f85 (diff) |
libvorbis: Fix ogg dependency
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/libvorbis/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libvorbis/default.nix b/pkgs/development/libraries/libvorbis/default.nix index 7e34c6e9b9fa6..2ab6f6246726b 100644 --- a/pkgs/development/libraries/libvorbis/default.nix +++ b/pkgs/development/libraries/libvorbis/default.nix @@ -13,6 +13,12 @@ stdenv.mkDerivation rec { doCheck = true; + # Fix header reference + postInstall = '' + sed -i $out/include/vorbis/codec.h \ + -e 's,#include <ogg/ogg.h>,#include "${libogg}/include/ogg/ogg.h",g' + ''; + meta = with stdenv.lib; { homepage = http://xiph.org/vorbis/; license = licenses.bsd3; |