From 62b20fc86ef14d5e5fa2697872a92a5a6e41068a Mon Sep 17 00:00:00 2001 From: Dmitry V Date: Fri, 19 Sep 2014 09:51:11 +0400 Subject: [PATCH] add symlink to chromium-browser for xdg-open to work as expected --- pkgs/applications/networking/browsers/chromium/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/networking/browsers/chromium/default.nix b/pkgs/applications/networking/browsers/chromium/default.nix index e02232162af1..082e5258b5f4 100644 --- a/pkgs/applications/networking/browsers/chromium/default.nix +++ b/pkgs/applications/networking/browsers/chromium/default.nix @@ -75,6 +75,7 @@ in stdenv.mkDerivation { --set CHROMIUM_SANDBOX_BINARY_PATH "${sandboxBinary}" \ --add-flags "${chromium.plugins.flagsEnabled}" + ln -s "$out/bin/chromium" "$out/bin/chromium-browser" ln -s "${chromium.browser}/share/icons" "$out/share/icons" cp -v "${desktopItem}/share/applications/"* "$out/share/applications" '';