From f84806d84f1846592796420443f440e2fe5c232f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 19 Sep 2016 14:48:30 +0200 Subject: [PATCH] libofa: Use multiple outputs --- pkgs/development/libraries/libofa/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/libraries/libofa/default.nix b/pkgs/development/libraries/libofa/default.nix index a59420a7045d..dc0beb07db94 100644 --- a/pkgs/development/libraries/libofa/default.nix +++ b/pkgs/development/libraries/libofa/default.nix @@ -17,6 +17,14 @@ stdenv.mkDerivation rec { sha256 = "1rfkyz13cm8izm90c1xflp4rvsa24aqs6qpbbbqqcbmvzsj6j9yn"; }; + outputs = [ "out" "dev" ]; + + setOutputFlags = false; + + preConfigure = '' + configureFlagsArray=(--includedir=$dev/include --libdir=$out/lib) + ''; + propagatedBuildInputs = [ expat curl fftw ]; meta = {