summaryrefslogtreecommitdiffstats
path: root/pkgs/shells/es
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2021-07-14 17:10:11 +0200
committerFelix Buehler <account@buehler.rocks>2021-07-16 00:17:12 +0200
commit1e9baed56b85263104f21170a1d2be315876a101 (patch)
tree903ccb3615c2b22ae30f5299af147e497d1b8bbf /pkgs/shells/es
parentb141a58ff28c1b14fea9292dbcfe2a5af2da923c (diff)
various: cleanup of 'inherit version;'
Diffstat (limited to 'pkgs/shells/es')
-rw-r--r--pkgs/shells/es/default.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/shells/es/default.nix b/pkgs/shells/es/default.nix
index 5efb860c1d5f..52131a214a5e 100644
--- a/pkgs/shells/es/default.nix
+++ b/pkgs/shells/es/default.nix
@@ -1,12 +1,9 @@
{ lib, stdenv, fetchurl, readline, bison }:
-let
- version = "0.9.1";
-in
-stdenv.mkDerivation {
+stdenv.mkDerivation rec {
pname = "es";
- inherit version;
+ version = "0.9.1";
src = fetchurl {
url = "https://github.com/wryun/es-shell/releases/download/v${version}/es-${version}.tar.gz";