about summary refs log tree commit diff
path: root/pkgs/development/libraries/libmpc
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2021-07-17 19:56:23 +0200
committerFelix Buehler <account@buehler.rocks>2021-07-18 00:19:24 +0200
commit87316d778be9234ada273c0892ce9788bd23ab9f (patch)
tree58ab70c7d52e4bf2221679f7f3937000dabc5337 /pkgs/development/libraries/libmpc
parenta314be4b4d6403df29c9fe3ed0cd92a39ffbcdb2 (diff)
various: cleanup of "inherit version;"
Diffstat (limited to 'pkgs/development/libraries/libmpc')
-rw-r--r--pkgs/development/libraries/libmpc/default.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/development/libraries/libmpc/default.nix b/pkgs/development/libraries/libmpc/default.nix
index bd28f490ecb78..2dede1f976d22 100644
--- a/pkgs/development/libraries/libmpc/default.nix
+++ b/pkgs/development/libraries/libmpc/default.nix
@@ -7,12 +7,9 @@
 # cgit) that are needed here should be included directly in Nixpkgs as
 # files.
 
-let
-  version = "1.2.1";
-in
-stdenv.mkDerivation {
+stdenv.mkDerivation rec {
   pname = "libmpc";
-  inherit version; # to avoid clash with the MPD client
+  version = "1.2.1"; # to avoid clash with the MPD client
 
   src = fetchurl {
     url = "mirror://gnu/mpc/mpc-${version}.tar.gz";