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

Commit

Permalink
clojure: install man pages
Browse files Browse the repository at this point in the history
Also move `makeWrapper` to `nativeBuildInputs`.
  • Loading branch information
danieldk committed Jun 19, 2020
1 parent ad6c43f commit a6f7a8b
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 a6f7a8b

Please sign in to comment.