Skip to content

Commit

Permalink
Add more documentation about maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
EEva committed Jul 21, 2021
1 parent 7a80e63 commit bb5e592
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
with pkgs;

mkShell {
packages = with pkgs; [ nix-prefetch-github ];
inputsFrom = [ (import ./default.nix {}).m8c-dev ];
}

0 comments on commit bb5e592

Please sign in to comment.