mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-03 16:41:26 +01:00
ci(nix): push Nix builds to a Cachix binary cache
Every Nix build of main and of each release tag now goes to proton-drive-linux.cachix.org, so installing the flake downloads the client instead of compiling it. The flake names the cache in nixConfig for nix run and nix shell, and the install guide shows the nix.settings a NixOS system build needs, since it does not read an input's nixConfig. A fork's pull request has no token and only pulls.
This commit is contained in:
1 parent
8b7d7ae87f
commit
f6c651b06b
6 files changed
+52
-1
No files matched your search
@@ -1,6 +1,16 @@
|
||||
{
|
||||
description = "Unofficial Proton Drive client for Linux: files-on-demand FUSE mount, CLI, GTK4 app and tray";
|
||||
|
||||
# CI pushes every build of `main` and of each release tag here, so installing
|
||||
# downloads the client instead of compiling it. Nix asks before it uses a
|
||||
# flake's caches unless the user trusts them (docs/INSTALL.md).
|
||||
nixConfig = {
|
||||
extra-substituters = [ "https://proton-drive-linux.cachix.org" ];
|
||||
extra-trusted-public-keys = [
|
||||
"proton-drive-linux.cachix.org-1:w1+3pXVXyTlqkFGn3dWpUhlaJtyGhSm3X0mFwfa++AA="
|
||||
];
|
||||
};
|
||||
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
outputs =
|
||||
|
||||
Reference in new issue
Block a user