about summary refs log tree commit diff
path: root/third_party
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-05-26T12·42+0200
committerclbot <clbot@tvl.fyi>2022-05-26T14·17+0000
commit65953e0913f555e328f1a10d0590f2ccad85873d (patch)
treecc89ccc6df1d8f0c60f968226b57b1e906915b87 /third_party
parent250300f1677b7ccdd0f7a78e01f8af912b82398f (diff)
refactor(3p): Prepare for restricted-eval r/4135
Change-Id: I1e577400717833c3de75bfef38950565716580bb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5684
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: tazjin <tazjin@tvl.su>
Diffstat (limited to 'third_party')
-rw-r--r--third_party/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/third_party/default.nix b/third_party/default.nix
index 169727f4b9..493301102f 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