Conversation
|
Result of 10 packages built:
|
pbsds
left a comment
There was a problem hiding this comment.
Impressive! Welcome to nixpkgs!
Please view this opinionated guide regarding the order of attributes in your derivation.
It's absolute, but in general you want native build inputs, followed by propagated inputs, then check inputs. As you read the derivation from top to bottom you want the relevant bits to show up in chronological order.
Please also try to switch to the upstream repositories to fetch the tests properly.
|
@pbsds I've applied your suggestions, but I'm struggling with adding the |
There was a problem hiding this comment.
Huh, that was a deep dive. I think i found the problem: They forgot to enable pep517. Please consider making an issue/pull upstream about it, and link to it next to the fix.
|
@pbsds I had to disable quite a few test as they required a running postgres sever. Is there a way to spin one up, just for the test? |
|
TIL about postgresqlTestHook |
|
Okay, I think everything should work now |
|
LGTM, good work! @ofborg build migra Result of 10 packages built:
|
Description of changes
This adds migra, a diff and migration tool for PostgreSQL schemas, closing package request #196732.
Additionally I added both the
schemainspectandsqlbagpython libraries, as they are requirements for migra and written by the same author.Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)