prefix aliases for pijul: pj cl https://nest.pijul.com/jorsn/pj
{
  description = "prefix aliases for pijul";

  inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
  inputs.utils.url = "github:numtide/flake-utils";

  outputs = { self, nixpkgs, utils }:
  {
    overlay = final: prev: {
      pj = import ./default.nix { pkgs = prev; };
    };
  }
  // utils.lib.eachSystem nixpkgs.legacyPackages.x86_64-linux.pijul.meta.platforms (system:
    let pkgs = import nixpkgs { inherit system; overlays = [ self.overlay ]; }; in
    {
      packages = { inherit (pkgs) pj; };

      defaultPackage = self.packages.${system}.pj;

      devShell = import ./shell.nix { inherit pkgs; };

      apps.pj = { type = "app"; program = "${self.packages.${system}.pj}/bin/pj"; };
      defaultApp = self.apps.${system}.pj;
    }
  );
}