about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-05-26T12·31+0200
committertazjin <tazjin@tvl.su>2022-05-26T16·24+0000
commit7a0a4224a5ea356373e427c92ba4f4d38c6a468c (patch)
tree42690581e25e17095559f4f753ce322e92cbe6bc
parentd10cbc711db014a155c6aed42134bebf5cce27b9 (diff)
refactor(ops/nixos): Prepare for restricted eval r/4139
Change-Id: I7b5304dda3040830fe90fc188b35da3fd95451a0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5682
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
-rw-r--r--ops/nixos.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/ops/nixos.nix b/ops/nixos.nix
index 291413c5b5..720e792333 100644
--- a/ops/nixos.nix
+++ b/ops/nixos.nix
@@ -8,8 +8,8 @@ in rec {
     # Ensure that pkgs == third_party.nix
     nixpkgs.pkgs = depot.third_party.nixpkgs;
     nix.nixPath = [
-      "nixos=${pkgs.path}"
-      "nixpkgs=${pkgs.path}"
+      ("nixos=" + pkgs.path)
+      ("nixpkgs=" + pkgs.path)
     ];
   };