@@ -30,12 +30,12 @@
3030
3131let
3232
33− name = "hylafaxplus-${version}";
33+ pname = "hylafaxplus";
3434 version = "7.0.3";
3535 sha256 = "139iwcwrn9i5lragxi33ilzah72w59wg4midfjjgx5cly3ah0iy4";
3636
3737 configSite = substituteAll {
38− name = "hylafaxplus-config.site";
38+ name = "${pname}-config.site";
3939 src = ./config.site;
4040 config_maxgid = lib.optionalString (maxgid!=null) ''CONFIG_MAXGID=${builtins.toString maxgid}'';
4141 ghostscript_version = ghostscript.version;
@@ -44,7 +44,7 @@ let
4444 };
4545
4646 postPatch = substituteAll {
47− name = "hylafaxplus-post-patch.sh";
47+ name = "${pname}-post-patch.sh";
4848 src = ./post-patch.sh;
4949 inherit configSite;
5050 maxuid = lib.optionalString (maxuid!=null) (builtins.toString maxuid);
@@ -55,7 +55,7 @@ let
5555 };
5656
5757 postInstall = substituteAll {
58− name = "hylafaxplus-post-install.sh";
58+ name = "${pname}-post-install.sh";
5959 src = ./post-install.sh;
6060 inherit fakeroot libfaketime;
6161 };
@@ -63,7 +63,7 @@ let
6363in
6464
6565stdenv.mkDerivation {
66− inherit name version;
66+ inherit pname version;
6767 src = fetchurl {
6868 url = "mirror://sourceforge/hylafax/hylafax-${version}.tar.gz";
6969 inherit sha256;