3p/nixpkgs: add packageOverrides for factorio creds

This commit is contained in:
Luke Granger-Brown 2020-11-24 02:53:33 +00:00
parent 6bc16d7573
commit 6e5e340400

View file

@ -2,13 +2,17 @@
# #
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
{ ... }@ch: { depot, ... }@ch:
let let
nixpkgsConfig = { nixpkgsConfig = {
allowUnfree = true; allowUnfree = true;
permittedInsecurePackages = [ permittedInsecurePackages = [
"p7zip-16.02" "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 { nixpkgs = import ./nixpkgs {
config = nixpkgsConfig; config = nixpkgsConfig;