tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
comma: Fix cross
Artturin
5 months ago
78ee7afc
fbcf476f
+5
-2
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
co
comma
package.nix
+5
-2
pkgs/by-name/co/comma/package.nix
···
1
{
0
2
comma,
3
fetchFromGitHub,
4
installShellFiles,
···
8
nix,
9
rustPlatform,
10
testers,
0
11
}:
12
13
rustPlatform.buildRustPackage rec {
···
48
"$out/share/comma/command-not-found.nu" \
49
"$out/share/comma/command-not-found.fish" \
50
--replace-fail "comma --ask" "$out/bin/comma --ask"
51
-
52
-
"$out/bin/comma" --mangen > comma.1
0
53
installManPage comma.1
54
'';
55
···
1
{
2
+
stdenv,
3
comma,
4
fetchFromGitHub,
5
installShellFiles,
···
9
nix,
10
rustPlatform,
11
testers,
12
+
buildPackages,
13
}:
14
15
rustPlatform.buildRustPackage rec {
···
50
"$out/share/comma/command-not-found.nu" \
51
"$out/share/comma/command-not-found.fish" \
52
--replace-fail "comma --ask" "$out/bin/comma --ask"
53
+
''
54
+
+ lib.optionalString (stdenv.hostPlatform.emulatorAvailable buildPackages) ''
55
+
${stdenv.hostPlatform.emulator buildPackages} "$out/bin/comma" --mangen > comma.1
56
installManPage comma.1
57
'';
58