diff options
| -rw-r--r-- | flake.nix | 12 | ||||
| -rw-r--r-- | test/configuration.nix (renamed from tests/fortify/configuration.nix) | 0 | ||||
| -rw-r--r-- | test/default.nix (renamed from tests/fortify/default.nix) | 2 | ||||
| -rw-r--r-- | test/test.py (renamed from tests/fortify/test.py) | 0 |
4 files changed, 7 insertions, 7 deletions
@@ -57,6 +57,12 @@ ; in { + fortify = callPackage ./test { inherit system self; }; + race = callPackage ./test { + inherit system self; + withRace = true; + }; + formatting = runCommandLocal "check-formatting" { nativeBuildInputs = [ nixfmt-rfc-style ]; } '' cd ${./.} @@ -85,12 +91,6 @@ touch $out ''; - - fortify = callPackage ./tests/fortify { inherit system self; }; - race = callPackage ./tests/fortify { - inherit system self; - withRace = true; - }; } ); diff --git a/tests/fortify/configuration.nix b/test/configuration.nix index 0ac867af..0ac867af 100644 --- a/tests/fortify/configuration.nix +++ b/test/configuration.nix diff --git a/tests/fortify/default.nix b/test/default.nix index 4342567f..d803a235 100644 --- a/tests/fortify/default.nix +++ b/test/default.nix @@ -22,7 +22,7 @@ nixosTest { # Run with Go race detector: environment.fortify = lib.mkIf withRace rec { # race detector does not support static linking - package = (pkgs.callPackage ../../package.nix { }).overrideAttrs (previousAttrs: { + package = (pkgs.callPackage ../package.nix { }).overrideAttrs (previousAttrs: { GOFLAGS = previousAttrs.GOFLAGS ++ [ "-race" ]; }); fsuPackage = options.environment.fortify.fsuPackage.default.override { fortify = package; }; diff --git a/tests/fortify/test.py b/test/test.py index 4a7de1ee..4a7de1ee 100644 --- a/tests/fortify/test.py +++ b/test/test.py |
