nixpkgs/pkgs/applications/networking/browsers
aszlig 61042a5b6a
chromium/plugins: Use @var@ for passing variables
There is already a pull request from @colemickens, who has just reversed
the variable references $flash and $flashVersion but the fix is kinda
fragile as he points out himself in #12713.

The reason the wrong substition was made is that both variables begin
with the same name and we do a simple replace instead of a more
complicated one using builtins.match.

So staying simple but to still not raising issues with other variables
that begin with the same name I'm now using @var@ instead, like we use
in substituteAll and other substituters (like the ones in CMake or
autotools) deal with it.

Note that I'm not using $var$ here to make sure it doesn't get confused
with real shell variables.

So with this fix in place, the wrapper now has the following flags:

  --ppapi-flash-path=/nix/store/.../lib/libpepflashplayer.so
  --ppapi-flash-version=20.0.0.294

Previously we had (#12710):

  --ppapi-flash-path=/nix/store/.../lib/libpepflashplayer.so
  --ppapi-flash-version=/nix/store/...-binary-plugins-flashVersion

Thanks to @colemickens for reporting and putting up a pull request.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Fixes: #12710
Fixes: #12713
2016-02-02 17:39:08 +01:00
..
arora
chromium chromium/plugins: Use @var@ for passing variables 2016-02-02 17:39:08 +01:00
conkeror Replace 'with plaforms; platform' with 'platforms.platform' 2015-11-17 21:30:43 +01:00
dillo
dwb
elinks x11: replace its usage by xlibsWrapper directly 2015-09-15 12:08:24 +02:00
firefox firefox: 43.0.4 -> 44.0 2016-02-01 18:10:47 +01:00
firefox-bin firefox-bin: 43.0.4 -> 44.0 2016-01-27 23:34:42 +09:00
google-chrome google-chrome: init at 45.0.2454.101-1 (close #10892) 2015-11-16 15:15:51 +01:00
jumanji jumanji: fixed source 2015-12-15 02:46:04 +09:00
kwebkitpart kde414: build with kdelibs-4.14.12 2015-09-27 15:08:12 -05:00
links2 links: Remove package & deprecate for links2 2016-01-31 11:46:35 +01:00
luakit
lynx
midori midori: add a missing dependency to buildInputs 2015-12-01 00:26:49 +02:00
mozilla-plugins Merge pull request #12577 from zohl/flashplayer 2016-01-26 00:49:02 +03:00
opera opera: fix build 2015-10-10 14:24:05 +03:00
qutebrowser qutebrowser: 0.5.0 -> 0.5.1 2016-01-22 14:19:23 +01:00
rekonq kde414: build with kdelibs-4.14.12 2015-09-27 15:08:12 -05:00
surf surf: move to correct category 2016-01-03 15:49:55 +01:00
uzbl
vimb vimb: 2.9 -> 2.11 2016-01-08 10:57:32 +11:00
vimprobable2
w3m w3m: update to actively maintained debian repo 2016-01-14 13:06:48 +01:00