diff options
author | lassulus <lass@aidsballs.de> | 2015-10-25 21:27:14 +0100 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-10-25 21:27:14 +0100 |
commit | cc5220a4477e290f1833e609fed1e0f9f56e4a41 (patch) | |
tree | f7032b6126c6daac3e2d2e5ad9c5d628a7a3e34a /tv/5pkgs | |
parent | ace11d79badafce313b17c968701739513e95982 (diff) | |
parent | cca25c7b66c44e0ec826d466bd48f2463df03fe9 (diff) |
Merge remote-tracking branch 'pnp/master'
Diffstat (limited to 'tv/5pkgs')
-rw-r--r-- | tv/5pkgs/default.nix | 7 | ||||
-rw-r--r-- | tv/5pkgs/ff/default.nix | 8 |
2 files changed, 10 insertions, 5 deletions
diff --git a/tv/5pkgs/default.nix b/tv/5pkgs/default.nix index 4175292f2..3cfa8f863 100644 --- a/tv/5pkgs/default.nix +++ b/tv/5pkgs/default.nix @@ -1,9 +1,6 @@ { pkgs, ... }: -let - inherit (pkgs) callPackage; -in - { - viljetic-pages = callPackage ./viljetic-pages {}; + ff = pkgs.callPackage ./ff {}; + viljetic-pages = pkgs.callPackage ./viljetic-pages {}; } diff --git a/tv/5pkgs/ff/default.nix b/tv/5pkgs/ff/default.nix new file mode 100644 index 000000000..2db404030 --- /dev/null +++ b/tv/5pkgs/ff/default.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: + +pkgs.writeScriptBin "ff" '' + #! ${pkgs.bash}/bin/bash + exec sudo -u ff -i <<EOF + exec ${pkgs.firefoxWrapper}/bin/firefox $(printf " %q" "$@") + EOF +'' |