From be048e3b8950ceecffd71b45f1c658b6447b3fae Mon Sep 17 00:00:00 2001 From: marius851000 Date: Tue, 7 Jul 2020 16:30:59 +0200 Subject: [PATCH] insync: use autoPatchelfHook to fix warning (#92463) --- pkgs/applications/networking/insync/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/insync/default.nix b/pkgs/applications/networking/insync/default.nix index 773a07dd6c2..c864754403c 100644 --- a/pkgs/applications/networking/insync/default.nix +++ b/pkgs/applications/networking/insync/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, makeWrapper }: +{ stdenv, fetchurl, makeWrapper, autoPatchelfHook }: stdenv.mkDerivation rec { pname = "insync"; @@ -14,6 +14,8 @@ stdenv.mkDerivation rec { buildInputs = [ makeWrapper ]; + nativeBuildInputs = [ autoPatchelfHook ]; + postPatch = '' patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" client/insync-portable '';