Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Cannot use with channels #806

Closed
MrQubo opened this issue Jul 16, 2024 · 1 comment
Closed

[Bug] Cannot use with channels #806

MrQubo opened this issue Jul 16, 2024 · 1 comment

Comments

@MrQubo
Copy link

MrQubo commented Jul 16, 2024

What happens?

chaotic-nyx cannot be used with channels. Trying to import <chaotic-nyx> {} givers error:

error: opening file '/nix/store/1yvbfdssg30yi7lqyz096116ssa6kpkf-chaotic-nyx/chaotic-nyx/default.nix': No such file or directory

What is expected to happen?

It should be possible to import chaotic-nyx with channels.

If possible, please attach logs

No response

More information

Channel can be added with nix-channel --add https://github.com/chaotic-cx/nyx/archive/master.tar.gz chaotic-nyx.

@PedroHLC
Copy link
Member

I am not interested in providing and later maintaining support for channels, as they add even more impurity that I will later have to troubleshoot when users show up with unreproducible issues.

If you really want to try, then import <chaotic-nyx>/overlays instead, you'll need to provide something like flakes' inputs to it. E.g.,

import <chaotic-nyx>/overlays { flakes = {
  nixpkgs = { ... };
  self = { ... };
  jovian = { ... };
}; }

Also, using archive/master.tar.gz is wrong, we don't have a cache for our main branch, only nyxpkgs-unstable is guaranteed to have everything cached, and only for the nixpkgs' commit we're pinning in our flake.lock.


I will not support channels, but I accept PRs for other flakes-like pinning+purity solutions.

@PedroHLC PedroHLC closed this as not planned Won't fix, can't repro, duplicate, stale Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants