mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
Merge pull request #11802 from obsidiansystems/special-build-jobs-meson
`hydraJobs.build{NoGc,ReadlineNoMarkdown}` build using Meson
This commit is contained in:
commit
b4c05a18b4
@ -73,20 +73,28 @@ in
|
|||||||
(forAllCrossSystems (crossSystem:
|
(forAllCrossSystems (crossSystem:
|
||||||
lib.genAttrs [ "x86_64-linux" ] (system: nixpkgsFor.${system}.cross.${crossSystem}.nixComponents.${pkgName}))));
|
lib.genAttrs [ "x86_64-linux" ] (system: nixpkgsFor.${system}.cross.${crossSystem}.nixComponents.${pkgName}))));
|
||||||
|
|
||||||
buildNoGc = forAllSystems (system:
|
buildNoGc = let
|
||||||
self.packages.${system}.nix.override { enableGC = false; }
|
components = forAllSystems (system:
|
||||||
);
|
nixpkgsFor.${system}.native.nixComponents.overrideScope (self: super: {
|
||||||
|
nix-expr = super.nix-expr.override { enableGC = false; };
|
||||||
|
})
|
||||||
|
);
|
||||||
|
in forAllPackages (pkgName: forAllSystems (system: components.${system}.${pkgName}));
|
||||||
|
|
||||||
buildNoTests = forAllSystems (system: nixpkgsFor.${system}.native.nixComponents.nix-cli);
|
buildNoTests = forAllSystems (system: nixpkgsFor.${system}.native.nixComponents.nix-cli);
|
||||||
|
|
||||||
# Toggles some settings for better coverage. Windows needs these
|
# Toggles some settings for better coverage. Windows needs these
|
||||||
# library combinations, and Debian build Nix with GNU readline too.
|
# library combinations, and Debian build Nix with GNU readline too.
|
||||||
buildReadlineNoMarkdown = forAllSystems (system:
|
buildReadlineNoMarkdown = let
|
||||||
self.packages.${system}.nix.override {
|
components = forAllSystems (system:
|
||||||
enableMarkdown = false;
|
nixpkgsFor.${system}.native.nixComponents.overrideScope (self: super: {
|
||||||
readlineFlavor = "readline";
|
nix-cmd = super.nix-cmd.override {
|
||||||
}
|
enableMarkdown = false;
|
||||||
);
|
readlineFlavor = "readline";
|
||||||
|
};
|
||||||
|
})
|
||||||
|
);
|
||||||
|
in forAllPackages (pkgName: forAllSystems (system: components.${system}.${pkgName}));
|
||||||
|
|
||||||
# Perl bindings for various platforms.
|
# Perl bindings for various platforms.
|
||||||
perlBindings = forAllSystems (system: nixpkgsFor.${system}.native.nixComponents.nix-perl-bindings);
|
perlBindings = forAllSystems (system: nixpkgsFor.${system}.native.nixComponents.nix-perl-bindings);
|
||||||
|
Loading…
Reference in New Issue
Block a user