Compare commits
2 Commits
d0413239cd
...
9575e785fa
| Author | SHA1 | Date | |
|---|---|---|---|
|
9575e785fa
|
|||
|
38ba80c08b
|
@@ -12,6 +12,8 @@
|
||||
};
|
||||
|
||||
config = lib.mkIf config.workstation.enable {
|
||||
programs.nix-ld.enable = true;
|
||||
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
logDriver = "json-file";
|
||||
|
||||
@@ -19,6 +19,20 @@ pkgs.rustPlatform.buildRustPackage {
|
||||
|
||||
buildType = "debug";
|
||||
|
||||
nativeBuildInputs = [ pkgs.installShellFiles ];
|
||||
|
||||
preBuild = ''
|
||||
mkdir -p completions
|
||||
'';
|
||||
|
||||
SHELL_COMPLETIONS_DIR = "completions";
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --bash completions/ahab.bash
|
||||
installShellCompletion --zsh completions/_ahab
|
||||
installShellCompletion --fish completions/ahab.fish
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "ahab";
|
||||
homepage = "https://git.janezic.dev/janezicmatej/ahab";
|
||||
|
||||
Reference in New Issue
Block a user