My overlay does not seem to work on this flake. Tests for the overlayed package are still running. Any ideas how to write this better?
{
inputs = {
nixpkgs.url = github:NixOS/nixpkgs/nixos-23.05;
firmware = {
url = "github:raspberrypi/firmware";
flake = false;
};
};
outputs = { self, nixpkgs, firmware }:
let
overlays = [ (self: super: {
libxcrypt = super.libxcrypt.overrideAttrs (old: { doCheck = false; });
pcre = super.pcre.overrideAttrs (old: { doCheck = false; });
rhash = super.rhash.overrideAttrs (old: { doCheck = false; });
libuv = super.libuv.overrideAttrs (old: { doCheck = false; });
dejagnu = super.dejagnu.overrideAttrs (old: { doCheck = false; });
meson = super.meson.overrideAttrs (old: { doCheck = false; });
})];
pkgs = import <nixpkgs> { inherit overlays; config = {}; };
in
{
packages.armv7l-linux = let
platforms = (import <nixpkgs> { inherit overlays; config = {}; }).platforms;
in {
rpi_image = (import ./default.nix {
extraModules = [
./rpi_image.nix
{ system.build.rpi_firmware = firmware; }
];
platform = system: platforms.raspberrypi2;
system = "armv7l-linux";
inherit nixpkgs;
}).config.system.build.rpi_image;
};
};
}