From ca5c9e6cf2ea5a7367154c52b41072722924ef2b Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Sat, 2 May 2015 14:12:53 -0700 Subject: [PATCH] libvorbis: Fix ogg dependency --- pkgs/development/libraries/libvorbis/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) 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;