summary refs log tree commit diff
path: root/pkgs/games/dxx-rebirth
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-11-11 20:52:07 -0600
committerMatthew Bauer <mjbauer95@gmail.com>2018-11-13 19:14:10 -0600
commitbfbfe941abba2a0d7061c86d78b1e8facdeb17f8 (patch)
tree2f6b86640ce155d6ecf2c5ec79811ad63c2cc703 /pkgs/games/dxx-rebirth
parent1ba9fd335d90bca03b3868d3bf10c3d9a9de29c6 (diff)
downloadnixpkgs-bfbfe941abba2a0d7061c86d78b1e8facdeb17f8.tar
nixpkgs-bfbfe941abba2a0d7061c86d78b1e8facdeb17f8.tar.gz
nixpkgs-bfbfe941abba2a0d7061c86d78b1e8facdeb17f8.tar.bz2
nixpkgs-bfbfe941abba2a0d7061c86d78b1e8facdeb17f8.tar.lz
nixpkgs-bfbfe941abba2a0d7061c86d78b1e8facdeb17f8.tar.xz
nixpkgs-bfbfe941abba2a0d7061c86d78b1e8facdeb17f8.tar.zst
nixpkgs-bfbfe941abba2a0d7061c86d78b1e8facdeb17f8.zip
treewide: use scons setup hook
Lots of packages can use it. Here is the list:

- jackmix
- klick
- mixx
- nova-filters
- rhvoice
- giv
- mypaint
- swift-im
- bombono
- mapnik
- serf
- nuitka
- pyexiv2
- godot
- hammer
- toluapp
- btanks
- dxx-rebirth
- endless-sky
- globulation
- the-powder-toy
- fceux
- gpsd
- mongodb
- rippled
- mariadb
- lprof
Diffstat (limited to 'pkgs/games/dxx-rebirth')
-rw-r--r--pkgs/games/dxx-rebirth/default.nix13
1 files changed, 1 insertions, 12 deletions
diff --git a/pkgs/games/dxx-rebirth/default.nix b/pkgs/games/dxx-rebirth/default.nix
index 5334e4cbd12..3e6bc2dc6f5 100644
--- a/pkgs/games/dxx-rebirth/default.nix
+++ b/pkgs/games/dxx-rebirth/default.nix
@@ -39,18 +39,7 @@ in stdenv.mkDerivation rec {
 
   NIX_CFLAGS_COMPILE = "-Wno-format-nonliteral";
 
-  buildPhase = ''
-    runHook preBuild
-
-    scons prefix=$out
-
-    runHook postBuild
-  '';
-
-  installPhase = ''
-    runHook preInstall
-
-    scons prefix=$out install
+  postInstall = ''
     install -Dm644 ${music} $out/share/games/dxx-rebirth/d2xr-sc55-music.dxa
     install -Dm644 -t $out/share/doc/dxx-rebirth *.txt