From 65953e0913f555e328f1a10d0590f2ccad85873d Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 26 May 2022 14:42:39 +0200 Subject: refactor(3p): Prepare for restricted-eval Change-Id: I1e577400717833c3de75bfef38950565716580bb Reviewed-on: https://cl.tvl.fyi/c/depot/+/5684 Tested-by: BuildkiteCI Reviewed-by: sterni Autosubmit: tazjin --- third_party/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'third_party') diff --git a/third_party/default.nix b/third_party/default.nix index 169727f4b9d6..493301102fd8 100644 --- a/third_party/default.nix +++ b/third_party/default.nix @@ -31,20 +31,20 @@ , ... }: let - eval = import "${pkgs.path}/nixos/lib/eval-config.nix" { + eval = import (pkgs.path + "/nixos/lib/eval-config.nix") { inherit specialArgs system; modules = [ configuration - (import "${depot.path + "/ops/modules/default-imports.nix"}") + (import (depot.path.origSrc + "/ops/modules/default-imports.nix")) ]; }; # This is for `nixos-rebuild build-vm'. - vmConfig = (import "${pkgs.path}/nixos/lib/eval-config.nix" { + vmConfig = (import (pkgs.path + "/nixos/lib/eval-config.nix") { inherit specialArgs system; modules = [ configuration - "${pkgs.path}/nixos/modules/virtualisation/qemu-vm.nix" + (pkgs.path + "/nixos/modules/virtualisation/qemu-vm.nix") ]; }).config; in -- cgit 1.4.1