plasma5Packages.accounts-qt: fixup a hack that broke

https://hydra.nixos.org/build/229681745/nixlog/2/tail
For context see commits 91e2f185c0 and f1d5f9766e.
This commit is contained in:
Vladimír Čunát
2023-07-31 08:19:02 +02:00
parent 28f4120163
commit c706309a9f
@@ -14,8 +14,10 @@ mkDerivation rec {
propagatedBuildInputs = [ glib libaccounts-glib ];
nativeBuildInputs = [ doxygen pkg-config qmake ];
# Hack to avoid TMPDIR in RPATHs.
preFixup = ''rm -rf "$(pwd)" '';
# remove forbidden reference to $TMPDIR
preFixup = ''
patchelf --shrink-rpath --allowed-rpath-prefixes "/nix/store" "$out"/bin/*
'';
meta = with lib; {
description = "Qt library for accessing the online accounts database";