about summary refs log tree commit diff
path: root/pkgs/applications/video/losslesscut-bin/build-from-appimage.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/video/losslesscut-bin/build-from-appimage.nix')
-rw-r--r--pkgs/applications/video/losslesscut-bin/build-from-appimage.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/video/losslesscut-bin/build-from-appimage.nix b/pkgs/applications/video/losslesscut-bin/build-from-appimage.nix
index b6aa8009dcd0..c72568d3805d 100644
--- a/pkgs/applications/video/losslesscut-bin/build-from-appimage.nix
+++ b/pkgs/applications/video/losslesscut-bin/build-from-appimage.nix
@@ -22,6 +22,8 @@ in
 appimageTools.wrapType2 {
   inherit pname version src;
 
+  nativeBuildInputs = [ makeWrapper ];
+
   profile = ''
     export LC_ALL=C.UTF-8
   '';
@@ -38,7 +40,6 @@ appimageTools.wrapType2 {
     cp ${extracted}/losslesscut.desktop $out/share/applications
     substituteInPlace $out/share/applications/losslesscut.desktop \
       --replace AppRun losslesscut
-    source "${makeWrapper}/nix-support/setup-hook"
     wrapProgram "$out/bin/losslesscut" \
       --add-flags "--disable-seccomp-filter-sandbox"
   '';