# SPDX-FileCopyrightText: 2024 Ryan Cao # # SPDX-License-Identifier: GPL-3.0-only { lib, pkgsCross, nix-filter, self, }: let crossTargets = [ pkgsCross.musl64.pkgsStatic pkgsCross.aarch64-multiplatform.pkgsStatic ]; in builtins.listToAttrs ( map ( pkgs: let package = pkgs.callPackage ./package.nix { inherit nix-filter self; }; in lib.nameValuePair (builtins.parseDrvName package.name).name package ) crossTargets )