From 00dc25ba430a0392d689a1a0ed3fff06e124c3cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sun, 25 Mar 2012 20:21:45 +0000 Subject: [PATCH] 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 --- pkgs/applications/networking/browsers/firefox/wrapper.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/networking/browsers/firefox/wrapper.nix b/pkgs/applications/networking/browsers/firefox/wrapper.nix index a89db87809bb..b937615b2aef 100644 --- a/pkgs/applications/networking/browsers/firefox/wrapper.nix +++ b/pkgs/applications/networking/browsers/firefox/wrapper.nix @@ -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