nix: ugprade nixpkgs to match version use in mobile

To match the version we upgrade to in:
https://github.com/status-im/status-mobile/pull/14944

I'm upgrading Protobuf to `3.20` since `3.17` is gone:
```
error: protobuf3_17 does not receive updates anymore and has been removed
```
Not sure if that's a big deal.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-06-30 11:13:16 +02:00
parent 4ad84d80cc
commit 6f849bc6c6
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 3 additions and 3 deletions

View File

@ -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/8fd4097529b4a71e0de000c90c8c4279f534eada.zip"; url = "https://github.com/NixOS/nixpkgs/archive/e7603eba51f2c7820c0a182c6bbb351181caa8e7.tar.gz";
sha256 = "sha256:174p05mzfqk56l4lqvwkbqka4qi5imbd75xaaw4bzmr00bails9f"; sha256 = "sha256:0mwck8jyr74wh1b7g6nac1mxy6a0rkppz8n12andsffybsipz5jw";
}, },
pkgs ? import (source){ pkgs ? import (source){
config = { config = {
@ -50,7 +50,7 @@ in pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
git jq which git jq which
go_1_19 golangci-lint gopls go-bindata gomobileMod go_1_19 golangci-lint gopls go-bindata gomobileMod
mockgen protobuf3_17 protoc-gen-go mockgen protobuf3_20 protoc-gen-go
] ++ lib.optional stdenv.isDarwin xcodeWrapper; ] ++ lib.optional stdenv.isDarwin xcodeWrapper;
shellHook = lib.optionalString (!isMacM1) '' shellHook = lib.optionalString (!isMacM1) ''