mirror of
https://github.com/NixOS/nix
synced 2025-06-29 14:53:16 +02:00
buildNoTests
: Restore intent
The thing we wanted to test was that building Nix without building or
running tests, and without depending on libraries only needed by tests,
works.
But since 6c8f4ef350
, we can also install
unit tests, and during the conversion to using `package.nix` this
started happening more often (they go to a separate output though, so
this should be fine).
This adds more `... = false` to restore the original intent: don't run
unit test or functional tests, and don't install unit tests.
This commit is contained in:
parent
86e9244437
commit
7b8af5f916
1 changed files with 5 additions and 5 deletions
10
flake.nix
10
flake.nix
|
@ -234,11 +234,11 @@
|
||||||
buildNoGc = forAllSystems (system: self.packages.${system}.nix.overrideAttrs (a: { configureFlags = (a.configureFlags or []) ++ ["--enable-gc=no"];}));
|
buildNoGc = forAllSystems (system: self.packages.${system}.nix.overrideAttrs (a: { configureFlags = (a.configureFlags or []) ++ ["--enable-gc=no"];}));
|
||||||
|
|
||||||
buildNoTests = forAllSystems (system:
|
buildNoTests = forAllSystems (system:
|
||||||
self.packages.${system}.nix.overrideAttrs (a: {
|
self.packages.${system}.nix.override {
|
||||||
doCheck =
|
doCheck = false;
|
||||||
assert ! a?dontCheck;
|
doInstallCheck = false;
|
||||||
false;
|
installUnitTests = false;
|
||||||
})
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
# Perl bindings for various platforms.
|
# Perl bindings for various platforms.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue