anchor.diff:          --replace 'DESTINATION "''${PG_SHAREDIR}/extension"' "DESTINATION \"$out/share/extension\""
       done
   
  -    for x in src/CMakeLists.txt src/loader/CMakeLists.txt; do
  +    for x in src/CMakeLists.txt src/loader/CMakeLists.txt tsl/src/CMakeLists.txt; do
         substituteInPlace "$x" \
           --replace 'DESTINATION ''${PG_PKGLIBDIR}' "DESTINATION \"$out/lib\""
       done
  
positive.code:     description = "Scales PostgreSQL for time-series data via automatic partitioning across time and space";
      homepage    = https://www.timescale.com/;
      maintainers = with maintainers; [ volth ];
      platforms   = platforms.linux;
      license     = licenses.asl20;
    };
  }
  
negative.code: 
  stdenv.mkDerivation rec {
    name = "timescaledb-${version}";
    version = "1.2.2";
  
    nativeBuildInputs = [ cmake ];
    buildInputs = [ postgresql openssl ];
  