all repos

mugit @ eb95e52347d6d03664b898f24ed3c7578d756e6c

๐Ÿฎ git server that your cow will love
1 files changed, 11 insertions(+), 0 deletions(-)
nix: mugit completion (hopefully)
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2026-02-22 13:47:49 +0200
Authored at: 2026-02-22 13:36:05 +0200
Change ID: zvxtmxtxolppypomlkxvyxwqtqxkzlrx
Parent: 14c53fa
M flake.nix
ยทยทยท
        232
        232
         

      
        233
        233
                     users.groups.${cfg.group} = { };

      
        234
        234
         

      
        
        235
        +            environment.systemPackages = lib.mkIf cfg.exposeCli [

      
        
        236
        +              (pkgs.runCommandLocal "mugit-completions" {} ''

      
        
        237
        +                mkdir -p $out/share/bash-completion/completions

      
        
        238
        +                mkdir -p $out/share/zsh/site-functions

      
        
        239
        +                mkdir -p $out/share/fish/vendor_completions.d

      
        
        240
        +                ${cfg.package}/bin/mugit completion bash > $out/share/bash-completion/completions/mugit

      
        
        241
        +                ${cfg.package}/bin/mugit completion zsh  > $out/share/zsh/site-functions/_mugit

      
        
        242
        +                ${cfg.package}/bin/mugit completion fish > $out/share/fish/vendor_completions.d/mugit.fish

      
        
        243
        +              '')

      
        
        244
        +            ];

      
        
        245
        +

      
        235
        246
                     security.wrappers = lib.mkIf cfg.exposeCli {

      
        236
        247
                       mugit = {

      
        237
        248
                         source =