hxwrap/flake.nix

29 lines
670 B
Nix
Raw Normal View History

2024-08-19 20:23:12 +00:00
{
description = "A wrapper for Helix that provides language support";
2024-12-21 17:44:36 +00:00
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
2024-08-19 20:23:12 +00:00
};
2024-12-21 17:44:36 +00:00
outputs = {
self,
nixpkgs,
flake-parts,
} @ inputs:
flake-parts.lib.mkFlake {inherit inputs;} {
systems = nixpkgs.lib.systems.flakeExposed;
2025-04-19 10:43:12 +00:00
perSystem = {lib, pkgs, ...}: {
packages = let
packages = lib.packagesFromDirectoryRecursive {
inherit (pkgs) callPackage;
directory = ./packages;
};
in packages // {
default = packages.helix;
};
2024-12-21 17:44:36 +00:00
};
};
2024-08-19 20:23:12 +00:00
}