We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbcf476 commit 78ee7afCopy full SHA for 78ee7af
pkgs/by-name/co/comma/package.nix
@@ -1,4 +1,5 @@
1
{
2
+ stdenv,
3
comma,
4
fetchFromGitHub,
5
installShellFiles,
@@ -8,6 +9,7 @@
8
9
nix,
10
rustPlatform,
11
testers,
12
+ buildPackages,
13
}:
14
15
rustPlatform.buildRustPackage rec {
@@ -48,8 +50,9 @@ rustPlatform.buildRustPackage rec {
48
50
"$out/share/comma/command-not-found.nu" \
49
51
"$out/share/comma/command-not-found.fish" \
52
--replace-fail "comma --ask" "$out/bin/comma --ask"
-
- "$out/bin/comma" --mangen > comma.1
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
0 commit comments