mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
nixos/tests/binary-cache.nix: remove overuses of with
This commit is contained in:
parent
130d2fa5e5
commit
a282d36592
@ -1,16 +1,14 @@
|
|||||||
import ./make-test-python.nix ({ lib, ... }:
|
import ./make-test-python.nix ({ lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
{
|
{
|
||||||
name = "binary-cache";
|
name = "binary-cache";
|
||||||
meta.maintainers = with maintainers; [ thomasjm ];
|
meta.maintainers = with lib.maintainers; [ thomasjm ];
|
||||||
|
|
||||||
nodes.machine =
|
nodes.machine =
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
imports = [ ../modules/installer/cd-dvd/channel.nix ];
|
imports = [ ../modules/installer/cd-dvd/channel.nix ];
|
||||||
environment.systemPackages = with pkgs; [python3];
|
environment.systemPackages = [ pkgs.python3 ];
|
||||||
system.extraDependencies = with pkgs; [hello.inputDerivation];
|
system.extraDependencies = [ pkgs.hello.inputDerivation ];
|
||||||
nix.extraOptions = ''
|
nix.extraOptions = ''
|
||||||
experimental-features = nix-command
|
experimental-features = nix-command
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user