{ description = "Manage PS2 ISOs for OPL"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; }; outputs = { nixpkgs, ... }: let systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; forAllSystems = nixpkgs.lib.genAttrs systems; nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; }); in { packages = forAllSystems ( system: let pkgs = nixpkgsFor.${system}; in { default = pkgs.buildGoModule { pname = "opl-cli"; version = "0.1.0"; src = ./.; vendorHash = "sha256-ccQXtk5sermupvnnn75V9tVZ3MkFts23fhTVVt/XKvw="; }; } ); }; }