about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-01-16 15:05:42 -0600
committerWill Dietz <w@wdtz.org>2018-01-16 15:15:41 -0600
commit74bcd87ed9ab48755984fb3529fa67bf06120204 (patch)
treee2fe0ce95ae5ca7f96ed5f2ac1fde82cabff679d /pkgs
parent75936c412d81a0f5f6efea8d73147134b3cad939 (diff)
downloadnixlib-74bcd87ed9ab48755984fb3529fa67bf06120204.tar
nixlib-74bcd87ed9ab48755984fb3529fa67bf06120204.tar.gz
nixlib-74bcd87ed9ab48755984fb3529fa67bf06120204.tar.bz2
nixlib-74bcd87ed9ab48755984fb3529fa67bf06120204.tar.lz
nixlib-74bcd87ed9ab48755984fb3529fa67bf06120204.tar.xz
nixlib-74bcd87ed9ab48755984fb3529fa67bf06120204.tar.zst
nixlib-74bcd87ed9ab48755984fb3529fa67bf06120204.zip
lldb-{4,5}: install manpage
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/compilers/llvm/4/lldb.nix5
-rw-r--r--pkgs/development/compilers/llvm/5/lldb.nix5
2 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/compilers/llvm/4/lldb.nix b/pkgs/development/compilers/llvm/4/lldb.nix
index 7d33179913be..5ffc346a479e 100644
--- a/pkgs/development/compilers/llvm/4/lldb.nix
+++ b/pkgs/development/compilers/llvm/4/lldb.nix
@@ -43,6 +43,11 @@ stdenv.mkDerivation {
 
   enableParallelBuilding = true;
 
+  postInstall = ''
+    mkdir -p $out/share/man/man1
+    cp ../docs/lldb.1 $out/share/man/man1/
+  '';
+
   meta = with stdenv.lib; {
     description = "A next-generation high-performance debugger";
     homepage    = http://llvm.org/;
diff --git a/pkgs/development/compilers/llvm/5/lldb.nix b/pkgs/development/compilers/llvm/5/lldb.nix
index 03e65dde0e4d..559c52831cd2 100644
--- a/pkgs/development/compilers/llvm/5/lldb.nix
+++ b/pkgs/development/compilers/llvm/5/lldb.nix
@@ -42,6 +42,11 @@ stdenv.mkDerivation {
 
   enableParallelBuilding = true;
 
+  postInstall = ''
+    mkdir -p $out/share/man/man1
+    cp ../docs/lldb.1 $out/share/man/man1/
+  '';
+
   meta = with stdenv.lib; {
     description = "A next-generation high-performance debugger";
     homepage    = http://llvm.org/;