Replace nixpkgs.legacyPackages with overlay import

This commit is contained in:
Tim Van Baak 2022-12-28 12:23:25 -08:00
parent 5ecb187c92
commit 675e019f72
1 changed files with 4 additions and 5 deletions

View File

@ -13,13 +13,12 @@
systems = [ "aarch64-linux" "x86_64-linux" ]; systems = [ "aarch64-linux" "x86_64-linux" ];
each = system: each = system:
let let
pkgs = nixpkgs.legacyPackages.${system}; pkgs = (import nixpkgs {
in
{
packages.${system}.default = (import nixpkgs {
inherit system; inherit system;
overlays = [ self.overlays.default ]; overlays = [ self.overlays.default ];
}).inquisitor; });
in {
packages.${system}.default = pkgs.inquisitor;
devShells.${system}.default = pkgs.mkShell { devShells.${system}.default = pkgs.mkShell {
buildInputs = [ (pkgs.python3.withPackages (p: [p.poetry])) ]; buildInputs = [ (pkgs.python3.withPackages (p: [p.poetry])) ];