Add packages to flake.nix

This commit is contained in:
Rodrigo Arias 2023-08-31 12:40:54 +02:00
parent b4a20d7c3a
commit c30851d6e9

View File

@ -1,5 +1,19 @@
{
outputs = {...}: {
inputs = {
nixpkgs.url = "nixpkgs";
};
outputs = { self, nixpkgs, ...}:
let
pkgs = import nixpkgs {
# For now we only support x86
system = "x86_64-linux";
overlays = [ self.overlays.default ];
};
in
{
bscOverlay = import ./overlay.nix;
overlays.default = self.bscOverlay;
packages.x86_64-linux = pkgs;
};
}