29 lines
670 B
Nix
29 lines
670 B
Nix
{
|
|
description = "A wrapper for Helix that provides language support";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
flake-parts,
|
|
} @ inputs:
|
|
flake-parts.lib.mkFlake {inherit inputs;} {
|
|
systems = nixpkgs.lib.systems.flakeExposed;
|
|
|
|
perSystem = {lib, pkgs, ...}: {
|
|
packages = let
|
|
packages = lib.packagesFromDirectoryRecursive {
|
|
inherit (pkgs) callPackage;
|
|
directory = ./packages;
|
|
};
|
|
in packages // {
|
|
default = packages.helix;
|
|
};
|
|
};
|
|
};
|
|
}
|