]> git.immae.eu Git - github/fretlink/clever-tools-nix.git/blame - README.md
Merge pull request #14 from clementd-fretlink/v2.6.1
[github/fretlink/clever-tools-nix.git] / README.md
CommitLineData
080ca3f3 1# clever-tools-nix
c7cb5f23 2
080ca3f3 3Nix derivation to install clever-tools - see https://github.com/CleverCloud/clever-tools
c7cb5f23 4
c7cb5f23
FM
5## How to use it
6
e2b929c3 7[See the example.nix](https://github.com/fretlink/clever-tools-nix/blob/master/example.nix)
f55a64c6
CD
8
9## How to publish a new version
10
11First, edit `clever-tools/default.nix`, to update the version number. For the expected hash, you can put `0000000000000000000000000000000000000000000000000000` (52 zeroes).
12
13Then, edit `default.nix`, update the `callPackage` line to the new version, as well as the `latest` value.
14
15Once you've done that, add a `mkOlderVersion` for the previous latest version. Once again, you can use the null hash for `sha256`.
16
17Then, run `nix build`. It will give you the correct values for the hashes. Correct those, run it again and you'll see `result-` directories, one per version. Go ahead and make sure they all work.
18
c2aea748 19Finally, don't forget to update `scripts/check.sh` with the latest version number.