[Nix-dev] SVN commit r32596
Corey O'Connor
coreyoconnor at gmail.com
Wed Mar 14 04:41:45 CET 2012
> That commit was reverted on the stdenv-updates branch and never made it
> into trunk.
Ah! Clearly not the culprit then.
> For me evince fails already with:
> checking for KEYRING... configure: error: Package requirements (gnome-keyring-1 >= 2.22.0) were not met:
>
> No package 'gnome-keyring-1' found
Hm. Looks like I had --disable-keyring already in the evince
default.nix. Aside from disabling keyring support I am not sure how to
resolve that issue.
>> diff --git a/pkgs/desktops/gnome-2/desktop/gnome-doc-utils/default.nix
>> b/pkgs/desktops/gnome-2/desktop/gnome-doc-utils/default.nix
>> index 4953c86..ef85e6f 100644
>> --- a/pkgs/desktops/gnome-2/desktop/gnome-doc-utils/default.nix
>> +++ b/pkgs/desktops/gnome-2/desktop/gnome-doc-utils/default.nix
>> @@ -10,8 +10,12 @@ stdenv.mkDerivation {
>> };
>>
>> configureFlags = "--disable-scrollkeeper";
>> - buildInputs = [ python libxml2Python libxslt ];
>> - postInstall = "wrapPythonPrograms";
>> + buildInputs = [ python libxml2Python libxslt makeWrapper ];
>> +# postInstall = "wrapPythonPrograms";
>> + postInstall = ''
>> + wrapProgram $out/bin/xml2po --prefix PYTHONPATH : $(toPythonPath $out) \
>> + ''${PYTHONPATH:+ --prefix PYTHONPATH : $PYTHONPATH} \
>> + '';
>>
>> buildNativeInputs = [ pkgconfig intltool pythonPackages.wrapPython ];
>> }
With --disable-keyring and the above patch I was able to build evince.
On a side note: Using github would make tracking this much easier.
Their pull-request interface is quite nice ^_^
Cheers,
Corey
More information about the nix-dev
mailing list