vs-overlay/flake.nix
2021-05-29 16:30:09 -06:00

24 lines
640 B
Nix

{
description = "vs-overlay";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
outputs = { self, nixpkgs }:
let
systems = [ "x86_64-linux" "aarch64-linux" "i686-linux" "x86_64-darwin" ];
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
nixpkgsFor = forAllSystems (system:
import nixpkgs {
inherit system;
overlays = [ self.overlay ];
}
);
in
{
overlay = import ./default.nix;
packages = forAllSystems (system: {
inherit (nixpkgsFor.${system})
getnative
vapoursynthPlugins;
});
};
}