feat!: many work useles with hemar
This commit is contained in:
17
package/c/hemar/default.nix
Executable file
17
package/c/hemar/default.nix
Executable file
@@ -0,0 +1,17 @@
|
||||
{ postgresql, pkg-config, patchelf }:
|
||||
buildPostgresqlExtension { inherit postgresql; } {
|
||||
pname = "hemar";
|
||||
version = "0.1";
|
||||
src = ./.;
|
||||
|
||||
nativeBuildInputs = [pkg-config c-hectic];
|
||||
|
||||
dontShrinkRPath = true;
|
||||
|
||||
postFixup = ''
|
||||
echo ">>> postFixup running..."
|
||||
${patchelf}/bin/patchelf --set-rpath ${c-hectic}/lib $out/lib/hemar.so
|
||||
'';
|
||||
|
||||
preInstall = ''mkdir $out'';
|
||||
};
|
||||
Reference in New Issue
Block a user