{ description = "A flake for dump1090 with DL0XK patches."; inputs = { # Pointing to the current stable release of nixpkgs. You can # customize this to point to an older version or unstable if you # like everything shining. # # E.g. # # nixpkgs.url = "github:NixOS/nixpkgs/unstable"; nixpkgs.url = "github:NixOS/nixpkgs/23.05"; }; outputs = inputs@{ self, nixpkgs, ... }: let lib = nixpkgs.lib; allSystems = [ "x86_64-linux" "aarch64-linux" "armv6l-linux" ]; crossPkgs-aarch64-linux = import nixpkgs { localSystem = "x86_64-linux"; crossSystem = "aarch64-linux"; }; crossPkgs-armv6l-linux = import nixpkgs { localSystem = "x86_64-linux"; crossSystem = "armv6l-linux"; }; in { formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt; packages = { x86_64-linux = { default = nixpkgs.legacyPackages.x86_64-linux.callPackage ./default.nix { }; cross-aarch64-linux = crossPkgs-aarch64-linux.callPackage ./default.nix { }; cross-armv6l-linux = crossPkgs-armv6l-linux.callPackage ./default.nix { }; }; aarch64-linux.default = nixpkgs.legacyPackages.aarch64-linux.callPackage ./default.nix { }; armv6l-linux.default = nixpkgs.legacyPackages.armv6l-linux.callPackage ./default.nix { }; }; }; }