nix: upgrade nixpkgs to include xcodeWrapper fixes
Fixes: - https://github.com/NixOS/nixpkgs/pull/204278 - https://github.com/NixOS/nixpkgs/pull/228696 Other notable upgrades: - Bash from `5.1` to `5.2` - Binutils from `2.39` to `2.40` - GnuAWK from `5.1.1` to `5.2.1` - GCC from `11.3.0` to `12.2.0` - GNU Make from `4.3` to `4.4.1` - Git from `4.8` to `4.9` - Go from `1.19.2` to `1.19.8` - Android SDK tools from `33.0.2` to `33.0.3` Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
ebf997bf63
commit
3f932fa938
11
shell.nix
11
shell.nix
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
/* This should match Nixpkgs commit in status-mobile. */
|
/* This should match Nixpkgs commit in status-mobile. */
|
||||||
source ? builtins.fetchTarball {
|
source ? builtins.fetchTarball {
|
||||||
url = "https://github.com/NixOS/nixpkgs/archive/579238da5f431b7833a9f0681663900aaf0dd1e8.zip";
|
url = "https://github.com/NixOS/nixpkgs/archive/8fd4097529b4a71e0de000c90c8c4279f534eada.zip";
|
||||||
sha256 = "sha256:0a77c8fq4145k0zdmsda9cmhfw84ipf9nhvvn0givzhza1500g3h";
|
sha256 = "sha256:174p05mzfqk56l4lqvwkbqka4qi5imbd75xaaw4bzmr00bails9f";
|
||||||
},
|
},
|
||||||
pkgs ? import (source){
|
pkgs ? import (source){
|
||||||
config = {
|
config = {
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
(self: super: {
|
(self: super: {
|
||||||
androidPkgs = pkgs.androidenv.composeAndroidPackages {
|
androidPkgs = pkgs.androidenv.composeAndroidPackages {
|
||||||
toolsVersion = "26.1.1";
|
toolsVersion = "26.1.1";
|
||||||
platformToolsVersion = "33.0.2";
|
platformToolsVersion = "33.0.3";
|
||||||
buildToolsVersions = [ "31.0.0" ];
|
buildToolsVersions = [ "31.0.0" ];
|
||||||
platformVersions = [ "31" ];
|
platformVersions = [ "31" ];
|
||||||
cmakeVersions = [ "3.18.1" ];
|
cmakeVersions = [ "3.18.1" ];
|
||||||
|
@ -35,7 +35,10 @@ let
|
||||||
/* No Android SDK for Darwin aarch64. */
|
/* No Android SDK for Darwin aarch64. */
|
||||||
isMacM1 = stdenv.isDarwin && stdenv.isAarch64;
|
isMacM1 = stdenv.isDarwin && stdenv.isAarch64;
|
||||||
/* Lock requires Xcode verison. */
|
/* Lock requires Xcode verison. */
|
||||||
xcodeWrapper = pkgs.xcodeenv.composeXcodeWrapper { version = "14.3"; };
|
xcodeWrapper = pkgs.xcodeenv.composeXcodeWrapper {
|
||||||
|
version = "14.3";
|
||||||
|
allowHigher = true;
|
||||||
|
};
|
||||||
/* Gomobile also needs the Xcode wrapper. */
|
/* Gomobile also needs the Xcode wrapper. */
|
||||||
gomobileMod = pkgs.gomobile.override {
|
gomobileMod = pkgs.gomobile.override {
|
||||||
inherit xcodeWrapper;
|
inherit xcodeWrapper;
|
||||||
|
|
Loading…
Reference in New Issue