mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-25 10:12:25 +01:00
Simon Bruder
9ae72167c4
Some packages are unfree, since they are lacking a license. This makes them usable via the package output of the flake. If you use the overlay, the configuration from the nixpkgs instance using the overlay will be respected.
25 lines
677 B
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;
|
|
});
|
|
};
|
|
}
|