diff --git a/modules/dgn-runners/default.nix b/modules/dgn-runners/default.nix index 7fbc35d..9197521 100644 --- a/modules/dgn-runners/default.nix +++ b/modules/dgn-runners/default.nix @@ -39,7 +39,7 @@ let cfg = config.dgn-runners; - storePaths = "nix-store --query -R ${builtins.toString cfg.dependencies}"; + storePaths = "nix-store --query -R ${builtins.toString (cfg.dependencies ++ [ pkgs.path ])}"; in { options.dgn-runners = { enable = mkEnableOption "Forgero Actions Runners."; @@ -310,6 +310,7 @@ in { "-e NIX_BUILD_SHELL=/bin/bash" "-e PAGER=cat" "-e PATH=/bin" + "-e NIX_PATH=nixpkgs=${builtins.toString pkgs.path}" "--device /dev/kvm" "-e SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt" "-v ${cfg.storePath}:/nix"