mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
nixdirfmt + getAlias function
This commit is contained in:
parent
589bef29fa
commit
5da38c626d
7 changed files with 89 additions and 83 deletions
|
|
@ -1,34 +1,35 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
let initvim = pkgs.callPackage
|
||||
({ stdenv, elinks, nodejs }: stdenv.mkDerivation {
|
||||
name = "init.vim";
|
||||
src = ./init.vim;
|
||||
inherit nodejs elinks;
|
||||
buildInputs = [
|
||||
elinks
|
||||
nodejs
|
||||
];
|
||||
phases = [ "buildPhase" ];
|
||||
buildPhase = ''
|
||||
substituteAll $src $out
|
||||
'';
|
||||
})
|
||||
{ };
|
||||
let
|
||||
initvim = pkgs.callPackage
|
||||
({ stdenv, elinks, nodejs }: stdenv.mkDerivation {
|
||||
name = "init.vim";
|
||||
src = ./init.vim;
|
||||
inherit nodejs elinks;
|
||||
buildInputs = [
|
||||
elinks
|
||||
nodejs
|
||||
];
|
||||
phases = [ "buildPhase" ];
|
||||
buildPhase = ''
|
||||
substituteAll $src $out
|
||||
'';
|
||||
})
|
||||
{ };
|
||||
cocvim = pkgs.callPackage
|
||||
({ stdenv, elinks, nodejs }: stdenv.mkDerivation {
|
||||
name = "coc.vim";
|
||||
src = ./coc.vim;
|
||||
inherit nodejs;
|
||||
buildInputs = [
|
||||
nodejs
|
||||
];
|
||||
phases = [ "buildPhase" ];
|
||||
buildPhase = ''
|
||||
substituteAll $src $out
|
||||
'';
|
||||
})
|
||||
{ };
|
||||
({ stdenv, elinks, nodejs }: stdenv.mkDerivation {
|
||||
name = "coc.vim";
|
||||
src = ./coc.vim;
|
||||
inherit nodejs;
|
||||
buildInputs = [
|
||||
nodejs
|
||||
];
|
||||
phases = [ "buildPhase" ];
|
||||
buildPhase = ''
|
||||
substituteAll $src $out
|
||||
'';
|
||||
})
|
||||
{ };
|
||||
in
|
||||
{
|
||||
programs.neovim = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue