diff options
author | figsoda <figsoda@pm.me> | 2022-11-30 17:24:39 -0500 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2022-11-30 17:27:23 -0500 |
commit | ca6c2c211148bf090ad954f361cac97fa453c901 (patch) | |
tree | 418f454df73d0c2d57d9c1ebe6f61cad1473e0c5 /nixos/modules/profiles | |
parent | 8c88a47ad978a34959ddc01e25ff552756580aeb (diff) |
nixos/docker-image: clean up let-in binding
Diffstat (limited to 'nixos/modules/profiles')
-rw-r--r-- | nixos/modules/profiles/docker-container.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/nixos/modules/profiles/docker-container.nix b/nixos/modules/profiles/docker-container.nix index 183645de36fbe..5365e49711dce 100644 --- a/nixos/modules/profiles/docker-container.nix +++ b/nixos/modules/profiles/docker-container.nix @@ -1,13 +1,12 @@ { config, lib, pkgs, ... }: -with lib; - -let inherit (pkgs) writeScript; in - let - pkgs2storeContents = l : map (x: { object = x; symlink = "none"; }) l; + inherit (pkgs) writeScript; + + pkgs2storeContents = map (x: { object = x; symlink = "none"; }); +in -in { +{ # Docker image config. imports = [ ../installer/cd-dvd/channel.nix |