{ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self , nixpkgs , flake-utils }: flake-utils.lib.eachDefaultSystem ( system: let pkgs = import nixpkgs { inherit system; }; app = pkgs.callPackage ./app.nix { inherit pkgs; }; deps = with pkgs; with perlPackages; [ perl JSON LWP LWPProtocolHttps PathTiny ]; in with pkgs; { packages.docker = symlinkJoin { name = "docker"; paths = [ perl app ]; meta.priority = 5; }; devShells.default = mkShell { buildInputs = deps; }; } ); }