mirror of
https://github.com/status-im/status-react.git
synced 2025-01-10 11:06:25 +00:00
Jakub Sokołowski
f402f67b09
Notable version changes: - Coreutils `9.0` to `9.1` - OpenSSL `1.1.1n` to `1.1.1o` - NodeJS `16.14.2` to `16.15.1` - Clojure `1.11.1.1107` to `1.11.1.1113` - Ruby `2.7.5p203` to `2.7.6p219` - Cocoapods `1.11.0` to `1.11.3` - Git `2.35.1` to `2.36.1` - Curl `7.82.0` to `7.83.1` - Android SDK Platform Tools `31.0.3` to `33.0.1` Most important is the Coreutils upgrade to 9.1 which includes a fix for iOS builds on new M1 ARM64 processors: https://github.com/status-im/status-react/issues/12799 Also fixes broken Android SDK builds on Linux due to `auto-patchelf-hook` change: https://github.com/NixOS/nixpkgs/pull/163924 I've fixed this in `nixpkgs` PR: https://github.com/NixOS/nixpkgs/pull/173376 Signed-off-by: Jakub Sokołowski <jakub@status.im>
33 lines
1.1 KiB
Nix
33 lines
1.1 KiB
Nix
# This file controls the pinned version of nixpkgs we use for our Nix environment
|
|
# as well as which versions of package we use, including their overrides.
|
|
{ config ? { } }:
|
|
|
|
let
|
|
inherit (import <nixpkgs> { }) fetchFromGitHub;
|
|
|
|
# For testing local version of nixpkgs
|
|
#nixpkgsSrc = (import <nixpkgs> { }).lib.cleanSource "/home/jakubgs/work/nixpkgs";
|
|
|
|
# We follow the master branch of official nixpkgs.
|
|
nixpkgsSrc = fetchFromGitHub {
|
|
name = "nixpkgs-source";
|
|
owner = "NixOS";
|
|
repo = "nixpkgs";
|
|
rev = "8a782b05cb764db86f2826995adb9128e26dffe2";
|
|
sha256 = "sha256-9+Ys74yxniHBz2/kLVSzboqCNRx1E+Dv/yzSBtw0jDQ=";
|
|
# To get the compressed Nix sha256, use:
|
|
# nix-prefetch-url --unpack https://github.com/${ORG}/nixpkgs/archive/${REV}.tar.gz
|
|
};
|
|
|
|
# Status specific configuration defaults
|
|
defaultConfig = import ./config.nix;
|
|
|
|
# Override some packages and utilities
|
|
pkgsOverlay = import ./overlay.nix;
|
|
in
|
|
# import nixpkgs with a config override
|
|
(import nixpkgsSrc) {
|
|
config = defaultConfig // config;
|
|
overlays = [ pkgsOverlay ];
|
|
}
|