refactor(3p): Prepare for restricted-eval
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>
This commit is contained in:
parent
250300f167
commit
65953e0913
1 changed files with 4 additions and 4 deletions
8
third_party/default.nix
vendored
8
third_party/default.nix
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue