3p/nixpkgs: add packageOverrides for factorio creds
This commit is contained in:
parent
6bc16d7573
commit
6e5e340400
1 changed files with 5 additions and 1 deletions
6
third_party/default.nix
vendored
6
third_party/default.nix
vendored
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue