nixpkgs-suyu/pkgs/applications
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
..
altcoins FreeBSD patches for miniupnpc, boost, bitcoin 2016-01-01 16:59:48 +00:00
audio spotify: fix icons 2016-02-01 14:49:43 +01:00
backup/crashplan crashplan: mark as broken 2015-10-13 14:45:18 +02:00
display-managers slim: Sort sessions 2016-01-30 10:47:55 +01:00
editors lighttable: update from 0.7.2 to 0.8.1 2016-01-31 21:12:45 +01:00
gis grass: 7.0.1 -> 7.0.2 2015-12-01 09:15:28 +01:00
graphics synfigstudio: 1.0.1 -> 1.0.2 (close #12308) 2016-01-29 17:20:43 +01:00
inferno xlibs: replace occurrences by xorg 2015-09-15 12:54:34 +02:00
kde-apps-15.12 Remove no longer (or never) referenced patches 2016-01-24 02:02:21 +01:00
misc solaar: fix, partially (close #12685) 2016-02-01 13:21:43 +01:00
networking chromium/plugins: Use @var@ for passing variables 2016-02-02 17:39:08 +01:00
office libreoffice: libgltf src: fix subDir with missing slash in the end 2016-01-21 18:21:53 +01:00
science content: remove 2016-01-30 20:31:05 +00:00
search recoll: use poppler_utils instead of xpdf 2015-10-09 14:25:16 +02:00
taxes Dutch tax office (Belastingdienst) software for entrepreneurs version 2014 2015-10-24 22:10:23 +02:00
version-management Merge pull request #12750 from henrytill/mr 2016-02-01 23:47:45 +01:00
video smtube: 15.11.0 -> 16.1.0 2016-01-29 10:08:29 +01:00
virtualization Add version attribute where maintainers |= nckx 2016-01-25 17:35:21 +01:00
window-managers awesome: 3.5.7 -> 3.5.8 2016-01-31 11:34:10 -02:00