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}
else pkgs;
defaultPkgs = [
targetPkgs.nix
targetPkgs.bashInteractive
targetPkgs.coreutils-full
targetPkgs.gnutar
targetPkgs.gzip
targetPkgs.gnugrep
targetPkgs.which
targetPkgs.curl
targetPkgs.less
targetPkgs.wget
targetPkgs.man
targetPkgs.cacert.out
targetPkgs.findutils
defaultPkgs = with targetPkgs; [
nix
bashInteractive
coreutils-full
gnutar
gzip
gnugrep
which
curl
less
wget
man
cacert.out
findutils
];
users = {