diff --git a/third_party/default.nix b/third_party/default.nix index 8173b976d5..e172ab0f4c 100644 --- a/third_party/default.nix +++ b/third_party/default.nix @@ -2,13 +2,17 @@ # # SPDX-License-Identifier: Apache-2.0 -{ ... }@ch: +{ depot, ... }@ch: let nixpkgsConfig = { allowUnfree = true; permittedInsecurePackages = [ "p7zip-16.02" ]; + packageOverrides = pkgs: { + factorio = pkgs.factorio.override depot.ops.secrets.factorio; + factorio-experimental = pkgs.factorio-experimental.override depot.ops.secrets.factorio; + }; }; nixpkgs = import ./nixpkgs { config = nixpkgsConfig;