add ereader ci

This commit is contained in:
chayleaf 2024-12-10 20:25:31 +07:00
parent ca770567d6
commit 9ff6bdaad4
Signed by: chayleaf
GPG key ID: 78171AD46227E68E
2 changed files with 3 additions and 1 deletions

View file

@ -203,6 +203,7 @@
hydraJobs = {
server.${config.server.system} = self.nixosConfigurations.server.config.system.build.toplevel;
router.${config.router-emmc.system} = self.nixosConfigurations.router-emmc.config.system.build.toplevel;
ereader.${config.phone.system} = self.nixosConfigurations.ereader.config.system.build.toplevel;
phone.${config.phone.system} = self.nixosConfigurations.phone.config.system.build.toplevel;
phone-home.${config.phone.system} = self.homeConfigurations."user@phone".activation-script;
workstation.${config.nixmsi.system} = self.nixosConfigurations.nixmsi.config.system.build.toplevel;

View file

@ -1,7 +1,8 @@
{ pkgs, ... }:
let
unpatchedNixForNixPlugins = pkgs.nixVersions.nix_2_24;
# TODO: remove after full update
unpatchedNixForNixPlugins = if pkgs?nixVersions.nix_2_25 then pkgs.nixVersions.nix_2_24 else pkgs.nixVersions.nix_2_18;
nixForNixPlugins = unpatchedNixForNixPlugins.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [ ./rename-nix-plugin-files.patch ];
# some tests fail on bcachefs due to insufficient permissions