Skip to content

Instantly share code, notes, and snippets.

View chaoky's full-sized avatar
🦩
in a nix rebound phase

Chaoky chaoky

🦩
in a nix rebound phase
View GitHub Profile
@chaoky
chaoky / full.nix
Last active April 23, 2024 22:17
expo react native nix derivation and shell
# I'm using a wrapped mkNodeModules for pnpm support
# mkYarnModules and importNpmLock are avaible for yarn/npm in nixpkgs
# also using chaoky/gradle-dot-nix fork for the local-repos option
{ pkgs, utils, gradle-dot-nix }:
let
nodejs = pkgs.nodejs_21;
pnpm = pkgs.nodePackages.pnpm;
java = pkgs.jdk17;
androidPkgs = pkgs.androidenv.composeAndroidPackages {