Skip to content

Commit

Permalink
build: update to nixos-24.05
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Oct 19, 2024
1 parent cd6207e commit bad9572
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 41 deletions.
115 changes: 87 additions & 28 deletions build/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions build/flake.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11-small";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05-small";

inputs.agenix.url = "github:ryantm/agenix";
inputs.agenix.inputs.nixpkgs.follows = "nixpkgs";
Expand All @@ -10,7 +10,7 @@
inputs.disko.url = "github:nix-community/disko";
inputs.disko.inputs.nixpkgs.follows = "nixpkgs";

inputs.hydra.url = "github:NixOS/hydra/h.n.o-2.19";
inputs.hydra.url = "github:NixOS/hydra";
inputs.hydra.inputs.nixpkgs.follows = "nixpkgs";
inputs.nix.follows = "hydra/nix";

Expand Down Expand Up @@ -54,6 +54,7 @@

nixpkgs.overlays = [
nix.overlays.default
hydra.overlays.default
nixos-channel-scripts.overlays.default
rfc39.overlays.default
];
Expand Down
12 changes: 1 addition & 11 deletions build/hydra.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ in

{
services.hydra-dev.enable = true;
services.hydra-dev.package = pkgs.hydra;
services.hydra-dev.logo = ./hydra-logo.png;
services.hydra-dev.hydraURL = "https://hydra.nixos.org";
services.hydra-dev.notificationSender = "[email protected]";
Expand Down Expand Up @@ -60,17 +61,6 @@ in
</hydra_notify>
'';

# Work around https://github.com/NixOS/hydra/issues/1337
services.hydra-dev.package = pkgs.hydra.overrideAttrs (
_final: prev: {
postPatch = ''
${prev.postPatch or ""}
rm src/lib/Hydra/Plugin/DeclarativeJobsets.pm
rm t/Hydra/Plugin/DeclarativeJobsets/basic.t
'';
}
);

# eats memory as if it was free
systemd.services.hydra-notify.enable = false;

Expand Down

0 comments on commit bad9572

Please sign in to comment.