haskellPackages.persistent-postgresql: don't check#84272
haskellPackages.persistent-postgresql: don't check#84272cdepillabout merged 1 commit intoNixOS:haskell-updatesfrom
Conversation
|
Had problem with this (that persistent-postgresql is running tests against an actual local database) 👍 |
|
@turboMaCk persistent-postgresql is marked broken. Can you mark it unbroken? https://discourse.nixos.org/t/video-tutorial-how-to-fix-broken-haskell-packages-in-nix/3968 This appears to build though, so it is fine to merge in after being marked unbroken. |
|
@cdepillabout are you sure it's marked as broken? I admit I had |
|
@turboMaCk Unless I'm doing something wrong, I believe it is: $ hub checkout https://github.com/NixOS/nixpkgs/pull/84272
From github.com:NixOS/nixpkgs
* [new ref] refs/pull/84272/head -> persistent-postgresql
Switched to branch 'persistent-postgresql'
$ nix-build -A haskellPackages.persistent-postgresql
error: Package ‘persistent-postgresql-2.10.1.2’ in pkgs/development/haskell-modules/hackage-packages.nix:186837 is marked as broken, refusing to evaluate.
a) For `nixos-rebuild` you can set
{ nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.
b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
{ allowBroken = true; }
to ~/.config/nixpkgs/config.nix.
(use '--show-trace' to show detailed location information)
$ git grep persistent-postgresql
...
pkgs/development/haskell-modules/configuration-hackage2nix.yaml: - persistent-postgresql |
Test suite requires database. Disabling tests as is done for mysql backend.
7e98670 to
69996c8
Compare
|
You're right sorry. Not sure why I missed it few moments ago. IRemoving |
| vty = self.vty_5_28_2; | ||
| }); | ||
|
|
||
| # Test suite requires database |
There was a problem hiding this comment.
thanks for adding this comment as well
|
Looks good, thanks! |
Disable tests for persistent-postgresql. Test suite now requires database.
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)