Loading pkgs/by-name/ne/nexusmods-app/package.nix +14 −1 Original line number Diff line number Diff line Loading @@ -118,7 +118,12 @@ buildDotnetModule (finalAttrs: { "--property:DefineConstants=${lib.strings.concatStringsSep "%3B" constants}" ]; doCheck = true; # Avoid running `dotnet test` in the main package: # - The test-suite is slow # - Some tests fail intermittently # - The package is often uncached; especially the unfree variant # - We can enable tests in a `passthru.tests` override doCheck = false; dotnetTestFlags = [ "--environment=USER=nobody" Loading Loading @@ -174,6 +179,14 @@ buildDotnetModule (finalAttrs: { runHook postInstallCheck ''; passthru.tests = { # Build the package and run `dotnet test` app = finalAttrs.finalPackage.overrideAttrs { pname = "${finalAttrs.pname}-tested"; doCheck = true; }; }; passthru.updateScript = nix-update-script { }; meta = { Loading Loading
pkgs/by-name/ne/nexusmods-app/package.nix +14 −1 Original line number Diff line number Diff line Loading @@ -118,7 +118,12 @@ buildDotnetModule (finalAttrs: { "--property:DefineConstants=${lib.strings.concatStringsSep "%3B" constants}" ]; doCheck = true; # Avoid running `dotnet test` in the main package: # - The test-suite is slow # - Some tests fail intermittently # - The package is often uncached; especially the unfree variant # - We can enable tests in a `passthru.tests` override doCheck = false; dotnetTestFlags = [ "--environment=USER=nobody" Loading Loading @@ -174,6 +179,14 @@ buildDotnetModule (finalAttrs: { runHook postInstallCheck ''; passthru.tests = { # Build the package and run `dotnet test` app = finalAttrs.finalPackage.overrideAttrs { pname = "${finalAttrs.pname}-tested"; doCheck = true; }; }; passthru.updateScript = nix-update-script { }; meta = { Loading