hxwrap/flake.nix
2024-12-14 09:37:14 +01:00

22 lines
558 B
Nix

{
description = "A wrapper for Helix that provides language support";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
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: {
default = pkgs.callPackage ./package.nix {};
});
};
}