git.iko.soy/typeable/nixpkgs
on master help sign in
peek: add ffmpeg to PATH
commit680b16ee86a82705a4cc53cd243c1cdfdba33050 authorJörg Thalheim <joerg@thalheim.io> dateSat 21 Apr 2018, 13:06 (9 years ago) parent558464b
1 file changed+5−1
pkgs/applications/video/peek/default.nix+5−1
pkgs/applications/video/peek/default.nix+5−1
@@ -1,5 +1,5 @@
11{ stdenv, fetchFromGitHub, cmake, gettext, libxml2, pkgconfig, txt2man, vala, wrapGAppsHook
2−, gsettings-desktop-schemas, gtk3, keybinder3
2+, gsettings-desktop-schemas, gtk3, keybinder3, ffmpeg
33}:
44
55stdenv.mkDerivation rec {
@@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
1313 sha256 = "1fnvlklmg6s5rs3ql74isa5fgdkqqrpsyf8k2spxj520239l4vgb";
1414 };
1515
16+ preConfigure = ''
17+ gappsWrapperArgs+=(--prefix PATH : ${stdenv.lib.makeBinPath [ ffmpeg ]})
18+ '';
19+
1620 nativeBuildInputs = [ cmake gettext pkgconfig libxml2.bin txt2man vala wrapGAppsHook ];
1721
1822 buildInputs = [ gsettings-desktop-schemas gtk3 keybinder3 ];