diff options
| -rw-r--r-- | flake.nix | 7 | ||||
| -rw-r--r-- | nix/module.nix | 7 |
2 files changed, 14 insertions, 0 deletions
| @@ -49,6 +49,13 @@ | |||
| 49 | nativeBuildInputs = with pkgs; [ pkg-config ]; | 49 | nativeBuildInputs = with pkgs; [ pkg-config ]; |
| 50 | 50 | ||
| 51 | buildInputs = with pkgs; [ openssl ]; | 51 | buildInputs = with pkgs; [ openssl ]; |
| 52 | |||
| 53 | # Skip tests that require git in PATH (sandboxing issue) | ||
| 54 | checkFlags = [ | ||
| 55 | "--skip=git::subprocess::tests::" | ||
| 56 | "--skip=git::tests::" | ||
| 57 | "--skip=purgatory::helpers::tests::" | ||
| 58 | ]; | ||
| 52 | }; | 59 | }; |
| 53 | })) // { | 60 | })) // { |
| 54 | # NixOS module for deployment | 61 | # NixOS module for deployment |
diff --git a/nix/module.nix b/nix/module.nix index cf334f2..126473d 100644 --- a/nix/module.nix +++ b/nix/module.nix | |||
| @@ -17,6 +17,13 @@ let | |||
| 17 | 17 | ||
| 18 | nativeBuildInputs = with pkgs; [ pkg-config ]; | 18 | nativeBuildInputs = with pkgs; [ pkg-config ]; |
| 19 | buildInputs = with pkgs; [ openssl ]; | 19 | buildInputs = with pkgs; [ openssl ]; |
| 20 | |||
| 21 | # Skip tests that require git in PATH (sandboxing issue) | ||
| 22 | checkFlags = [ | ||
| 23 | "--skip=git::subprocess::tests::" | ||
| 24 | "--skip=git::tests::" | ||
| 25 | "--skip=purgatory::helpers::tests::" | ||
| 26 | ]; | ||
| 20 | }; | 27 | }; |
| 21 | 28 | ||
| 22 | # Per-instance options | 29 | # Per-instance options |