zsh/neovim: initial bits for ocaml/opam support.. maybe

This commit is contained in:
Aaron Bieber 2023-12-15 05:35:06 -07:00
parent 1552820345
commit 6bd1373eab
No known key found for this signature in database
3 changed files with 40 additions and 1 deletions

View File

@ -146,7 +146,6 @@ let
in
{
environment.systemPackages = with pkgs; [
nixpkgs-fmt
elmPackages.elm
elmPackages.elm-format
elmPackages.elm-language-server
@ -160,9 +159,14 @@ in
luaformatter
luajitPackages.lua-lsp
manix
nixpkgs-fmt
nodejs
nodePackages.prettier
nodePackages.typescript-language-server
ocaml
ocamlPackages.ocamlformat
ocamlPackages.utop
opam
perl
perlPackages.PerlCritic
perlPackages.PLS

View File

@ -64,6 +64,8 @@
fi
}
#[[ ! -r $HOME/.opam/opam-init/init.zsh ]] || source $HOME/.opam/opam-init/init.zsh > /dev/null 2> /dev/null
eval "$(direnv hook zsh)"
'';
};

33
pkgs/tic-80.nix Normal file
View File

@ -0,0 +1,33 @@
{ lib
, stdenv
, fetchFromGitHub
, pkgs
, ...
}:
stdenv.mkDerivation rec {
pname = "tic-80";
version = "1.1.2837";
src = fetchFromGitHub {
owner = "nesbox";
repo = "TIC-80";
rev = "v${version}";
sha256 = "";
};
nativeBuildInputs = with pkgs; [
gcc
pkg-config
SDL2
ruby
lua
];
meta = with lib; {
description = "Fantasy computer for making, playing and sharing games.";
homepage = "https://tic80.com";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ qbit ];
};
}