mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-21 20:34:06 +00:00
Merge pull request #305409 from obsidiansystems/libcxxrt-multiple-output
libcxxrt: Add multiple outputs
This commit is contained in:
commit
a49ac03100
@ -13,9 +13,11 @@ stdenv.mkDerivation {
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/include $out/lib
|
||||
cp ../src/cxxabi.h $out/include
|
||||
mkdir -p $dev/include $out/lib
|
||||
cp ../src/cxxabi.h $dev/include
|
||||
cp lib/libcxxrt${stdenv.hostPlatform.extensions.library} $out/lib
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user