diff --git a/pkgs/development/libraries/libvorbis/default.nix b/pkgs/development/libraries/libvorbis/default.nix index 7e34c6e9b9fa..2ab6f6246726 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 ,#include "${libogg}/include/ogg/ogg.h",g' + ''; + meta = with stdenv.lib; { homepage = http://xiph.org/vorbis/; license = licenses.bsd3;