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