diff options
author | tv <tv@krebsco.de> | 2015-11-20 16:59:15 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-11-20 16:59:15 +0100 |
commit | 2650803ff620e35de22ad91226f30d2b4ab9404f (patch) | |
tree | a76771e8df1eb1ce5056ed0f930c51db06998350 /mv/5pkgs/default.nix | |
parent | 817a78c711b8448f1020b010aef8d9fcf6c9c77a (diff) |
mv pkgs ff: don't sudo
Diffstat (limited to 'mv/5pkgs/default.nix')
-rw-r--r-- | mv/5pkgs/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mv/5pkgs/default.nix b/mv/5pkgs/default.nix index a852c2424..0c72c450e 100644 --- a/mv/5pkgs/default.nix +++ b/mv/5pkgs/default.nix @@ -12,7 +12,11 @@ --disk-cache-size=50000000 \ "%@" ''; - ff = pkgs.callPackage ./ff {}; + ff = pkgs.writeScriptBin "ff" '' + #! /bin/sh + set -efu + exec ${pkgs.firefoxWrapper}/bin/firefox $(printf " %q" "$@") + ''; xmonad-tv = let src = pkgs.writeNixFromCabal "xmonad-tv.nix" ./xmonad-tv; in pkgs.haskellPackages.callPackage src {}; |