File tree Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
# Core dependencies
3
- pkgs ,
4
- lib ,
5
- dockerTools ,
6
- runCommand ,
7
- buildPackages ,
3
+ pkgs ? import <nixpkgs> { } ,
4
+ lib ? pkgs . lib ,
5
+ dockerTools ? pkgs . dockerTools ,
6
+ runCommand ? pkgs . runCommand ,
7
+ buildPackages ? pkgs . buildPackages ,
8
8
# Image configuration
9
9
name ? "nix" ,
10
10
tag ? "latest" ,
28
28
} ,
29
29
Cmd ? [ ( lib . getExe bashInteractive ) ] ,
30
30
# Default Packages
31
- nix ,
32
- bashInteractive ,
33
- coreutils-full ,
34
- gnutar ,
35
- gzip ,
36
- gnugrep ,
37
- which ,
38
- curl ,
39
- less ,
40
- wget ,
41
- man ,
42
- cacert ,
43
- findutils ,
44
- iana-etc ,
45
- gitMinimal ,
46
- openssh ,
31
+ nix ? pkgs . nix ,
32
+ bashInteractive ? pkgs . bashInteractive ,
33
+ coreutils-full ? pkgs . coreutils-full ,
34
+ gnutar ? pkgs . gnutar ,
35
+ gzip ? pkgs . gzip ,
36
+ gnugrep ? pkgs . gnugrep ,
37
+ which ? pkgs . which ,
38
+ curl ? pkgs . curl ,
39
+ less ? pkgs . less ,
40
+ wget ? pkgs . wget ,
41
+ man ? pkgs . man ,
42
+ cacert ? pkgs . cacert ,
43
+ findutils ? pkgs . findutils ,
44
+ iana-etc ? pkgs . iana-etc ,
45
+ gitMinimal ? pkgs . gitMinimal ,
46
+ openssh ? pkgs . openssh ,
47
47
# Other dependencies
48
- shadow ,
48
+ shadow ? pkgs . shadow ,
49
49
} :
50
50
let
51
51
defaultPkgs = [
You can’t perform that action at this time.
0 commit comments