From b3c4057f4bcb770785ba7147e40aa98e38171d08 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 14 Dec 2021 17:23:56 +0100 Subject: refactor(3p/gerrit-queue): use go:embed, bump go1.16, drop shell.nix Previously, gerrit-queue used statik to embed files. Since go1.16, we have go:embed, which solves this much nicer, without any requirements to have the statik binary around. As the only other thing the shell.nix and .envrc plumbing did was bring a version of Go in scope, it's dropped now. We assume to have a recent-enough go binary around, else go will complain. Imported from https://github.com/flokli/gerrit-queue/pull/9 Change-Id: I851b06777a29d4f2d955cf3a7db6455a7189bc46 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4329 Tested-by: BuildkiteCI Reviewed-by: tazjin Autosubmit: tazjin --- third_party/gerrit-queue/shell.nix | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 third_party/gerrit-queue/shell.nix (limited to 'third_party/gerrit-queue/shell.nix') diff --git a/third_party/gerrit-queue/shell.nix b/third_party/gerrit-queue/shell.nix deleted file mode 100644 index 7a2d65d59681..000000000000 --- a/third_party/gerrit-queue/shell.nix +++ /dev/null @@ -1,12 +0,0 @@ -let - pkgs = (import (builtins.fetchTarball { - url = "https://github.com/NixOS/nixpkgs/archive/5de728659b412bcf7d18316a4b71d9a6e447f460.tar.gz"; - sha256 = "1bdykda8k8gl2vcp36g27xf3437ig098yrhjp0hclv7sn6dp2w1l"; - })) {}; -in - pkgs.mkShell { - buildInputs = [ - pkgs.go_1_12 - pkgs.statik - ]; - } -- cgit 1.4.1