Sender | Message | Time |
---|---|---|
27 Mar 2024 | ||
* Hi there, I'm trying to add new kernels to jupyterhub server with no luck, the example in
Can anybody tell me how to get a working | 20:02:43 | |
In reply to @javier.fuentes:matrix.orgthe R ecosystem uses a different (older) interface, it'll be pkgs.rWrapper.override ... , check the manual for details: https://nixos.org/manual/nixpkgs/stable/#r | 21:55:15 | |
28 Mar 2024 | ||
12:52:42 | ||
29 Mar 2024 | ||
05:37:39 | ||
21:10:18 | ||
31 Mar 2024 | ||
23:03:46 | ||
2 Apr 2024 | ||
06:55:54 | ||
07:34:23 | ||
3 Apr 2024 | ||
18:02:15 | ||
5 Apr 2024 | ||
17:17:16 | ||
Is the name of this room only broken for me, or do more people have this problem? | 17:18:03 | |
Broken for me too | 17:38:38 | |
17:50:00 | ||
18:16:45 | ||
18:17:22 | ||
Room Avatar Renderer. | 18:17:23 | |
18:17:28 | ||
6 Apr 2024 | ||
03:05:07 | ||
05:55:24 | ||
11:14:35 | ||
7 Apr 2024 | ||
21:50:50 | ||
8 Apr 2024 | ||
12:56:27 | ||
18:30:49 | ||
9 Apr 2024 | ||
13:23:24 | ||
11 Apr 2024 | ||
19:32:50 | ||
12 Apr 2024 | ||
03:29:36 | ||
13 Apr 2024 | ||
Hello! The last few days I have been trying to install IRkernel on NixOS using a simple flake.nix that create a shell with R and some packages. However, IRkernel requires running the comand IRkernel::installspec() inside of the R repl. This commands returns a permission denied error in NixOS. After digging through the source code of installspec , I found the issue: 1) when IRkernel is installed, a file called kernel.json is stored in some /nix/store subfolder2) this file is then copied to a temporary directory 3) the file is then overwritten to change some of its entries. Point 3 causes the error, since it's a read-only file due to the immutable nature of NixOS. To fix this, it's sufficient to specify copy.mode = FALSE when the file is copied in step 2 i.e.file.copy(srcdir, tmp_name, recursive = TRUE, copy.mode = FALSE) My question is: do you think it makes sense to do a pull request to the IRkernel repository? One could argue that installing the package through install.packages("IRkernel") is still possible on NixOS and in fact R will ask the user if it's ok to install it in a local directory because it detects a read-only directory by default.This is not the Nix way of doing things but it's not the responsibility of the original author to do things the Nix way. | 13:55:00 | |
* Hello! For the last few days I have been trying to install IRkernel on NixOS using a simple flake.nix that creates a shell with R and some packages. However, IRkernel requires running the command IRkernel::installspec() inside of the R repl. This commands returns a permission denied error in NixOS. After digging through the source code of installspec, I found the issue: 1) when IRkernel is installed, a file called kernel.json is stored in some /nix/store subfolder 2) this file is then copied to a temporary directory 3) the file is then overwritten to change some of its entries. Point 3 causes the error, since it's a read-only file due to the immutable nature of NixOS. To fix this, it's sufficient to specify copy.mode = FALSE when the file is copied in step 2 i.e. file.copy(srcdir, tmp_name, recursive = TRUE, copy.mode = FALSE) My question is: do you think it makes sense to do a pull request to the IRkernel repository? One could argue that installing the package through install.packages("IRkernel") is still possible on NixOS and in fact R will ask the user if it's ok to install it in a local directory because it detects a read-only directory by default. This is not the Nix way of doing things but it's not the responsibility of the original author to do things the Nix way. | 14:01:57 | |
* Hello! For the last few days I have been trying to install IRkernel on NixOS using a simple flake.nix that creates a shell with R and some packages. However, IRkernel requires running the command IRkernel::installspec() inside of the R repl. This command returns a permission denied error in NixOS. After digging through the source code of installspec, I found the issue: 1) when IRkernel is installed, a file called kernel.json is stored in some /nix/store subfolder 2) this file is then copied to a temporary directory 3) the file is then overwritten to change some of its entries. Point 3 causes the error, since it's a read-only file due to the immutable nature of NixOS. To fix this, it's sufficient to specify copy.mode = FALSE when the file is copied in step 2 i.e. file.copy(srcdir, tmp_name, recursive = TRUE, copy.mode = FALSE) My question is: do you think it makes sense to do a pull request to the IRkernel repository? One could argue that installing the package through install.packages("IRkernel") is still possible on NixOS and in fact R will ask the user if it's ok to install it in a local directory because it detects a read-only directory by default. This is not the Nix way of doing things but it's not the responsibility of the original author to do things the Nix way. | 14:02:17 | |
Hello! For the last few days I have been trying to install IRkernel on NixOS using a simple flake.nix that creates a shell with R and some packages. However, IRkernel requires running the command IRkernel::installspec() inside of the R repl. This command returns a permission denied error in NixOS. After digging through the source code of installspec , I found the issue: 1) when IRkernel is installed, a file called kernel.json is stored in some /nix/store subfolder2) this file is then copied to a temporary directory 3) the file is then overwritten to change some of its entries. Point 3 causes the error, since it's a read-only file due to the immutable nature of NixOS. To fix this, it's sufficient to specify copy.mode = FALSE when the file is copied in step 2 i.e.file.copy(srcdir, tmp_name, recursive = TRUE, copy.mode = FALSE) My question is: do you think it makes sense to do a pull request to the IRkernel repository? One could argue that installing the package through install.packages("IRkernel") is still possible on NixOS and in fact R will ask the user if it's ok to install it in a local directory because it detects a read-only directory by default.This is not the Nix way of doing things but it's not the responsibility of the original author to do things the Nix way. | 14:20:25 |