mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 17:53:14 +00:00
texlive.tlpdb.nix: do not escape valid names
This commit is contained in:
parent
5a44eb9364
commit
1184667b5b
@ -16,8 +16,9 @@ $a}
|
||||
# form an attrmap per package
|
||||
# ignore packages whose name contains "." (such as binaries) except for texlive.infra
|
||||
/^name ([^.]+|texlive\.infra)$/,/^$/{
|
||||
# quote package names, as some start with a number :-/
|
||||
s/^name (.*)$/"\1" = {/p
|
||||
# quote invalid names
|
||||
s/^name ([0-9].*|texlive\.infra)$/"\1" = {/p
|
||||
s/^name (.*)$/\1 = {/p
|
||||
|
||||
# extract revision
|
||||
s/^revision ([0-9]*)$/ revision = \1;/p
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user