mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
* chore: Refactor Enterprise code to layer on top of AGPL This is an experiment to invert the import order of the Enterprise code to layer on top of AGPL. * Fix Garrett's comments * Add pointer.Handle to atomically obtain references This uses a context to ensure the same value persists through multiple executions to `Load()`. * Remove entitlements API from AGPL coderd * Remove AGPL Coder entitlements endpoint test * Fix warnings output * Add command-line flag to toggle audit logging * Fix hasLicense being set * Remove features interface * Fix audit logging default * Add bash as a dependency * Add comment * Add tests for resync and pubsub, and add back previous exp backoff retry * Separate authz code again * Add pointer loading example from comment * Fix duplicate test, remove pointer.Handle * Fix expired license * Add entitlements struct * Fix context passing
53 lines
1.2 KiB
Nix
53 lines
1.2 KiB
Nix
{
|
|
description = "Development environments on your infrastructure";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
drpc.url = "github:storj/drpc/v0.0.32";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils, drpc }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in
|
|
{
|
|
formatter = pkgs.nixpkgs-fmt;
|
|
devShells.default = pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
bash
|
|
bat
|
|
drpc.defaultPackage.${system}
|
|
exa
|
|
getopt
|
|
git
|
|
go-migrate
|
|
go_1_19
|
|
golangci-lint
|
|
gopls
|
|
gotestsum
|
|
jq
|
|
nfpm
|
|
nodePackages.typescript
|
|
nodePackages.typescript-language-server
|
|
nodejs
|
|
openssh
|
|
openssl
|
|
postgresql
|
|
protoc-gen-go
|
|
ripgrep
|
|
shellcheck
|
|
shfmt
|
|
sqlc
|
|
terraform
|
|
typos
|
|
yarn
|
|
zip
|
|
zstd
|
|
];
|
|
};
|
|
}
|
|
);
|
|
}
|