hxwrap/flake.nix

22 lines
558 B
Nix
Raw Normal View History

2024-08-19 20:23:12 +00:00
{
description = "A wrapper for Helix that provides language support";
2024-10-31 23:39:10 +00:00
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2024-08-19 20:23:12 +00:00
outputs = {nixpkgs, ...}: let
supportedSystems = nixpkgs.lib.systems.flakeExposed;
forAllSupportedSystems = f:
nixpkgs.lib.genAttrs supportedSystems (
system:
f (import nixpkgs {
inherit system;
config.allowUnfree = true;
})
);
in {
packages = forAllSupportedSystems (pkgs: {
2024-12-14 08:37:14 +00:00
default = pkgs.callPackage ./package.nix {};
2024-08-19 20:23:12 +00:00
});
};
}