Skip to content

Packaged for nixpkgs #1

@thenonameguy

Description

@thenonameguy

Hi!

I found this extension really cool, so I packaged it for easy installation via the Nix package manager:
NixOS/nixpkgs#198073 waiting for it to be merged

Now it's this easy to include in any application:

           (pkgs.postgresql_13.withPackages
-            (p: [ p.pg_cron p.plpgsql_check p.pg_partman ]))
+            (p: [ p.pg_cron p.plpgsql_check p.pg_partman p.pg_relusage ]))

You can try it out here:

➜  ~ nix build --impure --expr 'with builtins.getFlake "github:thenonameguy/nixpkgs/pg_relusage"; with legacyPackages.${builtins.currentSystem}; postgresql_13.withPackages (p: [ p.pg_relusage ])'

➜  ~ fd relusage ./result
./result/lib/pg_relusage.so
./result/share/postgresql/extension/pg_relusage--0.0.1.sql
./result/share/postgresql/extension/pg_relusage.control

Feel free to mention this in your README.md once it gets mainlined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions