zsh/neovim: initial bits for ocaml/opam support.. maybe
This commit is contained in:
parent
1552820345
commit
6bd1373eab
@ -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
|
||||
|
@ -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
33
pkgs/tic-80.nix
Normal 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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user