nix: run integration tests with race detector
Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
parent
468696f611
commit
afe6a38ba2
6
test.nix
6
test.nix
@ -110,6 +110,12 @@ nixosTest {
|
|||||||
|
|
||||||
environment.fortify = {
|
environment.fortify = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = (pkgs.callPackage ./package.nix { }).overrideAttrs (previousAttrs: {
|
||||||
|
GOFLAGS = [ "-race" ];
|
||||||
|
|
||||||
|
# required for -race
|
||||||
|
allowGoReference = true;
|
||||||
|
});
|
||||||
stateDir = "/var/lib/fortify";
|
stateDir = "/var/lib/fortify";
|
||||||
users.alice = 0;
|
users.alice = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user