regionset: include README in package

The README file contains most of the documentation for how to use this
package, and is explicitly referenced in the manual. Add it to the
compiled package so users can access it more easily, and make sure the
path to the file is correct, too.

+6
+6
pkgs/by-name/re/regionset/package.nix
··· 16 sha256 = "1fgps85dmjvj41a5bkira43vs2aiivzhqwzdvvpw5dpvdrjqcp0d"; 17 }; 18 19 installPhase = '' 20 install -Dm755 {.,$out/bin}/regionset 21 install -Dm644 {.,$out/share/man/man8}/regionset.8 22 ''; 23 24 meta = with lib; {
··· 16 sha256 = "1fgps85dmjvj41a5bkira43vs2aiivzhqwzdvvpw5dpvdrjqcp0d"; 17 }; 18 19 + prePatch = '' 20 + substituteInPlace regionset.8 \ 21 + --replace-fail /usr/share/doc/ "$out"/share/doc/ 22 + ''; 23 + 24 installPhase = '' 25 install -Dm755 {.,$out/bin}/regionset 26 install -Dm644 {.,$out/share/man/man8}/regionset.8 27 + install -Dm644 {.,$out/share/doc/regionset}/README 28 ''; 29 30 meta = with lib; {