Making wrapFirefox also propagate the browser to the userenv, so it gets

the manpages. That's useful for vimperator2 for example.


svn path=/nixpkgs/trunk/; revision=33417
This commit is contained in:
Lluís Batlle i Rossell 2012-03-25 20:21:45 +00:00
parent 778abfc6c0
commit 00dc25ba43

View File

@ -32,6 +32,10 @@ stdenv.mkDerivation {
mkdir -p $out/share/applications
cp $desktopItem/share/applications/* $out/share/applications
# For manpages, in case the program supplies them
mkdir -p $out/nix-support
echo ${browser} > $out/nix-support/propagated-user-env-packages
'';
# Let each plugin tell us (through its `mozillaPlugin') attribute