Stuff
This commit is contained in:
parent
774908425d
commit
02fca8be4c
9 changed files with 88 additions and 41 deletions
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
inputs,
|
||||
self,
|
||||
...
|
||||
}: {
|
||||
{inputs, ...}: {
|
||||
imports = [
|
||||
inputs.flake-parts.flakeModules.easyOverlay
|
||||
];
|
||||
|
@ -21,6 +17,7 @@
|
|||
# Some tree-sitter grammars in nixpksg are built with a too new ABI
|
||||
# https://github.com/NixOS/nixpkgs/issues/209114
|
||||
_module.args.pkgs = inputs.nixpkgs.legacyPackages.${system}.extend (self: super: {
|
||||
indent-bars-source = inputs.indent-bars;
|
||||
tree-sitter-grammars =
|
||||
super.tree-sitter-grammars
|
||||
// {
|
||||
|
|
18
packages/indent-bars.nix
Normal file
18
packages/indent-bars.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
trivialBuild,
|
||||
compat,
|
||||
src,
|
||||
}: let
|
||||
rev = "de347fc7fd2bdb905f95b986460ec485cd047992";
|
||||
in
|
||||
trivialBuild {
|
||||
inherit src;
|
||||
pname = "indent-bars";
|
||||
version = rev;
|
||||
propagatedUserEnvPkgs = [
|
||||
compat
|
||||
];
|
||||
buildInputs = [
|
||||
compat
|
||||
];
|
||||
}
|
|
@ -9,6 +9,7 @@ with epkgs; [
|
|||
nerd-icons-dired
|
||||
treemacs-nerd-icons
|
||||
eat
|
||||
clipetty
|
||||
sideline
|
||||
sideline-flymake
|
||||
delight
|
||||
|
@ -27,6 +28,9 @@ with epkgs; [
|
|||
cape
|
||||
which-key
|
||||
nix-mode
|
||||
unisonlang-mode
|
||||
purescript-mode
|
||||
dhall-mode
|
||||
envrc
|
||||
inheritenv
|
||||
popper
|
||||
|
@ -39,4 +43,8 @@ with epkgs; [
|
|||
haskell-mode
|
||||
terraform-mode
|
||||
diredfl
|
||||
(pkgs.callPackage ./indent-bars.nix {
|
||||
src = pkgs.indent-bars-source;
|
||||
inherit (epkgs) trivialBuild compat;
|
||||
})
|
||||
]
|
||||
|
|
Reference in a new issue