From bdf0239c3f83ee985901e930d87659731e02c8e2 Mon Sep 17 00:00:00 2001 From: Aaron VonderHaar Date: Tue, 9 Feb 2021 11:27:30 -0800 Subject: [PATCH] elm-format: simplify the nix expression --- pkgs/development/compilers/elm/packages/elm-format.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/elm/packages/elm-format.nix b/pkgs/development/compilers/elm/packages/elm-format.nix index 2d2cbcf3bc9..6b583a6edde 100644 --- a/pkgs/development/compilers/elm/packages/elm-format.nix +++ b/pkgs/development/compilers/elm/packages/elm-format.nix @@ -3,7 +3,7 @@ , lib, mtl, optparse-applicative, parsec, QuickCheck, quickcheck-io , relude, tasty, tasty-hspec, tasty-hunit, tasty-quickcheck, text }: -mkDerivation { +mkDerivation rec { pname = "elm-format"; version = "0.8.5"; src = fetchgit { @@ -34,7 +34,7 @@ mkDerivation { module Build_elm_format where gitDescribe :: String - gitDescribe = "0.8.5" + gitDescribe = "${version}" EOHS ''; }