about summary refs log tree commit diff
path: root/ops/nixos/sourcegraph.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ops/nixos/sourcegraph.nix')
-rw-r--r--ops/nixos/sourcegraph.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/ops/nixos/sourcegraph.nix b/ops/nixos/sourcegraph.nix
index f9b2b5e19d33..a24328f3e366 100644
--- a/ops/nixos/sourcegraph.nix
+++ b/ops/nixos/sourcegraph.nix
@@ -1,10 +1,9 @@
 # Run sourcegraph, including its entire machinery, in a container.
 # Running it outside of a container is a futile endeavour for now.
-{ config, pkgs, lib, ... }:
+{ depot, config, pkgs, lib, ... }:
 
 let
   cfg = config.services.depot.sourcegraph;
-  depot = config.depot;
 in {
   options.services.depot.sourcegraph = with lib; {
     enable = mkEnableOption "SourceGraph code search engine";