Browse Source

shell.nix: Use pinned <nixpkgs>

consensus
Samuel Dionne-Riel 2 months ago
parent
commit
261057ef0c
  1. 13
      shell.nix

13
shell.nix

@ -1,9 +1,16 @@
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

Loading…
Cancel
Save