mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
insync: use autoPatchelfHook to fix warning (#92463)
This commit is contained in:
parent
daec48f47c
commit
be048e3b89
@ -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…
Reference in New Issue
Block a user