This commit is contained in:
parent
8d08b321b3
commit
546341fbc9
7 changed files with 20 additions and 18 deletions
|
@ -1,4 +1,9 @@
|
|||
{ pkgs, prev, ... }:
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
prev,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (pkgs) callPackage;
|
||||
|
@ -30,7 +35,7 @@ in
|
|||
todos-edit = callPackage ./todos-edit.nix { };
|
||||
unmounter = callPackage ./unmounter.nix { };
|
||||
update-all-git-repos = callPackage ./update-all-git-repos.nix { };
|
||||
vix = callPackage ./vix.nix { };
|
||||
vic = callPackage ./vic.nix { inherit inputs; };
|
||||
zet-new = callPackage ./zet-new.nix { };
|
||||
|
||||
vimPlugins = prev.vimPlugins // vimPlugins;
|
||||
|
|
9
packages/vic.nix
Executable file
9
packages/vic.nix
Executable file
|
@ -0,0 +1,9 @@
|
|||
{ inputs, pkgs }:
|
||||
|
||||
pkgs.writeShellApplication rec {
|
||||
name = "vic";
|
||||
|
||||
runtimeInputs = with pkgs; [ neovim tmux ];
|
||||
|
||||
text = builtins.readFile "${inputs.rwxrob-dot}/scripts/${name}";
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
{ pkgs }:
|
||||
|
||||
pkgs.writeShellApplication {
|
||||
name = "vix";
|
||||
|
||||
runtimeInputs = with pkgs; [ neovim ];
|
||||
|
||||
text = ''
|
||||
cmd=$(command -v "$1")
|
||||
test -n "$cmd" && exec "$EDITOR" "$cmd"
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue