From 03bfe08e1dd9faf48b06cb146bfa446575cde88a Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 20 Dec 2019 20:18:41 +0000 Subject: chore: Significantly restructure folder layout This moves the various projects from "type-based" folders (such as "services" or "tools") into more appropriate semantic folders (such as "nix", "ops" or "web"). Deprecated projects (nixcon-demo & gotest) which only existed for testing/demonstration purposes have been removed. (Note: *all* builds are broken with this commit) --- tools/gotest/default.nix | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 tools/gotest/default.nix (limited to 'tools/gotest/default.nix') diff --git a/tools/gotest/default.nix b/tools/gotest/default.nix deleted file mode 100644 index 168d15748e1f..000000000000 --- a/tools/gotest/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -# This file demonstrates how to make use of pkgs.buildGo. -# -# It introduces libraries and protobuf support, however gRPC support -# is not yet included. -# -# From the root of this repository this example can be built with -# `nix-build -A tools.gotest` -{ pkgs, ... }: - -let - inherit (pkgs) buildGo; - - somelib = buildGo.package { - name = "somelib"; - srcs = [ ./lib.go ]; - }; - - someproto = buildGo.proto { - name = "someproto"; - proto = ./test.proto; - }; - -in buildGo.program { - name = "gotest"; - srcs = [ ./main.go ]; - deps = [ somelib someproto ]; -} // { meta.enableCI = true; } -- cgit 1.4.1