rename host-pkgs -> hostPkgs
This commit is contained in:
@@ -184,8 +184,8 @@
|
|||||||
imgs = mapAttrValues (host: host.config.system.build.img) self.nixosConfigurations;
|
imgs = mapAttrValues (host: host.config.system.build.img) self.nixosConfigurations;
|
||||||
|
|
||||||
# unofficial output
|
# unofficial output
|
||||||
host-pkgs = mapAttrValues (host: host.config.system.build.pkgs) self.nixosConfigurations;
|
hostPkgs = mapAttrValues (host: host.config.system.build.pkgs) self.nixosConfigurations;
|
||||||
host-programs = mapAttrValues (host: mapAttrValues (p: p.package) host.config.sane.programs) self.nixosConfigurations;
|
hostPrograms = mapAttrValues (host: mapAttrValues (p: p.package) host.config.sane.programs) self.nixosConfigurations;
|
||||||
|
|
||||||
overlays = {
|
overlays = {
|
||||||
# N.B.: `nix flake check` requires every overlay to take `final: prev:` at defn site,
|
# N.B.: `nix flake check` requires every overlay to take `final: prev:` at defn site,
|
||||||
|
@@ -24,7 +24,7 @@ in
|
|||||||
config = mkMerge [
|
config = mkMerge [
|
||||||
(mkIf cfg.enable {
|
(mkIf cfg.enable {
|
||||||
# enable opt-in emulation of any package at runtime.
|
# enable opt-in emulation of any package at runtime.
|
||||||
# i.e. `nix build '.#host-pkgs.moby.bash' ; qemu-aarch64 ./result/bin/bash`.
|
# i.e. `nix build '.#hostPkgs.moby.bash' ; qemu-aarch64 ./result/bin/bash`.
|
||||||
sane.programs.qemu.enableFor.user.colin = true;
|
sane.programs.qemu.enableFor.user.colin = true;
|
||||||
# serve packages to other machines that ask for them
|
# serve packages to other machines that ask for them
|
||||||
sane.services.nixserve.enable = true;
|
sane.services.nixserve.enable = true;
|
||||||
|
@@ -30,8 +30,7 @@ let
|
|||||||
});
|
});
|
||||||
in {
|
in {
|
||||||
# 2023/07/27
|
# 2023/07/27
|
||||||
# 4 tests fail when building `host-pkgs.moby.emulated.elfutils`
|
# 4 tests fail when building `hostPkgs.moby.emulated.elfutils`
|
||||||
# it might be enough to only disable checks when targeting aarch64, which could reduce rebuilds?
|
|
||||||
elfutils = dontCheckAarch64 prev.elfutils;
|
elfutils = dontCheckAarch64 prev.elfutils;
|
||||||
|
|
||||||
# 2023/07/31
|
# 2023/07/31
|
||||||
|
Reference in New Issue
Block a user