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

View File

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