evcxr: wrap evcxr_jupyter binary

evcxr_jupyter needs the same wrapper as the main binary to work.
This commit is contained in:
Kristoffer Søholm 2020-06-30 23:26:49 +02:00
parent 80a7a4295a
commit a8b68fc49f

View File

@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
postInstall = ''
wrapProgram $out/bin/evcxr --prefix PATH : ${stdenv.lib.makeBinPath [ cargo gcc ]}
wrapProgram $out/bin/evcxr_jupyter --prefix PATH : ${stdenv.lib.makeBinPath [ cargo gcc ]}
rm $out/bin/testing_runtime
'';