1
0
Fork 0
packages/flake.nix

39 lines
713 B
Nix

{
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 {
#inherit (localPkgs)
# foo
# bar
# ;
};
};
}