+ postInstall = old.postInstall + ''
+ # FIXME: hack because mariadb cannot find dialog.so
+ # fixed in 20.03: https://github.com/NixOS/nixpkgs/pull/80768
+ ln -s /nix $out/nix
+ cp "$dev"/lib/mysql/plugin/{caching_sha2_password.so,dialog.so,mysql_clear_password.so,sha256_password.so} "$out"/lib/mysql/plugin
+ '';