about summary refs log tree commit diff
path: root/overrides
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-03-23T21·46+0200
committertazjin <mail@tazj.in>2021-03-23T23·55+0000
commitaaaadbbcdc8234a5cdafa9591b823acddb3897da (patch)
tree13c6d7d59f6fb024fc5f8810c82fb1ace5b4d4b5 /overrides
parent77141525ad9a891bac829d015e486bf9004b48cf (diff)
chore: Remove //overrides from depot r/2325
This mechanism wasn't actually used for anything other than a minor
external compatibility thing for buildGo.nix, which can also be solved
with a function parameter.

This breaks //fun/gemma because it means that the elmPackages used to
build it are no longer reachable from depot. We'll sort this out later.

Change-Id: I1bf2240435e869cdc4e99bdd1a138fdd2e76f96e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2646
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'overrides')
-rw-r--r--overrides/default.nix13
-rw-r--r--overrides/elmPackages/default.nix10
2 files changed, 0 insertions, 23 deletions
diff --git a/overrides/default.nix b/overrides/default.nix
deleted file mode 100644
index 8bc49dec47..0000000000
--- a/overrides/default.nix
+++ /dev/null
@@ -1,13 +0,0 @@
-# This file is used to move things from nested attribute sets to the
-# top-level.
-{ depot, ... }:
-
-{
-  buildGo = depot.nix.buildGo; # TODO(tazjin): remove this
-
-  # These packages must be exposed for compatibility with buildGo.
-  #
-  # Despite buildGo being tracked in this tree, I want it to be possible
-  # for external users to import it with the default nixpkgs layout.
-  inherit (depot.third_party) go ripgrep;
-}
diff --git a/overrides/elmPackages/default.nix b/overrides/elmPackages/default.nix
deleted file mode 100644
index 3df44420a6..0000000000
--- a/overrides/elmPackages/default.nix
+++ /dev/null
@@ -1,10 +0,0 @@
-# Gemma needs an older version of Elm to be built. Updating it to
-# the newer version is a lot of effort.
-{ pkgs, ... }:
-
-(import (pkgs.fetchFromGitHub {
-  owner = "NixOS";
-  repo = "nixpkgs";
-  rev = "14f9ee66e63077539252f8b4550049381a082518";
-  sha256 = "1wn7nmb1cqfk2j91l3rwc6yhimfkzxprb8wknw5wi57yhq9m6lv1";
-}) {}).elmPackages