vs-overlay/flake.nix

25 lines
677 B
Nix
Raw Normal View History

2021-02-22 02:42:22 +01:00
{
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;
2021-02-22 02:42:22 +01:00
}
);
in
{
overlay = import ./default.nix;
packages = forAllSystems (system: {
inherit (nixpkgsFor.${system})
getnative
vapoursynthPlugins;
});
};
}