{ description = "A bare minimum flake"; inputs = { flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (sys: let pkgs = import nixpkgs { system = sys; }; deps = [ pkgs.cowsay ]; package = pkgs.writeScriptBin "program" "echo mjau | ${pkgs.cowsay}/bin/cowsay -f hellokitty"; in rec { packages.default = package; devShells.default = pkgs.mkShell { packages = deps; }; } ); }