diff options
author | Robin Gloster <mail@glob.in> | 2016-05-04 10:08:35 +0000 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-05-04 10:11:04 +0000 |
commit | 9820cb1bf24254199db05856bbb4919378ac75cb (patch) | |
tree | 6c6bfeb09e5799573e7546419e3496a6fcf0863a /pkgs/servers/x11/xquartz/default.nix | |
parent | aadaa913792b0fdeb68b02425e4f03d2f8286a1f (diff) | |
download | nixlib-9820cb1bf24254199db05856bbb4919378ac75cb.tar nixlib-9820cb1bf24254199db05856bbb4919378ac75cb.tar.gz nixlib-9820cb1bf24254199db05856bbb4919378ac75cb.tar.bz2 nixlib-9820cb1bf24254199db05856bbb4919378ac75cb.tar.lz nixlib-9820cb1bf24254199db05856bbb4919378ac75cb.tar.xz nixlib-9820cb1bf24254199db05856bbb4919378ac75cb.tar.zst nixlib-9820cb1bf24254199db05856bbb4919378ac75cb.zip |
use dontBuild instead of hacks
changes: * buildPhase = "true" * buildPhase = ":"
Diffstat (limited to 'pkgs/servers/x11/xquartz/default.nix')
-rw-r--r-- | pkgs/servers/x11/xquartz/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/servers/x11/xquartz/default.nix b/pkgs/servers/x11/xquartz/default.nix index db0c446617af..16a4aeb1ce58 100644 --- a/pkgs/servers/x11/xquartz/default.nix +++ b/pkgs/servers/x11/xquartz/default.nix @@ -98,9 +98,13 @@ let }; in stdenv.mkDerivation { name = "xquartz"; + buildInputs = [ ruby makeWrapper ]; + unpackPhase = "sourceRoot=."; - buildPhase = ":"; + + dontBuild = true; + installPhase = '' cp -rT ${xorg.xinit} $out chmod -R u+w $out @@ -179,6 +183,7 @@ in stdenv.mkDerivation { --replace "@DEFAULT_CLIENT@" "${xterm}/bin/xterm" \ --replace "@FONTCONFIG_FILE@" "$fontsConfPath" ''; + meta = with lib; { platforms = platforms.darwin; maintainers = with maintainers; [ cstrahan ]; |