mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
timescaledb: create $out/bin in order to work around a stupid bug
See #22653 or #38469. 'manveru' reported this on IRC again, but unfortunately a real fix requires a bit more work. In the mean time, this plugs the leak with a bit of duct tape. 'timescale' is an often desired extension and, in the mean time, this workaround means you also do not have to install something like postgis (with a large dependency set) into your closure to get things to work. Ideally in the mean time, *all* postgresql extensions should have $out/bin created for them... Doing this will require more ongoing work, or a proper fix to the buildEnv nonsense going on. Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
7d7d27aca6
commit
8f21a16861
@ -34,6 +34,13 @@ stdenv.mkDerivation rec {
|
||||
done
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
# work around an annoying bug, by creating $out/bin, so buildEnv doesn't freak out later
|
||||
# see https://github.com/NixOS/nixpkgs/issues/22653
|
||||
|
||||
mkdir -p $out/bin
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Scales PostgreSQL for time-series data via automatic partitioning across time and space";
|
||||
homepage = https://www.timescale.com/;
|
||||
|
Loading…
Reference in New Issue
Block a user