aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-11-02 14:03:55 +0100
committerRok Garbas <rok@garbas.si>2021-11-11 16:07:01 +0100
commitc1bf9e39f1138bc43fdfa0c649af33e63f57617a (patch)
tree9116e6dac8604bd6f9b8e7c932e7601f60b4ea53
parent93f7fb6e74605fd533c7267dc349e904d6dd5680 (diff)
docker.nix: Use 'with'
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
-rw-r--r--docker.nix28
1 files changed, 14 insertions, 14 deletions
diff --git a/docker.nix b/docker.nix
index 40af2f38b..316d57a36 100644
--- a/docker.nix
+++ b/docker.nix
@@ -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 = {