docker.nix: Use 'with'

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Eelco Dolstra
2021-11-11 16:07:01 +01:00
committed by Rok Garbas
co-authored by Sandro
parent 93f7fb6e74
commit c1bf9e39f1
+14 -14
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 = {