diff options
author | baptiste <deuxfleurs@bitsofnetworks.org> | 2024-06-23 09:05:41 +0000 |
---|---|---|
committer | baptiste <deuxfleurs@bitsofnetworks.org> | 2024-06-23 09:05:41 +0000 |
commit | 2f8b2c74f46a38ca923e7f0a588af068bb965bac (patch) | |
tree | 8c776ea1fa26f4bc820951688250956bd19349fb /cluster/prod/app/cryptpad/build/README.md | |
parent | 7e88a88e04db20b0c5552742dae78ae50d3f4318 (diff) | |
parent | 09c3d618e61f16634e4402196fc35fe3ee33089e (diff) | |
download | nixcfg-2f8b2c74f46a38ca923e7f0a588af068bb965bac.tar.gz nixcfg-2f8b2c74f46a38ca923e7f0a588af068bb965bac.zip |
Merge pull request 'Upgrade cryptpad from 2024.3.0 to 2024.3.1' (#27) from KokaKiwi/nixcfg:update-cryptpad-2024.3.1 into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/nixcfg/pulls/27
Reviewed-by: maximilien <me@mricher.fr>
Diffstat (limited to 'cluster/prod/app/cryptpad/build/README.md')
-rw-r--r-- | cluster/prod/app/cryptpad/build/README.md | 14 |
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 |