llvmPackages_*.libunwind: Move into own directory

I expect to soon give it some patches that would go in there too, but
either way it's good to match the others.
This commit is contained in:
John Ericson
2021-03-26 05:06:15 +00:00
parent 19a974945b
commit 0ae1182489
8 changed files with 4 additions and 4 deletions
@@ -0,0 +1,14 @@
{ lib, stdenv, version, fetch, cmake, fetchpatch
, enableShared ? !stdenv.hostPlatform.isStatic
}:
stdenv.mkDerivation rec {
pname = "libunwind";
inherit version;
src = fetch pname "09syx66idnm2pr46x2vmk0jn3iwdv0lkd04xy4zjbwmz3vn066bl";
nativeBuildInputs = [ cmake ];
cmakeFlags = lib.optional (!enableShared) "-DLIBUNWIND_ENABLE_SHARED=OFF";
}