mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 15:48:16 +00:00
postgresqlTestHook: mark as broken for darwin
Due to: https://github.com/NixOS/nix/issues/12548 https://git.lix.systems/lix-project/lix/issues/691
This commit is contained in:
parent
7a35667a1c
commit
dec961382c
@ -1,8 +1,14 @@
|
||||
{ callPackage, makeSetupHook }:
|
||||
{
|
||||
callPackage,
|
||||
makeSetupHook,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
makeSetupHook {
|
||||
name = "postgresql-test-hook";
|
||||
passthru.tests = {
|
||||
simple = callPackage ./test.nix { };
|
||||
};
|
||||
# See comment in postgresql's generic.nix doInstallCheck section.
|
||||
meta.broken = stdenv.hostPlatform.isDarwin;
|
||||
} ./postgresql-test-hook.sh
|
||||
|
@ -219,7 +219,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
];
|
||||
|
||||
# sandboxing issues on aarch64-darwin, see https://github.com/NixOS/nixpkgs/issues/198495
|
||||
doCheck = postgresql.doCheck;
|
||||
doCheck = !postgresqlTestHook.meta.broken;
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
Loading…
Reference in New Issue
Block a user