diff options
| author | tv <tv@krebsco.de> | 2026-11-14 04:09:35 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-14 06:23:52 +0100 |
| commit | 36181e19ccef8d86d53dc5d504eb382c7d9b25fe (patch) | |
| tree | ecc3e5463ecabe1086ed748335f95fda820191ad /pkgs/populate/tests/default.nix | |
| parent | 4ac279ac50b2a842b08d39a875c7c1b89998fd13 (diff) | |
krops: use lib/with.nix everywhere, and no with
lib/default.nix is for backwards compatibility only, so the examples in
the README and ci.nix use lib/with.nix, as klib, with nixpkgs' lib from
pkgs. pkgs.populate and its checks name what they use from nixpkgs'
lib, builtins, and klib, instead of bringing them into scope with with,
and the scenarios inherit what they use from the builder and nixpkgs'
lib, which the builder doesn't pass on anymore. Nix tells undefined
names when parsing then, and a name means the same wherever it's used.
The derivations and the scenarios stay the same.
Diffstat (limited to 'pkgs/populate/tests/default.nix')
| -rw-r--r-- | pkgs/populate/tests/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/populate/tests/default.nix b/pkgs/populate/tests/default.nix index 7b37bb3..3399c77 100644 --- a/pkgs/populate/tests/default.nix +++ b/pkgs/populate/tests/default.nix @@ -40,9 +40,10 @@ let if deploy != null then throw "populate's tests don't deploy" else pkgs.writers.writeDash "populate" /* sh */ '' set -efu - PATH=${lib.makeBinPath (with pkgs; [ - coreutils findutils git nix openssh pass passage rsync - ])}''${PATH:+:$PATH} + PATH=${lib.makeBinPath [ + pkgs.coreutils pkgs.findutils pkgs.git pkgs.nix pkgs.openssh pkgs.pass + pkgs.passage pkgs.rsync + ]}''${PATH:+:$PATH} export PATH exec ${populate-unwrapped}/bin/populate ${lib.escapeShellArgs ( lib.optional backup "--backup" ++ |
