It wasn’t clear to me which arguments(?) were needed to build the package other than running the nix and getting an error. Even then it wasn’t obvious I needed kerberos: error: Function called without required argument "krb" at /Users/dom/nixpkgs/pkgs/servers/sql/postgresql/ext/pgaudit.nix:1, did you mean "arb", "grb" or "k3b"?
The PR always asks for lots of information and I have no idea how to answer. I think I should have named my PR or my commit message differently at least but which one?
I seem to have to have my own copy of nixpkgs to test the PR. Obviously I need that at the end but do I really have to build everything when I am just experimenting? Is there a way of testing my derivation(?) with my current set of packages?
I am testing / using my derivation as below but is this a good way of using it? Caveat: I know little about postgres.
I think I answered my own question but it may still be of interest - I wanted to add audits to a postgres server but the https://github.com/pgaudit/pgaudit extension wasn’t available so I wrote this https://github.com/NixOS/nixpkgs/pull/208250.
I have several questions:
It wasn’t clear to me which arguments(?) were needed to build the package other than running the nix and getting an error. Even then it wasn’t obvious I needed kerberos:
error: Function called without required argument "krb" at /Users/dom/nixpkgs/pkgs/servers/sql/postgresql/ext/pgaudit.nix:1, did you mean "arb", "grb" or "k3b"?
https://github.com/NixOS/nixpkgs/pull/208250/files#diff-b14917f724238c95c3cbc09f6d71504d240da722d61661acfd00a2f146f128d1R21 I didn’t add this at first but corrected the error. How would I know to add it?
The PR always asks for lots of information and I have no idea how to answer. I think I should have named my PR or my commit message differently at least but which one?
I seem to have to have my own copy of nixpkgs to test the PR. Obviously I need that at the end but do I really have to build everything when I am just experimenting? Is there a way of testing my derivation(?) with my current set of packages?
I am testing / using my derivation as below but is this a good way of using it? Caveat: I know little about postgres.