summary refs log tree commit diff
path: root/pkgs/servers/rippled/default.nix
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/servers/rippled/default.nix
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/servers/rippled/default.nix')
-rw-r--r--pkgs/servers/rippled/default.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/pkgs/servers/rippled/default.nix b/pkgs/servers/rippled/default.nix
index c1d9655ef23..af25da7ae45 100644
--- a/pkgs/servers/rippled/default.nix
+++ b/pkgs/servers/rippled/default.nix
@@ -15,12 +15,10 @@ stdenv.mkDerivation rec {
     sed -i -e "s@ENV = dict.*@ENV = os.environ@g" SConstruct
   '';
 
-  nativeBuildInputs = [ pkgconfig ];
-  buildInputs = [ scons openssl protobuf boost zlib ];
+  nativeBuildInputs = [ pkgconfig scons ];
+  buildInputs = [ openssl protobuf boost zlib ];
 
-  buildPhase = "scons";
-
-  installPhase = ''
+  postInstall = ''
     mkdir -p $out/bin
     cp build/rippled $out/bin/
   '';