docker.nix: Use 'with'

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Eelco Dolstra 2021-11-02 14:03:55 +01:00 committed by Rok Garbas
parent 93f7fb6e74
commit c1bf9e39f1
No known key found for this signature in database
GPG key ID: A0E01EF44C27BF00

View file

@ -19,20 +19,20 @@ let
}.${crossSystem} }.${crossSystem}
else pkgs; else pkgs;
defaultPkgs = [ defaultPkgs = with targetPkgs; [
targetPkgs.nix nix
targetPkgs.bashInteractive bashInteractive
targetPkgs.coreutils-full coreutils-full
targetPkgs.gnutar gnutar
targetPkgs.gzip gzip
targetPkgs.gnugrep gnugrep
targetPkgs.which which
targetPkgs.curl curl
targetPkgs.less less
targetPkgs.wget wget
targetPkgs.man man
targetPkgs.cacert.out cacert.out
targetPkgs.findutils findutils
]; ];
users = { users = {