{ cleanCargoSource, inputs, installShellFiles, runCommand }: let # The populated source, as for the NixOS module. src = cleanCargoSource "enstate" inputs.enstate; in { name = "enstate"; inherit src; extraPaths = [ (runCommand "enstate-bash-completion" { nativeBuildInputs = [ installShellFiles ]; } /* sh */ '' installShellCompletion --bash ${src}/share/bash-completion/completions/enstate '') ]; }