insync: use autoPatchelfHook to fix warning (#92463)

wip/yesman
marius851000 4 years ago committed by GitHub
parent daec48f47c
commit be048e3b89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      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
'';

Loading…
Cancel
Save