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
|
import ./make-test-python.nix ({ lib, ... }@args: let
|
||||||
pkgs = (import ../..) {
|
pkgs = args.pkgs.extend (self: super: {
|
||||||
config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
stdenv = super.stdenv.override {
|
||||||
"vscode" "vscode-with-extensions" "vscode-extension-ms-vscode-remote-remote-ssh"
|
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;
|
inherit (import ./ssh-keys.nix pkgs) snakeOilPrivateKey snakeOilPublicKey;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue