Merge pull request #91114 from danieldk/clojure-man-pages

clojure: install man pages
This commit is contained in:
Matthew Bauer 2020-06-21 21:33:20 -04:00 committed by GitHub
commit 74c8e34ece
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, jdk11, rlwrap, makeWrapper }:
{ stdenv, fetchurl, installShellFiles, jdk11, rlwrap, makeWrapper }:
stdenv.mkDerivation rec {
pname = "clojure";
@ -9,7 +9,10 @@ stdenv.mkDerivation rec {
sha256 = "06lg4z3q0fzxlbmx92g5qb0w3nw83dbwkzh3zjdy9ixrpm7b84i0";
};
buildInputs = [ makeWrapper ];
nativeBuildInputs = [
installShellFiles
makeWrapper
];
installPhase =
let
@ -26,6 +29,8 @@ stdenv.mkDerivation rec {
install -Dt $out/bin clj clojure
wrapProgram $out/bin/clj --prefix PATH : $out/bin:${binPath}
wrapProgram $out/bin/clojure --prefix PATH : $out/bin:${binPath}
installManPage clj.1 clojure.1
'';
doInstallCheck = true;