mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 11:03:57 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
22 lines
1.2 KiB
Diff
22 lines
1.2 KiB
Diff
--- a/taoup 2021-09-07 16:45:00.000000000 +0800
|
|
+++ b/taoup 2021-09-07 16:46:00.000000000 +0800
|
|
@@ -7,12 +7,12 @@
|
|
|
|
# show help if requested
|
|
if ARGV[0] == '--help' or ARGV[0] == '-h' then
|
|
- puts "usage: " + $0 + " [arguments]"
|
|
- puts " " + $0 + " Display all fortunes and sections."
|
|
- puts " " + $0 + " < --help | -h > This help."
|
|
- puts " " + $0 + " --whitetrash Convert ANSI colors for light/white terminals."
|
|
- puts " " + $0 + " --machine Remove ANSI colors."
|
|
- puts " " + $0 + " --fortune Convert output to fortune format (and lose colors)."
|
|
+ puts "usage: " + "@pname@" + " [arguments]"
|
|
+ puts " " + "@pname@" + " Display all fortunes and sections."
|
|
+ puts " " + "@pname@" + " < --help | -h > This help."
|
|
+ puts " " + "@pname@" + " --whitetrash Convert ANSI colors for light/white terminals."
|
|
+ puts " " + "@pname@" + " --machine Remove ANSI colors."
|
|
+ puts " " + "@pname@" + " --fortune Convert output to fortune format (and lose colors)."
|
|
exit(0)
|
|
end
|
|
# ... but optionally make sure ANSI escape sequences are filtered out
|