Replace nixpkgs.legacyPackages with overlay import
This commit is contained in:
parent
5ecb187c92
commit
675e019f72
|
@ -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])) ];
|
||||||
|
|
Loading…
Reference in New Issue