packages/flake.nix

38 lines
697 B
Nix
Raw Normal View History

2021-03-13 21:34:32 +01:00
{
description = "meterriblecrew.net package flake";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-20.09-small";
outputs = inputs@{ self, nixpkgs }: let
systems = [
"x86_64-linux"
"i686-linux"
"x86_64-darwin"
"aarch64-linux"
"armv6l-linux"
"armv7l-linux"
];
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
in {
nixosModules = {
};
packages = forAllSystems (system: import ./. {
pkgs = import nixpkgs { inherit system; };
});
overlay = next: prev:
let localPkgs = import ./. { pkgs = next; };
in {
2021-03-13 21:38:33 +01:00
inherit (localPkgs)
usrsctp
;
2021-03-13 21:34:32 +01:00
};
};
}