1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

ghostscript: cosmetic

Refer to the source code as "src" rather than "data".
This commit is contained in:
Peter Simons 2012-09-06 18:32:59 +02:00
parent 14da2bf31b
commit 52e5b8e2c5

View file

@ -27,7 +27,7 @@ let
maintainers = [ stdenv.lib.maintainers.ludo stdenv.lib.maintainers.viric ];
};
gnuForkData = rec {
gnuForkSrc = rec {
name = "ghostscript-9.04.1";
src = fetchurl {
url = "mirror://gnu/ghostscript/gnu-${name}.tar.bz2";
@ -38,7 +38,7 @@ let
patches = [ ./purity.patch ];
};
mainlineData = {
mainlineSrc = {
name = "ghostscript-9.05";
src = fetchurl {
url = http://downloads.ghostscript.com/public/ghostscript-9.05.tar.bz2;
@ -55,7 +55,7 @@ let
patches = [ ./purity-9.05.patch ];
};
variant = if gnuFork then gnuForkData else mainlineData;
variant = if gnuFork then gnuForkSrc else mainlineSrc;
in