nixos/tests: Make remote-ssh test work with flakes
This commit is contained in:
parent
fbf5e75aa2
commit
3e9a51a78b
|
@ -1,9 +1,13 @@
|
|||
import ./make-test-python.nix ({ lib, ... }: let
|
||||
pkgs = (import ../..) {
|
||||
config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
import ./make-test-python.nix ({ lib, ... }@args: let
|
||||
pkgs = args.pkgs.extend (self: super: {
|
||||
stdenv = super.stdenv.override {
|
||||
config = super.config // {
|
||||
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"vscode" "vscode-with-extensions" "vscode-extension-ms-vscode-remote-remote-ssh"
|
||||
];
|
||||
};
|
||||
};
|
||||
});
|
||||
|
||||
inherit (import ./ssh-keys.nix pkgs) snakeOilPrivateKey snakeOilPublicKey;
|
||||
|
||||
|
|
Loading…
Reference in a new issue