mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 20:02:14 +03:00
djview: fix macOS build
This commit is contained in:
parent
f48cd9503d
commit
c344f46321
@ -1,5 +1,6 @@
|
||||
{ stdenv, fetchurl, pkgconfig
|
||||
, djvulibre, qt4, xorg, libtiff }:
|
||||
, djvulibre, qt4, xorg, libtiff
|
||||
, darwin }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "djview-${version}";
|
||||
@ -12,7 +13,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
buildInputs = [ djvulibre qt4 xorg.libXt libtiff ];
|
||||
buildInputs = [ djvulibre qt4 xorg.libXt libtiff ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.AGL ];
|
||||
|
||||
passthru = {
|
||||
mozillaPlugin = "/lib/netscape/plugins";
|
||||
|
Loading…
Reference in New Issue
Block a user