Skip to content

Commit

Permalink
ghostscriptX: remove appendToName to have a consistent package name f…
Browse files Browse the repository at this point in the history
…or repology
  • Loading branch information
Stunkymonkey authored and FRidh committed Feb 23, 2022
1 parent 48324d4 commit c01851e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pkgs/misc/ghostscript/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ let

in
stdenv.mkDerivation rec {
pname = "ghostscript";
pname = "ghostscript${lib.optionalString (x11Support) "-with-X"}";
version = "9.55.0";

src = fetchurl {
url = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9${lib.versions.minor version}${lib.versions.patch version}/${pname}-${version}.tar.xz";
url = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9${lib.versions.minor version}${lib.versions.patch version}/ghostscript-${version}.tar.xz";
sha512 = "27g72152mlwlalg232jxdhaf3ykgmqwi2pccbkwfygql1h9iz40plfbwbs1n0fkvm4zwzg5r9cr8g7w2dxih4jldiidv7rflxdy1is2";
};

Expand Down
4 changes: 2 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33070,10 +33070,10 @@ with pkgs;

ghostscript = callPackage ../misc/ghostscript { };

ghostscriptX = appendToName "with-X" (ghostscript.override {
ghostscriptX = ghostscript.override {
cupsSupport = true;
x11Support = true;
});
};

glava = callPackage ../applications/misc/glava {};

Expand Down

0 comments on commit c01851e

Please sign in to comment.