Merge pull request #193454 from Lyndeno/1password-sign-fix
This commit is contained in:
commit
88d667588d
2 changed files with 4 additions and 4 deletions
|
@ -120,8 +120,8 @@ in stdenv.mkDerivation rec {
|
||||||
cp -a resources/icons $out/share
|
cp -a resources/icons $out/share
|
||||||
|
|
||||||
interp="$(cat $NIX_CC/nix-support/dynamic-linker)"
|
interp="$(cat $NIX_CC/nix-support/dynamic-linker)"
|
||||||
patchelf --set-interpreter $interp $out/share/1password/{1password,1Password-BrowserSupport,1Password-KeyringHelper}
|
patchelf --set-interpreter $interp $out/share/1password/{1password,1Password-BrowserSupport,1Password-KeyringHelper,op-ssh-sign}
|
||||||
patchelf --set-rpath ${rpath}:$out/share/1password $out/share/1password/{1password,1Password-BrowserSupport,1Password-KeyringHelper}
|
patchelf --set-rpath ${rpath}:$out/share/1password $out/share/1password/{1password,1Password-BrowserSupport,1Password-KeyringHelper,op-ssh-sign}
|
||||||
for file in $(find $out -type f -name \*.so\* ); do
|
for file in $(find $out -type f -name \*.so\* ); do
|
||||||
patchelf --set-rpath ${rpath}:$out/share/1password $file
|
patchelf --set-rpath ${rpath}:$out/share/1password $file
|
||||||
done
|
done
|
||||||
|
|
|
@ -120,8 +120,8 @@ in stdenv.mkDerivation rec {
|
||||||
cp -a resources/icons $out/share
|
cp -a resources/icons $out/share
|
||||||
|
|
||||||
interp="$(cat $NIX_CC/nix-support/dynamic-linker)"
|
interp="$(cat $NIX_CC/nix-support/dynamic-linker)"
|
||||||
patchelf --set-interpreter $interp $out/share/1password/{1password,1Password-BrowserSupport,1Password-KeyringHelper}
|
patchelf --set-interpreter $interp $out/share/1password/{1password,1Password-BrowserSupport,1Password-KeyringHelper,op-ssh-sign}
|
||||||
patchelf --set-rpath ${rpath}:$out/share/1password $out/share/1password/{1password,1Password-BrowserSupport,1Password-KeyringHelper}
|
patchelf --set-rpath ${rpath}:$out/share/1password $out/share/1password/{1password,1Password-BrowserSupport,1Password-KeyringHelper,op-ssh-sign}
|
||||||
for file in $(find $out -type f -name \*.so\* ); do
|
for file in $(find $out -type f -name \*.so\* ); do
|
||||||
patchelf --set-rpath ${rpath}:$out/share/1password $file
|
patchelf --set-rpath ${rpath}:$out/share/1password $file
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue