1
0
Fork 0
hxwrap/flake.nix

29 lines
670 B
Nix
Raw Normal View History

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