Add packages to flake.nix
This commit is contained in:
parent
b4a20d7c3a
commit
c30851d6e9
18
flake.nix
18
flake.nix
@ -1,5 +1,19 @@
|
||||
{
|
||||
outputs = {...}: {
|
||||
bscOverlay = import ./overlay.nix;
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user