summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix73
1 files changed, 0 insertions, 73 deletions
diff --git a/shell.nix b/shell.nix
deleted file mode 100644
index 2e1133a..0000000
--- a/shell.nix
+++ /dev/null
@@ -1,73 +0,0 @@
-# nix-shell --pure
-
-{pkgs ? import <nixpkgs> {}}: let
- fhs = pkgs.buildFHSUserEnv {
- name = "android-env";
- targetPkgs = pkgs:
- with pkgs; [
- android-tools
- libxcrypt-legacy # libcrypt.so.1
- freetype # libfreetype.so.6
- fontconfig # java NPE: "sun.awt.FontConfiguration.head" is null
- yaml-cpp # necessary for some kernels according to a comment on the gist
-
- bc
- binutils
- bison
- ccache
- curl
- flex
- gcc
- git
- git-repo
- git-lfs
- gnumake
- gnupg
- gperf
- imagemagick
- elfutils
- libxml2
- libxslt
- lz4
- lzop
- m4
- nettools
- openssl.dev
- perl
- pngcrush
- procps
- python3
- rsync
- schedtool
-
- /* SDL */
- squashfsTools
- unzip
- util-linux
- xml2
- zip
- ];
- multiPkgs = pkgs:
- with pkgs; [
- zlib
- ncurses5
- libcxx
- readline
-
- libgcc # crtbeginS.o
- iconv # ??? - i put this here and by the time i went back to remove unecessary packages i forgot why
- iconv.dev # sys/types.h
- ];
- profile = ''
- export USE_CCACHE=1
- export CCACHE_EXEC=/usr/bin/ccache
- export TMPDIR=/tmp
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${pkgs.ncurses5}/lib
- '';
- };
-in
- pkgs.stdenv.mkDerivation {
- name = "android-env-shell";
- nativeBuildInputs = [fhs];
- shellHook = "exec android-env";
- }