mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
clojure: 1.10.3.839 -> 1.10.3.849
This commit is contained in:
parent
ea7d4aa9b8
commit
b38eb1b34c
1 changed files with 4 additions and 3 deletions
|
@ -2,12 +2,12 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "clojure";
|
||||
version = "1.10.3.839";
|
||||
version = "1.10.3.849";
|
||||
|
||||
src = fetchurl {
|
||||
# https://clojure.org/releases/tools
|
||||
url = "https://download.clojure.org/install/clojure-tools-${version}.tar.gz";
|
||||
sha256 = "sha256-nf8Vd60Opobj3gUPyYohQTzkG1G4kW9wWdBKRUba9+c=";
|
||||
sha256 = "sha256-0bHb6FsCZP1LdxY21+hz6lF+ka9N0yoIHUWVd+zc7wg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||
makeWrapper
|
||||
];
|
||||
|
||||
# See https://github.com/clojure/brew-install/blob/1.10.1/src/main/resources/clojure/install/linux-install.sh
|
||||
# See https://github.com/clojure/brew-install/blob/1.10.3/src/main/resources/clojure/install/linux-install.sh
|
||||
installPhase =
|
||||
let
|
||||
binPath = lib.makeBinPath [ rlwrap jdk ];
|
||||
|
@ -34,6 +34,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
echo "Installing clojure and clj into $bin_dir"
|
||||
substituteInPlace clojure --replace PREFIX $out
|
||||
substituteInPlace clj --replace BINDIR $bin_dir
|
||||
install -Dm755 clojure "$bin_dir/clojure"
|
||||
install -Dm755 clj "$bin_dir/clj"
|
||||
|
||||
|
|
Loading…
Reference in a new issue