File tree 1 file changed +20
-8
lines changed
1 file changed +20
-8
lines changed Original file line number Diff line number Diff line change 1
1
with builtins ;
2
2
{
3
- bubblewrap ,
4
- nix ,
3
+ bubblewrapStatic ? pkgsStatic . bubblewrap ,
4
+ # fix: builder failed to produce output path for output 'man'
5
+ # https://github.com/milahu/nixpkgs/issues/83
6
+ #nixStatic ? pkgsStatic.nix,
7
+ nixStatic ? pkgsStatic . nixVersions . nixComponents_git . nix-everything ,
5
8
unzip ,
6
9
zip ,
7
10
unixtools ,
@@ -12,14 +15,14 @@ with builtins;
12
15
patchelf ,
13
16
cacert ,
14
17
pkgs ,
15
- # no. pkgsStatic.nix and pkgsStatic.proot are not cached
16
- # still an issue: https://github.com/NixOS/nixpkgs/issues/81137
17
- # pkgsStatic,
18
- busybox ,
18
+ pkgsStatic ,
19
+ busyboxStatic ? pkgsStatic . busybox ,
19
20
gnutar ,
20
21
xz ,
21
- zstd ,
22
- proot ,
22
+ zstdStatic ? pkgsStatic . zstd ,
23
+ # FIXME ld: attempted static link of dynamic object
24
+ # https://gitlab.com/ita1024/waf/-/issues/2467
25
+ prootStatic ? pkgsStatic . proot ,
23
26
compression ? "zstd -3 -T1" ,
24
27
buildSystem ? builtins . currentSystem ,
25
28
# # tar crashed on emulated aarch64 system
@@ -32,6 +35,15 @@ with builtins;
32
35
with lib ;
33
36
let
34
37
38
+ # stage1 bins
39
+ busybox = busyboxStatic ;
40
+ zstd = zstdStatic ;
41
+
42
+ # stage2 bins
43
+ nix = nixStatic ;
44
+ bubblewrap = bubblewrapStatic ;
45
+ proot = prootStatic ;
46
+
35
47
pname =
36
48
if bundledPackage == null
37
49
then "nix-portable"
You can’t perform that action at this time.
0 commit comments