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
1
{
2
2
+
stdenv,
2
3
comma,
3
4
fetchFromGitHub,
4
5
installShellFiles,
···
8
9
nix,
9
10
rustPlatform,
10
11
testers,
12
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
51
-
52
52
-
"$out/bin/comma" --mangen > comma.1
53
53
+
''
54
54
+
+ lib.optionalString (stdenv.hostPlatform.emulatorAvailable buildPackages) ''
55
55
+
${stdenv.hostPlatform.emulator buildPackages} "$out/bin/comma" --mangen > comma.1
53
56
installManPage comma.1
54
57
'';
55
58