mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
libofa: Use multiple outputs
This commit is contained in:
parent
37f2679e73
commit
f84806d84f
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue