tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/docker-image: clean up let-in binding
figsoda
3 years ago
ca6c2c21
8c88a47a
+5
-6
1 changed file
expand all
collapse all
unified
split
nixos
modules
profiles
docker-container.nix
+5
-6
nixos/modules/profiles/docker-container.nix
···
1
1
{ config, lib, pkgs, ... }:
2
2
3
3
-
with lib;
3
3
+
let
4
4
+
inherit (pkgs) writeScript;
4
5
5
5
-
let inherit (pkgs) writeScript; in
6
6
+
pkgs2storeContents = map (x: { object = x; symlink = "none"; });
7
7
+
in
6
8
7
7
-
let
8
8
-
pkgs2storeContents = l : map (x: { object = x; symlink = "none"; }) l;
9
9
-
10
10
-
in {
9
9
+
{
11
10
# Docker image config.
12
11
imports = [
13
12
../installer/cd-dvd/channel.nix