shell.nix: Use pinned <nixpkgs>
-with (import ./overlay) {};
+{ pkgs ? import ./pkgs.nix { } }:
+
+let pkgs' = pkgs; in # Break the cycle
+let
+ pkgs = pkgs'.appendOverlays [
+ (import ./overlay/overlay.nix)
+ ];
+in
# A basic shell with some tools available for porting devices.
-mkShell rec {
+pkgs.mkShell rec {
name = "nixos-mobile";
- buildInputs = [
+ buildInputs = with pkgs; [
# Custom tools
mobile-nixos.autoport # Helps users kickstart their ports
