comma: Fix cross

Artturin 78ee7afc fbcf476f

+5 -2
+5 -2
pkgs/by-name/co/comma/package.nix
··· 1 1 { 2 + stdenv, 2 3 comma, 3 4 fetchFromGitHub, 4 5 installShellFiles, ··· 8 9 nix, 9 10 rustPlatform, 10 11 testers, 12 + buildPackages, 11 13 }: 12 14 13 15 rustPlatform.buildRustPackage rec { ··· 48 50 "$out/share/comma/command-not-found.nu" \ 49 51 "$out/share/comma/command-not-found.fish" \ 50 52 --replace-fail "comma --ask" "$out/bin/comma --ask" 51 - 52 - "$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 53 56 installManPage comma.1 54 57 ''; 55 58