comma: Fix cross

Artturin 78ee7afc fbcf476f

+5 -2
+5 -2
pkgs/by-name/co/comma/package.nix
··· 1 { 2 comma, 3 fetchFromGitHub, 4 installShellFiles, ··· 8 nix, 9 rustPlatform, 10 testers, 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 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