summary refs log tree commit diff
path: root/pkgs/applications/video/peek
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2018-04-21 13:06:23 +0100
committerJörg Thalheim <joerg@thalheim.io>2018-04-21 13:14:07 +0100
commit680b16ee86a82705a4cc53cd243c1cdfdba33050 (patch)
tree158ebb0160ebc993a74e6c4090f85d63ca91ce27 /pkgs/applications/video/peek
parent558464b8cb73b5de51054cf2c8144582e04458a6 (diff)
downloadnixpkgs-680b16ee86a82705a4cc53cd243c1cdfdba33050.tar
nixpkgs-680b16ee86a82705a4cc53cd243c1cdfdba33050.tar.gz
nixpkgs-680b16ee86a82705a4cc53cd243c1cdfdba33050.tar.bz2
nixpkgs-680b16ee86a82705a4cc53cd243c1cdfdba33050.tar.lz
nixpkgs-680b16ee86a82705a4cc53cd243c1cdfdba33050.tar.xz
nixpkgs-680b16ee86a82705a4cc53cd243c1cdfdba33050.tar.zst
nixpkgs-680b16ee86a82705a4cc53cd243c1cdfdba33050.zip
peek: add ffmpeg to PATH
Diffstat (limited to 'pkgs/applications/video/peek')
-rw-r--r--pkgs/applications/video/peek/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/video/peek/default.nix b/pkgs/applications/video/peek/default.nix
index 493cc66b8b3..728f6387ffa 100644
--- a/pkgs/applications/video/peek/default.nix
+++ b/pkgs/applications/video/peek/default.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchFromGitHub, cmake, gettext, libxml2, pkgconfig, txt2man, vala, wrapGAppsHook
-, gsettings-desktop-schemas, gtk3, keybinder3
+, gsettings-desktop-schemas, gtk3, keybinder3, ffmpeg
 }:
 
 stdenv.mkDerivation rec {
@@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
     sha256 = "1fnvlklmg6s5rs3ql74isa5fgdkqqrpsyf8k2spxj520239l4vgb";
   };
 
+  preConfigure = ''
+    gappsWrapperArgs+=(--prefix PATH : ${stdenv.lib.makeBinPath [ ffmpeg ]})
+  '';
+
   nativeBuildInputs = [ cmake gettext pkgconfig libxml2.bin txt2man vala wrapGAppsHook ];
 
   buildInputs = [ gsettings-desktop-schemas gtk3 keybinder3 ];