Skip to content

Commit

Permalink
hydraJobs.build{NoGc,ReadlineNoMarkdown} build using Meson
Browse files Browse the repository at this point in the history
Getting ready for the complete switch-over

Progress on #2503
  • Loading branch information
Ericson2314 committed Nov 4, 2024
1 parent baea2b9 commit 42b5421
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions packaging/hydra.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,28 @@ in
(forAllCrossSystems (crossSystem:
lib.genAttrs [ "x86_64-linux" ] (system: nixpkgsFor.${system}.cross.${crossSystem}.nixComponents.${pkgName}))));

buildNoGc = forAllSystems (system:
self.packages.${system}.nix.override { enableGC = false; }
);
buildNoGc = let
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);

# Toggles some settings for better coverage. Windows needs these
# library combinations, and Debian build Nix with GNU readline too.
buildReadlineNoMarkdown = forAllSystems (system:
self.packages.${system}.nix.override {
enableMarkdown = false;
readlineFlavor = "readline";
}
);
buildReadlineNoMarkdown = let
components = forAllSystems (system:
nixpkgsFor.${system}.native.nixComponents.overrideScope (self: super: {
nix-cmd = super.nix-cmd.override {
enableMarkdown = false;
readlineFlavor = "readline";
};
})
);
in forAllPackages (pkgName: forAllSystems (system: components.${system}.${pkgName}));

# Perl bindings for various platforms.
perlBindings = forAllSystems (system: nixpkgsFor.${system}.native.nixComponents.nix-perl-bindings);
Expand Down

0 comments on commit 42b5421

Please sign in to comment.