Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #91114 from danieldk/clojure-man-pages
Browse files Browse the repository at this point in the history
clojure: install man pages
  • Loading branch information
matthewbauer committed Jun 22, 2020
2 parents d9e94d1 + a6f7a8b commit 74c8e34
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pkgs/development/interpreters/clojure/default.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, jdk11, rlwrap, makeWrapper }:
{ stdenv, fetchurl, installShellFiles, jdk11, rlwrap, makeWrapper }:

stdenv.mkDerivation rec {
pname = "clojure";
Expand All @@ -9,7 +9,10 @@ stdenv.mkDerivation rec {
sha256 = "06lg4z3q0fzxlbmx92g5qb0w3nw83dbwkzh3zjdy9ixrpm7b84i0";
};

buildInputs = [ makeWrapper ];
nativeBuildInputs = [
installShellFiles
makeWrapper
];

installPhase =
let
Expand All @@ -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;
Expand Down

0 comments on commit 74c8e34

Please sign in to comment.