diff options
author | Sean E. Russell <ser@ser1.net> | 2020-03-03 05:47:52 -0600 |
---|---|---|
committer | Sean E. Russell <ser@ser1.net> | 2020-03-03 05:47:52 -0600 |
commit | 9f67cdf7730d68b054a7897c4e937d2fcfb0e1ad (patch) | |
tree | 8637d3e1f31fe9fb72a859f990b1bd754ffcb83b /docs/releasing.md | |
parent | 8642e94d90460650bbd35ab6eccced0d22050797 (diff) |
Change Version so it can be set at compile time. @extensions
Diffstat (limited to 'docs/releasing.md')
-rw-r--r-- | docs/releasing.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/releasing.md b/docs/releasing.md index 643bc9f..4c6583c 100644 --- a/docs/releasing.md +++ b/docs/releasing.md @@ -14,3 +14,15 @@ credentials to aurpublish to the AUR repository, so the final publish step is still currently manual. Oh, what a tangled web. + + +Nix adds new and interesting complexities to the release. + +1. cd to the nixpkgs directory +2. docker run -it --rm --mount type=bind,source="\$(pwd)",target=/mnt nixos/nix sh +3. cd /mnt +4. nix-prefetch-url --unpack https://github.com/xxxserxxx/gotop/archive/v3.3.2.tar.gz +5. Copy the sha256 +6. Update the version and hash in nixpkgs/pkgs/tools/system/gotop/default.nix +8. In docker, install & run vgo2nix to update deps.nix +7. nix-build -A gotop |