ref: b587c49f4d3742d2a14a08bb641807dd8f8fd282
parent: 583de43f87a3befdb09d6e806c7dec4473efaab8
author: EEva <eeva@samae>
date: Wed Jul 21 17:19:22 EDT 2021
Add more documentation about maintenance
--- a/default.nix
+++ b/default.nix
@@ -2,6 +2,18 @@
with pkgs;
+# HOWTO keep this package definition up-to-date:
+#
+# 1. NEW VERSION:
+# After the new version is tagged and pushed, update the `version` var to the
+# proper value and update the hash. You can use the following command to find
+# out the sha256, for example, with version 1.0.3:
+# `nix-prefetch-github --rev v1.0.3 laamaa m8c`
+#
+# 2. NEW DEPENDENCIES:
+# Make sure new dependencies are added. Runtime deps go to buildInputs and
+# compile-time deps go to nativeBuildInputs. Use the nixpkgs manual for help
+#
let m8c-package =
{ stdenv, gnumake
--- a/shell.nix
+++ b/shell.nix
@@ -3,5 +3,6 @@
with pkgs;
mkShell {+ packages = with pkgs; [ nix-prefetch-github ];
inputsFrom = [ (import ./default.nix {}).m8c-dev ];}
--
⑨