aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/cryptpad/build/README.md
diff options
context:
space:
mode:
authorKokaKiwi <kokakiwi+git@kokakiwi.net>2024-05-23 22:21:11 +0200
committerKokaKiwi <kokakiwi+git@kokakiwi.net>2024-05-23 22:21:11 +0200
commitebfdc6d1a3ae7bb9f88f34b4fa6f4d7fb0260168 (patch)
treefa670580304560ab0d8f93a1106561277b7dd2d9 /cluster/prod/app/cryptpad/build/README.md
parent3e0df95fe90b3cd367e6420b7eb6efed78cea7e0 (diff)
downloadnixcfg-ebfdc6d1a3ae7bb9f88f34b4fa6f4d7fb0260168.tar.gz
nixcfg-ebfdc6d1a3ae7bb9f88f34b4fa6f4d7fb0260168.zip
cluster/prod(app): Migrate from niv to npins for pinned sources for cryptpad
Diffstat (limited to 'cluster/prod/app/cryptpad/build/README.md')
-rw-r--r--cluster/prod/app/cryptpad/build/README.md14
1 files changed, 5 insertions, 9 deletions
diff --git a/cluster/prod/app/cryptpad/build/README.md b/cluster/prod/app/cryptpad/build/README.md
index 8e17406..13c6ea2 100644
--- a/cluster/prod/app/cryptpad/build/README.md
+++ b/cluster/prod/app/cryptpad/build/README.md
@@ -36,21 +36,17 @@ used by CryptPad, which can result to large Docker image (~2.6GiB)
This behaviour is configurable by passing the `--arg withOnlyOffice false` flag to `nix-build` when building them.
## Updating the Deuxfleurs pinned nixpkgs
-The pinned sources files are generated with the [niv](https://github.com/nmattia/niv) tool.
+The pinned sources files are generated with the [npins](https://github.com/andir/npins) tool.
To update the pinned nixpkgs, you simply run the following command:
```shell
-niv update
+npins update
```
-To modify the pinned nixpkgs, you can use the `niv modify` command, for example, to move to nixpkgs-unstable:
+To modify the pinned nixpkgs, remove it and re-add it using the new target, for exemple for `nixos-unstable`:
```shell
-niv modify nixpkgs -b nixos-unstable
+npins remove nixpkgs
+npins add --name nixpkgs channel nixos-unstable
```
-
-## Quirks
-
-- The CryptPad `package-lock.json` is included here because the upstream-provided one appeared to be desync'ed, so a
- manual lockfile generation was needed