forked from mobile-nixos/mobile-nixos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshell.nix
27 lines (24 loc) · 937 Bytes
/
shell.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ 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.
pkgs.mkShell {
name = "nixos-mobile";
buildInputs = with pkgs; [
# Custom tools
mobile-nixos.autoport # Helps users kickstart their ports
# Third party tools
android-tools # For flashing android devices with fastboot
dtc # For playing around with device tree files
dtbTool # Combines multiple device tree blobs into one image
file # Shows the type of files
lz4 # Decompress image files
mkbootimg # Pack and unpack boot images
python3Packages.binwalk # Search a binary image for embedded files
ubootTools # A couple useful utilities
];
}