nixos/docker-image: clean up let-in binding
This commit is contained in:
parent
8c88a47ad9
commit
ca6c2c2111
1 changed files with 5 additions and 6 deletions
|
@ -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;
|
||||
|
||||
in {
|
||||
pkgs2storeContents = map (x: { object = x; symlink = "none"; });
|
||||
in
|
||||
|
||||
{
|
||||
# Docker image config.
|
||||
imports = [
|
||||
../installer/cd-dvd/channel.nix
|
||||
|
|
Loading…
Reference in a new issue