diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-11-11 20:52:07 -0600 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-11-13 19:14:10 -0600 |
commit | bfbfe941abba2a0d7061c86d78b1e8facdeb17f8 (patch) | |
tree | 2f6b86640ce155d6ecf2c5ec79811ad63c2cc703 /pkgs/development/tools/godot | |
parent | 1ba9fd335d90bca03b3868d3bf10c3d9a9de29c6 (diff) | |
download | nixlib-bfbfe941abba2a0d7061c86d78b1e8facdeb17f8.tar nixlib-bfbfe941abba2a0d7061c86d78b1e8facdeb17f8.tar.gz nixlib-bfbfe941abba2a0d7061c86d78b1e8facdeb17f8.tar.bz2 nixlib-bfbfe941abba2a0d7061c86d78b1e8facdeb17f8.tar.lz nixlib-bfbfe941abba2a0d7061c86d78b1e8facdeb17f8.tar.xz nixlib-bfbfe941abba2a0d7061c86d78b1e8facdeb17f8.tar.zst nixlib-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/development/tools/godot')
-rw-r--r-- | pkgs/development/tools/godot/default.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/development/tools/godot/default.nix b/pkgs/development/tools/godot/default.nix index e22b8b25eaa4..dd6a413cebf2 100644 --- a/pkgs/development/tools/godot/default.nix +++ b/pkgs/development/tools/godot/default.nix @@ -33,10 +33,9 @@ in stdenv.mkDerivation rec { enableParallelBuilding = true; - buildPhase = '' - scons target=release_debug platform=x11 prefix=$out -j $NIX_BUILD_CORES \ - ${lib.concatStringsSep " " - (lib.mapAttrsToList (k: v: "${k}=${builtins.toJSON v}") options)} + sconsFlags = "target=release_debug platform=x11"; + preConfigure = '' + sconsFlags+=" ${lib.concatStringsSep " " (lib.mapAttrsToList (k: v: "${k}=${builtins.toJSON v}") options)}" ''; outputs = [ "out" "dev" "man" ]; |