blob: c7683a2175221d2b5790f22a42c1598f8dc2c4f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{ cleanCargoSource, inputs, installShellFiles, runCommand }:
{
name = "enstate";
# The populated source, as for the NixOS module.
src = cleanCargoSource "enstate" inputs.enstate;
# From the source as built, which can be a checkout instead.
extraPaths = { src }: [
(runCommand "enstate-bash-completion" {
nativeBuildInputs = [ installShellFiles ];
} /* sh */ ''
installShellCompletion --bash ${src}/share/bash-completion/completions/enstate
'')
];
}
|