-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathflake.nix
More file actions
35 lines (31 loc) · 997 Bytes
/
flake.nix
File metadata and controls
35 lines (31 loc) · 997 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
description = "";
inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.0.tar.gz";
inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.drpc.url = "github:storj/drpc/v0.0.34";
outputs = { self, nixpkgs, drpc, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {
inherit system;
config = { allowUnfree = true; };
};
# any-protoc-gen-gogofaster = pkgs.callPackage ./nix/any-protoc-gen-gogofaster.nix {};
# protoc-gen-go-drpc = drpc.defaultPackage.${system};
in {
devShell = pkgs.mkShell {
name = "any-sync";
nativeBuildInputs = [
# our forked proto generator
# any-protoc-gen-gogofaster
# drpc generator
# protoc-gen-go-drpc
pkgs.go_1_24
# pkgs.gox
pkgs.protobuf3_21
pkgs.pkg-config
pkgs.pre-commit
# todo: govvv, not packaged
];
};
});
}