mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
Merge pull request #491 from ierton/zathura-fix-file
zathura: fix missing [/bin/]file issue
This commit is contained in:
commit
d2b9e65019
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gtk, girara, gettext, docutils }:
|
||||
{ stdenv, fetchurl, pkgconfig, gtk, girara, gettext, docutils, file, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1ja2j9ygymr259fxf02j1vkvalypac48gpadq8fn3qbclxxj61k5";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig gtk girara gettext ];
|
||||
buildInputs = [ pkgconfig gtk girara gettext makeWrapper ];
|
||||
|
||||
# Bug in zathura build system: we should remove empty manfiles in order them
|
||||
# to be compiled properly
|
||||
@ -22,6 +22,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" "RSTTOMAN=${docutils}/bin/rst2man.py" "VERBOSE=1" ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/zathura" --prefix PATH ":" "${file}/bin"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://pwmt.org/projects/zathura/;
|
||||
description = "A core component for zathura PDF viewer";
|
||||
|
Loading…
Reference in New Issue
Block a user