forked from mirrors/nixpkgs
nixos/jupyter: Fix documentation example for jupyter.kernels
(#56415)
* Fix documentation example for `jupyter.kernels` The environment variable loading fails when using the example for `kernels` config, due to incorrect syntax. The error being something along the lines of `path not found`. Thanks to @Infinisil and @layus for suggestions.
This commit is contained in:
parent
f36cf56380
commit
5d2a7238df
|
@ -118,15 +118,15 @@ in {
|
||||||
in {
|
in {
|
||||||
displayName = "Python 3 for machine learning";
|
displayName = "Python 3 for machine learning";
|
||||||
argv = [
|
argv = [
|
||||||
"$ {env.interpreter}"
|
"''${env.interpreter}"
|
||||||
"-m"
|
"-m"
|
||||||
"ipykernel_launcher"
|
"ipykernel_launcher"
|
||||||
"-f"
|
"-f"
|
||||||
"{connection_file}"
|
"{connection_file}"
|
||||||
];
|
];
|
||||||
language = "python";
|
language = "python";
|
||||||
logo32 = "$ {env.sitePackages}/ipykernel/resources/logo-32x32.png";
|
logo32 = "''${env.sitePackages}/ipykernel/resources/logo-32x32.png";
|
||||||
logo64 = "$ {env.sitePackages}/ipykernel/resources/logo-64x64.png";
|
logo64 = "''${env.sitePackages}/ipykernel/resources/logo-64x64.png";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue