diff options
author | Thomas Tuegel <ttuegel@gmail.com> | 2016-04-26 14:19:25 -0500 |
---|---|---|
committer | Thomas Tuegel <ttuegel@gmail.com> | 2016-04-30 12:20:08 -0500 |
commit | f67be473334dbc463c8cb6dd9b6579da720357e2 (patch) | |
tree | d46cfa67297b163b62254861db2c60a789f2be98 | |
parent | 2875293615adabba44dac3a222e3d483c3f9e6f7 (diff) |
ORBit2: multiple outputs
-rw-r--r-- | pkgs/desktops/gnome-2/platform/ORBit2/default.nix | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/desktops/gnome-2/platform/ORBit2/default.nix b/pkgs/desktops/gnome-2/platform/ORBit2/default.nix index 754a3ce68f651..27233f4993cd9 100644 --- a/pkgs/desktops/gnome-2/platform/ORBit2/default.nix +++ b/pkgs/desktops/gnome-2/platform/ORBit2/default.nix @@ -9,16 +9,22 @@ stdenv.mkDerivation rec { sha256 = "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam"; }; + nativeBuildInputs = [ pkgconfig ]; + propagatedBuildInputs = [ glib libIDL ] ++ libintlOrEmpty; + + outputs = [ "dev" "out" ]; + preBuild = '' sed 's/-DG_DISABLE_DEPRECATED//' -i linc2/src/Makefile ''; - nativeBuildInputs = [ pkgconfig ]; - propagatedBuildInputs = [ glib libIDL ] ++ libintlOrEmpty; + preFixup = '' + moveToOutput "bin/orbit2-config" "$dev" + ''; meta = with stdenv.lib; { homepage = https://projects.gnome.org/ORBit2/; - description = "A a CORBA 2.4-compliant Object Request Broker"; + description = "A CORBA 2.4-compliant Object Request Broker"; platforms = platforms.unix; maintainers = with maintainers; [ lovek323 ]; |