diff options
author | Fabián Heredia Montiel <fabianhjr@protonmail.com> | 2022-04-15 23:56:27 -0500 |
---|---|---|
committer | Fabián Heredia Montiel <fabianhjr@protonmail.com> | 2022-04-16 11:11:28 -0500 |
commit | a8b50d73b2450fcaa181ae53076f538355af3d8c (patch) | |
tree | 0d90628ad961bbc28a4563712e3085826b2a8063 /pkgs/games/deliantra | |
parent | 91ffe81b174d2d7faf40404f77b7747dc7c3dda3 (diff) |
deliantra: refactor and override stdenv
Diffstat (limited to 'pkgs/games/deliantra')
-rw-r--r-- | pkgs/games/deliantra/arch.nix (renamed from pkgs/games/deliantra/deliantra-arch.nix) | 0 | ||||
-rw-r--r-- | pkgs/games/deliantra/data.nix (renamed from pkgs/games/deliantra/deliantra-data.nix) | 0 | ||||
-rw-r--r-- | pkgs/games/deliantra/default.nix | 10 | ||||
-rw-r--r-- | pkgs/games/deliantra/maps.nix (renamed from pkgs/games/deliantra/deliantra-maps.nix) | 0 | ||||
-rw-r--r-- | pkgs/games/deliantra/server.nix (renamed from pkgs/games/deliantra/deliantra-server.nix) | 4 |
5 files changed, 4 insertions, 10 deletions
diff --git a/pkgs/games/deliantra/deliantra-arch.nix b/pkgs/games/deliantra/arch.nix index 2201ca2d1f5f..2201ca2d1f5f 100644 --- a/pkgs/games/deliantra/deliantra-arch.nix +++ b/pkgs/games/deliantra/arch.nix diff --git a/pkgs/games/deliantra/deliantra-data.nix b/pkgs/games/deliantra/data.nix index 31ed7d0f0118..31ed7d0f0118 100644 --- a/pkgs/games/deliantra/deliantra-data.nix +++ b/pkgs/games/deliantra/data.nix diff --git a/pkgs/games/deliantra/default.nix b/pkgs/games/deliantra/default.nix deleted file mode 100644 index 76a06c960187..000000000000 --- a/pkgs/games/deliantra/default.nix +++ /dev/null @@ -1,10 +0,0 @@ -pkgs: - -let - callPackage = pkgs.callPackage; -in { - deliantra-server = callPackage ./deliantra-server.nix {}; - deliantra-arch = callPackage ./deliantra-arch.nix {}; - deliantra-maps = callPackage ./deliantra-maps.nix {}; - deliantra-data = callPackage ./deliantra-data.nix {}; -} diff --git a/pkgs/games/deliantra/deliantra-maps.nix b/pkgs/games/deliantra/maps.nix index 1f87178102a0..1f87178102a0 100644 --- a/pkgs/games/deliantra/deliantra-maps.nix +++ b/pkgs/games/deliantra/maps.nix diff --git a/pkgs/games/deliantra/deliantra-server.nix b/pkgs/games/deliantra/server.nix index e333b7a472f5..4185a46120e5 100644 --- a/pkgs/games/deliantra/deliantra-server.nix +++ b/pkgs/games/deliantra/server.nix @@ -23,16 +23,20 @@ stdenv.mkDerivation rec { autoconf perl gperf optipng pngnq rsync imagemagick pkg-config makeWrapper ]; + propagatedBuildInputs = perl-deps; + buildInputs = [ blitz boost glib ]; hardeningDisable = [ "format" ]; + patches = [ ./0001-abs.patch ./0002-datadir.patch ]; + postFixup = '' wrapProgram $out/bin/cfutil --prefix PERL5LIB : $PERL5LIB wrapProgram $out/bin/deliantra-server --prefix PERL5LIB : $PERL5LIB |