-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathflake.nix
More file actions
41 lines (35 loc) · 763 Bytes
/
flake.nix
File metadata and controls
41 lines (35 loc) · 763 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
36
37
38
39
40
41
{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs =
{
self,
nixpkgs,
}:
let
x86-linux = "x86_64-linux";
arm-linux = "aarch64-linux";
arm-macos = "aarch64-darwin";
in
{
devShell.aarch64-darwin =
with nixpkgs.legacyPackages.aarch64-darwin;
mkShell {
buildInputs = [
go
gopls
gofumpt
gotools
delve
buf
protobuf
protoc-gen-go
protoc-gen-go-grpc
];
TUSK_AUTH0_CLIENT_ID = "L9gLDU0uTEEdSb0CWVA9TURyNgiFYuki";
TUSK_AUTH0_AUDIENCE = "drift-cli";
};
};
}