mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +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.
27 lines
769 B
Diff
27 lines
769 B
Diff
diff --git i/src/perl/ps2eps w/src/perl/ps2eps
|
|
index 1122a81..31d6a9a 100755
|
|
--- i/src/perl/ps2eps
|
|
+++ w/src/perl/ps2eps
|
|
@@ -43,19 +43,13 @@ Getopt::Long::Configure("no_ignore_case");
|
|
|
|
$prgname= "ps2eps";
|
|
|
|
-if (! -d "/usr/bin")
|
|
-{ # we assume that we are running under native windows
|
|
- $ghostscriptname = "gswin32c";
|
|
- $NULLDEV = "nul";
|
|
-}
|
|
-else
|
|
{ # Unix or cygwin
|
|
- $ghostscriptname = "gs";
|
|
+ $ghostscriptname = "@gs@";
|
|
$NULLDEV = "/dev/null 2>&1";
|
|
}
|
|
|
|
$bboxver=`bbox >$NULLDEV -V`;
|
|
-$bboxname= ($?== -1) ? "" : "bbox";
|
|
+$bboxname= ($?== -1) ? "" : "@bbox@";
|
|
$version= '$Id: ps2eps,v 1.70 2018-01-09 18:00:00 bless Exp $'; #'
|
|
$insertPScode= 1; # Insert surrounding Postscript code
|
|
$infhandle = STDIN; # Standard input is the default input file
|