borks when trying to include a package in a temporal shell #410
Replies: 5 comments
-
On August 30, 2024 9:25:20 PM GMT+02:00, Jim ***@***.***> wrote:
```shell
Welcome to Nix-on-Droid!
If nothing works, open an issue at https://github.com/nix-community/nix-on-droid/issues or try the rescue shell.
-bash-5.2$ nix-shell -p cmatrix
warning: Nix search path entry '/data/data/com.termux.nix/files/home/.nix-defexpr/channels/nixpkgs/' does not exist, ignoring
error:
… <borked>
at «none»:0: (source not available)
… while calling the 'import' builtin
at «string»:1:18:
1| ***@***.***: with import <nixpkgs> args; (pkgs.runCommandCC or pkgs.runCommand) "shell" { buildInputs = [ (cmatrix) ]; } ""
| ^
(stack trace truncated; use '--show-trace' to show the full trace)
error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I)
at «none»:0: (source not available)
-bash-5.2$
```
is there something i need to preconfig or something?
Have you installed with flakes? If yes, you won't have a nixpkgs channel. Use `nix shell nixpkgs#cmatrix` instead.
|
Beta Was this translation helpful? Give feedback.
-
yes, i've just tried flakes recently, sorry fot not pointing that one out so, how long does it usually take to |
Beta Was this translation helpful? Give feedback.
-
Depends on the device performance, it's proot+storage-bottlenecked. I'd say, if it's >10 minutes worth power saving disabled and wakelock acquired from the notification, that's too much.
|
Beta Was this translation helpful? Give feedback.
-
didn't see when it succeeded, so not sure how long, but it worked like a charm, thanks |
Beta Was this translation helpful? Give feedback.
-
can't these lines work ???? |
Beta Was this translation helpful? Give feedback.
-
is there something i need to preconfig or something?
Beta Was this translation helpful? Give feedback.
All reactions