nix-qml-support/flake.nix

17 lines
461 B
Nix
Raw Normal View History

2024-11-04 09:38:45 +00:00
{
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 {
packages = forEachSystem (system: pkgs: rec {
tree-sitter-qmljs = pkgs.callPackage ./tree-sitter-qmljs.nix {};
qml-ts-mode = pkgs.emacsPackages.callPackage ./qml-ts-mode.nix {};
});
};
}