This commit is contained in:
parent
ae9854f178
commit
ca66e8d7b2
13 changed files with 171 additions and 157 deletions
|
|
@ -13,24 +13,7 @@ inputs@{ machine, ... }:
|
|||
...
|
||||
}:
|
||||
let
|
||||
nvim_mime_types = [
|
||||
"application/x-zerosize"
|
||||
"text/english"
|
||||
"text/plain"
|
||||
"text/x-makefile"
|
||||
"text/x-c++hdr"
|
||||
"text/x-c++src"
|
||||
"text/x-chdr"
|
||||
"text/x-csrc"
|
||||
"text/x-java"
|
||||
"text/x-moc"
|
||||
"text/x-pascal"
|
||||
"text/x-tcl"
|
||||
"text/x-tex"
|
||||
"application/x-shellscript"
|
||||
"text/x-c"
|
||||
"text/x-c++"
|
||||
];
|
||||
nvim_mime_types = (import ../xdg/mimemap.nix).text;
|
||||
desktop-entry-name = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaanvim";
|
||||
desktop-entry = pkgs.makeDesktopItem {
|
||||
name = desktop-entry-name;
|
||||
|
|
@ -55,6 +38,14 @@ inputs@{ machine, ... }:
|
|||
|
||||
packages = with pkgs-unstable; [
|
||||
tree-sitter
|
||||
(pkgs.stdenv.mkDerivation {
|
||||
name = "editor-hax";
|
||||
src = ./.;
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp ./editor-hax.py $out/bin/editor-hax
|
||||
'';
|
||||
})
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue