nix-qml-support/flake.nix
2024-11-04 01:44:31 -08:00

19 lines
481 B
Nix

{
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
};
outputs = { nixpkgs, ... }: let
forEachSystem = fn: nixpkgs.lib.genAttrs
[ "x86_64-linux" "aarch64-linux" ]
(system: fn system nixpkgs.legacyPackages.${system});
in {
overlays = {
tree-sitter-qmljs = import ./qml-grammar-overlay.nix;
};
packages = forEachSystem (system: pkgs: rec {
qml-ts-mode = pkgs.emacsPackages.callPackage ./emacs-qml-ts-mode.nix {};
});
};
}