diff options
| -rw-r--r-- | pkgs/rust/enstate/default.nix | 17 | ||||
| -rw-r--r-- | sources.json | 4 |
2 files changed, 16 insertions, 5 deletions
diff --git a/pkgs/rust/enstate/default.nix b/pkgs/rust/enstate/default.nix index 9184f217..30682367 100644 --- a/pkgs/rust/enstate/default.nix +++ b/pkgs/rust/enstate/default.nix @@ -1,7 +1,18 @@ -{ cleanCargoSource, inputs }: +{ cleanCargoSource, inputs, installShellFiles, runCommand }: -{ - name = "enstate"; +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 + '') + ]; } diff --git a/sources.json b/sources.json index d1d1a2a9..8cdf7ecb 100644 --- a/sources.json +++ b/sources.json @@ -7,8 +7,8 @@ }, "enstate": { "branch": "master", - "date": "2026-11-30T22:40:32Z", - "rev": "8ffc4414e13ed3e81dfc2841149b9a745722fdb1", + "date": "2026-12-01T00:53:00Z", + "rev": "0a32f2f57d9e928b7f657decd81c0658eb416e37", "url": "https://cgit.krebsco.de/enstate" }, "mobile-nixos": { |
