Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 27 lines 678 B view raw
1{ runCommand, changelog-d }: 2 3runCommand "changelog-d-basic-test" 4 { 5 nativeBuildInputs = [ changelog-d ]; 6 } 7 '' 8 mkdir changelogs 9 cat > changelogs/config <<EOF 10 organization: NixOS 11 repository: boondoggle 12 EOF 13 cat > changelogs/a <<EOF 14 synopsis: Support numbers with incrementing base-10 digits 15 issues: #1234 16 description: { 17 This didn't work before. 18 } 19 EOF 20 changelog-d changelogs >$out 21 cat -n $out 22 echo Checking the generated output 23 set -x 24 grep -F 'Support numbers with incrementing base-10 digits' $out >/dev/null 25 grep -F 'https://github.com/NixOS/boondoggle/issues/1234' $out >/dev/null 26 set +x 27 ''