Loading pkgs/by-name/ev/evcxr/package.nix +11 −6 Original line number Diff line number Diff line Loading @@ -12,6 +12,9 @@ mold, rustc, nix-update-script, # On non-darwin, `mold` is the default linker, but it's broken on Darwin. withMold ? with stdenv.hostPlatform; isUnix && !isDarwin, }: rustPlatform.buildRustPackage (finalAttrs: { Loading Loading @@ -67,12 +70,14 @@ rustPlatform.buildRustPackage (finalAttrs: { wrap = exe: '' wrapProgram $out/bin/${exe} \ --prefix PATH : ${ lib.makeBinPath [ lib.makeBinPath ( [ cargo gcc mold # fix fatal error: "unknown command line option: -run" rustc # requires rust edition 2024 rustc ] ++ lib.optional withMold mold ) } \ --set-default RUST_SRC_PATH "$RUST_SRC_PATH" ''; Loading Loading
pkgs/by-name/ev/evcxr/package.nix +11 −6 Original line number Diff line number Diff line Loading @@ -12,6 +12,9 @@ mold, rustc, nix-update-script, # On non-darwin, `mold` is the default linker, but it's broken on Darwin. withMold ? with stdenv.hostPlatform; isUnix && !isDarwin, }: rustPlatform.buildRustPackage (finalAttrs: { Loading Loading @@ -67,12 +70,14 @@ rustPlatform.buildRustPackage (finalAttrs: { wrap = exe: '' wrapProgram $out/bin/${exe} \ --prefix PATH : ${ lib.makeBinPath [ lib.makeBinPath ( [ cargo gcc mold # fix fatal error: "unknown command line option: -run" rustc # requires rust edition 2024 rustc ] ++ lib.optional withMold mold ) } \ --set-default RUST_SRC_PATH "$RUST_SRC_PATH" ''; Loading