mirror of
https://github.com/status-im/status-react.git
synced 2025-01-09 18:46:19 +00:00
Jakub Sokołowski
d0f76c5412
Notable package upgrades: | Software | Old | New | |-----------|--------------|---------------| | Glibc | `2.32` | `2.33` | | BinUtils | `2.35.1` | `2.35.2` | | CoreUtils | `8.32` | `9.0` | | OpenSSL | `1.1.1k` | `1.1.1l` | | Git | `2.31.1` | `2.33.1` | | GCC | `8.4.0` | `8.5.0` | | Clojure | `1.10.3.855` | `1.10.3.1029` | | Node.js | `12.22.1` | `12.22.7` | | Yarn | `1.22.10` | `1.22.17` | 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 = "status-im";
|
|
repo = "nixpkgs";
|
|
rev = "15111f8a9ad423d300886b537647691c2faa28cd";
|
|
sha256 = "05ny644x3dpxigljnb4rmams5vrs5gkbcyqjfamvlqm8rdmsi0kn";
|
|
# 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 ];
|
|
}
|