1
0
Fork 0
nix-overlay/flake.nix

34 lines
731 B
Nix
Raw Normal View History

2021-12-14 17:54:48 +00:00
{
description = "Collection of (useful) tools";
2023-05-10 21:29:38 +00:00
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
2021-12-14 17:54:48 +00:00
2023-05-10 21:29:38 +00:00
neovim-flake = {
url = "github:neovim/neovim?dir=contrib";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs@{ self, nixpkgs, ... }: {
2021-12-14 17:54:48 +00:00
packages = nixpkgs.lib.genAttrs
[
"aarch64-darwin"
"x86_64-darwin"
2022-07-31 18:41:26 +00:00
"aarch64-linux"
"x86_64-linux"
2021-12-14 17:54:48 +00:00
]
(system: import ./packages.nix {
inherit system;
2021-12-18 18:41:03 +00:00
inherit (nixpkgs) lib;
2023-05-10 21:29:38 +00:00
2021-12-14 17:54:48 +00:00
pkgs = nixpkgs.legacyPackages.${system};
2023-05-10 21:29:38 +00:00
otherPkgs = {
neovim = inputs.neovim-flake.packages.${system};
};
2021-12-14 17:54:48 +00:00
});
overlay = import ./overlay.nix;
};
}