mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
c5d61a5e93
Includes deliantra-arch, deliantra-maps, and deliantra-data (a combined package that includes the compiled archetypes and maps and the static data shipped with the server itself).
12 lines
357 B
Diff
12 lines
357 B
Diff
--- a/utils/cfutil.in
|
|
+++ b/utils/cfutil.in
|
|
@@ -27,7 +27,7 @@ use common::sense;
|
|
my $prefix = "@prefix@";
|
|
my $exec_prefix = "@exec_prefix@";
|
|
my $datarootdir = "@datarootdir@";
|
|
-my $DATADIR = "@datadir@/@PACKAGE@";
|
|
+my $DATADIR = $ENV{'DELIANTRA_DATADIR'} || "@datadir@/@PACKAGE@";
|
|
|
|
my $CONVERT = "@CONVERT@";
|
|
my $IDENTIFY = "@IDENTIFY@";
|