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

Use guix (or nix) to repack almost everything #1061

Open
7 tasks
clsty opened this issue Jan 27, 2025 · 1 comment
Open
7 tasks

Use guix (or nix) to repack almost everything #1061

clsty opened this issue Jan 27, 2025 · 1 comment
Assignees
Labels
FEATURE Feature advice/request

Comments

@clsty
Copy link
Collaborator

clsty commented Jan 27, 2025

What to "repack"?

As much as we can, including Arch/AUR packages and even some configuration files.

Benefit?

Steps to achieve

  • Learn Guix (basically)
  • (NOW DOING) Learn Nix (basically)
  • Decide to choose between Guix and Nix
  • Use existing Nix/Guix packages instead of Arch/AUR ones
  • Package non-existing Nix/Guix packages from Arch/AUR ones
  • Provide pre-built packages
  • Achieve a cross-platform installation process
@clsty clsty self-assigned this Jan 27, 2025
@clsty clsty pinned this issue Feb 8, 2025
@clsty clsty added the FEATURE Feature advice/request label Feb 9, 2025
@clsty clsty changed the title [Feature] Use guix (or nix) to repack almost everything Use guix (or nix) to repack almost everything Feb 9, 2025
@clsty
Copy link
Collaborator Author

clsty commented Feb 11, 2025

Nix or guix

Of course we do not need both of them. So, which one?

What is guix?

It's a cross-distro package manager, similar to nix (actually "guix" means nix written in guile) but easier to learn (?). Its configuration language, Guile, is a general programming language for many things, comparing to nixlang which is only suitable for nixos thingy.

Possible useful links

Using Nix?

I'm trying to use Nix on Arch. But the installation process of Nix itself on non-NixOS distros is a mess and not idempotent at all. You'd better have a Btrfs snapshot before ever install it, whether you install it by using pacman or Nix official shell script.

  • To solve this we may need a better installation script for Nix itself.

Using Guix?

I've tried Guix before. I didn't remember but Guix itself seems to be easily installed. However when adding Guix channel, its updating speed is too slow and I don't know what is wrong. Probably needs a powerful machine, which is not acceptable for this project.

  • Still, there may be solutions, such as custom guix channel which contains only a few packages for this repo to guarantee performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FEATURE Feature advice/request
Projects
None yet
Development

No branches or pull requests

1 participant