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

Personal binary cache for Nix #754

Open
kachick opened this issue Aug 19, 2024 · 4 comments
Open

Personal binary cache for Nix #754

kachick opened this issue Aug 19, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@kachick
Copy link
Owner

kachick commented Aug 19, 2024

Using flake or patched and/or unfree packages. Cannot be used in official binary caches.
Especially for wezterm, wezterm often require nightly, but it takes long time to build.

How about https://github.com/zhaofengli/attic. https://github.com/cachix looks like providing expensive plans for personal use...

ref: #472, #679

@kachick kachick added the enhancement New feature or request label Aug 19, 2024
@kachick kachick closed this as completed in 0fc4a99 Sep 1, 2024
@kachick kachick mentioned this issue Sep 25, 2024
11 tasks
@kachick
Copy link
Owner Author

kachick commented Oct 22, 2024

macos-13 runner now takes about 20 minutes, when ubuntu takes 3 minutes

Required for several packages. In unfree packages, they does not have binary cache in cachix

Since #882 and https://github.com/kachick/dotfiles/pull/861/files#diff-206b9ce276ab5971a2489d75eb1b12999d4bf3843b7988cbe8d687cfde61dea0R201

Or use https://github.com/numtide/nixpkgs-unfree?

https://discourse.nixos.org/t/petition-to-build-and-cache-unfree-packages-on-cache-nixos-org/17440/26

Or replace vscode with vscodium?
And Replace signal with something?

@kachick kachick reopened this Oct 22, 2024
This was referenced Oct 23, 2024
@kachick
Copy link
Owner Author

kachick commented Oct 28, 2024

xremap is a heavy one

dotfiles/flake.nix

Lines 20 to 25 in ed4bc89

# https://github.com/xremap/nix-flake/blob/master/docs/HOWTO.md
xremap-flake = {
url = "github:xremap/nix-flake";
# https://github.com/xremap/nix-flake/blob/2c55335d6509702b0d337b8da697d7048e36123d/flake.nix#L6
inputs.nixpkgs.follows = "edge-nixpkgs";
};

kachick added a commit that referenced this issue Oct 31, 2024
Make macOS only depend on free nixpkgs again

- **Revert "Install vscode in macOS via nixpkgs (#882)"**
- **Revert "Install signal-desktop in macOS via nixpkgs (#861)"**
- **Make vscode as the default editor in macOS again**

Closes GH-885
Update, but keeps GH-754
Update GH-884
Reduce struggle around .github/workflows/cleanup-caches.yml

I can choose this way since macOS is not the preferred device

And I'm afraid, #243 might contain the unfree files (nevertheless it cannot be downloaded from other users?)
@kachick
Copy link
Owner Author

kachick commented Nov 3, 2024

@kachick
Copy link
Owner Author

kachick commented Nov 22, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant