mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +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.
45 lines
894 B
Diff
45 lines
894 B
Diff
diff --git a/tapview b/tapview
|
|
index ad6a33a66d1..4cf9545d42f 100644
|
|
--- a/tapview
|
|
+++ b/tapview
|
|
@@ -13,21 +13,6 @@
|
|
#
|
|
# This is version 1.1
|
|
# A newer version may be available at https://gitlab.com/esr/tapview
|
|
-#
|
|
-# POSIX allows but does not mandate that -n suppresses emission of a
|
|
-# trailing newline in echo. Thus, some shell builtin echos don't do
|
|
-# that. Cope gracefully.
|
|
-# shellcheck disable=SC2039
|
|
-if [ "$(echo -n "a"; echo "b")" != "ab" ]
|
|
-then
|
|
- ECHO="echo"
|
|
-elif [ "$(/bin/echo -n "a"; /bin/echo "b")" = "ab" ]
|
|
-then
|
|
- ECHO="/bin/echo"
|
|
-else
|
|
- echo "tapview: bailing out, your echo lacks -n support."
|
|
- exit 3
|
|
-fi
|
|
|
|
OK="."
|
|
FAIL="F"
|
|
@@ -37,7 +22,7 @@ TODO_OK="u"
|
|
|
|
ship_char() {
|
|
# shellcheck disable=SC2039
|
|
- "${ECHO}" -n "$1"
|
|
+ echo -n "$1"
|
|
}
|
|
|
|
ship_line() {
|
|
@@ -155,7 +140,7 @@ do
|
|
fi
|
|
done
|
|
|
|
-/bin/echo ""
|
|
+echo ""
|
|
|
|
if [ -z "$expect" ]
|
|
then
|