texlive/pkgs.nix: add revision
This commit is contained in:
parent
9752593eb0
commit
9c4212cb9f
File diff suppressed because it is too large
Load Diff
@ -8,6 +8,9 @@ $a}
|
|||||||
# quote package names, as some start with a number :-/
|
# quote package names, as some start with a number :-/
|
||||||
s/^name (.*)/name "\1"/
|
s/^name (.*)/name "\1"/
|
||||||
|
|
||||||
|
# extract revision
|
||||||
|
s/^revision ([0-9]*)$/ revision = \1;/p
|
||||||
|
|
||||||
# form an attrmap per package
|
# form an attrmap per package
|
||||||
/^name /s/^name (.*)/\1 = {/p
|
/^name /s/^name (.*)/\1 = {/p
|
||||||
/^$/,1i};
|
/^$/,1i};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user