vs-overlay/flake.nix

25 lines
677 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 ];
config.allowUnfree = true;
}
);
in
{
overlay = import ./default.nix;
packages = forAllSystems (system: {
inherit (nixpkgsFor.${system})
getnative
vapoursynthPlugins;
});
};
}