From c30851d6e90458ba2707520bdc1ca14b66acd429 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Thu, 31 Aug 2023 12:40:54 +0200 Subject: [PATCH] Add packages to flake.nix --- flake.nix | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 266eb61..3757e49 100644 --- a/flake.nix +++ b/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; + }; }