14 lines
398 B
Nix
14 lines
398 B
Nix
{}: prev: final: rec {
|
|
changelogJson = prev.runCommand "changelog.json" {
|
|
} ''
|
|
ln -s ${final.uniworxNodeDependencies}/lib/node_modules ./node_modules
|
|
export PATH="${final.uniworxNodeDependencies}/bin:$PATH"
|
|
|
|
changelog-parser ${../CHANGELOG.md} > $out
|
|
'';
|
|
|
|
jqChangelogJson = prev.writeShellScriptBin "jq-changelog" ''
|
|
exec -- ${final.jq}/bin/jq $@ < ${changelogJson}
|
|
'';
|
|
}
|