alpha
Login
or
Join now
tombl.dev
/
distro
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
busybox: add -host package
author
Thomas Stokes
date
1 year ago
(Apr 14, 2025, 11:12 PM +0800)
commit
c00323ea
c00323ea68b728609a372df8fa88d402b659cd8e
parent
7e5b402d
7e5b402daacfb343e1dc994472cb9d18c5d3e0e0
+4
-3
2 changed files
Expand all
Collapse all
Unified
Split
host-packages.nix
packages
run
package.nix
+1
-1
host-packages.nix
Reviewed
···
7
7
in
8
8
9
9
{
10
10
+
busybox-host = pkgs.busybox;
10
11
clang = llvm.clang-unwrapped;
11
12
clang-host = llvm.clang;
12
13
inherit (llvm) lld;
···
14
15
bash
15
16
bc
16
17
bison
17
17
-
busybox
18
18
cmake
19
19
curl
20
20
esbuild
+3
-2
packages/run/package.nix
Reviewed
···
3
3
currentSystem,
4
4
bash,
5
5
busybox,
6
6
+
busybox-host ? busybox,
6
7
}:
7
8
8
9
let
···
33
34
path
34
35
++ [
35
36
bash
36
36
-
busybox
37
37
+
busybox-host
37
38
]
38
39
);
39
40
inherit command;
···
53
54
: ${"$"}{outputs:=out}
54
55
55
56
if [ 0 -eq "$NIX_BUILD_CORES" ]; then
56
56
-
NIX_BUILD_CORES=$(${busybox}/bin/nproc)
57
57
+
NIX_BUILD_CORES=$(${busybox-host}/bin/nproc)
57
58
fi
58
59
59
60
eval "_build() { $(cat $commandPath); }"