git.delta.rocks / jrsonnet / refs/commits / dfbdb4ac5bb1

difftreelog

source

pkgs/fleet.nix425 Bsourcehistory
1{2  craneLib,3  installShellFiles,4}:5craneLib.buildPackage rec {6  pname = "fleet";78  src = craneLib.cleanCargoSource (craneLib.path ../.);9  strictDeps = true;1011  cargoExtraArgs = "--locked -p ${pname}";1213  nativeBuildInputs = [installShellFiles];1415  postInstall = ''16    for shell in bash fish zsh; do17      installShellCompletion --cmd fleet \18        --$shell <($out/bin/fleet complete --shell $shell)19    done20  '';21}