terraform: remove whitespace from name

A `nix-env -iA unstable.terraform-full` gave me
`installing 'terraform-with-plugins -0.11.7'`
This removes the whitespace which sneaked into its name.
This commit is contained in:
Elias Probst 2018-07-19 23:58:25 +02:00
parent 6c1e45b000
commit 48a1dafdbe
No known key found for this signature in database
GPG Key ID: 82C512826511BADB

View File

@ -60,7 +60,7 @@ let
# of plugins, which might be counterintuitive if someone just wants a vanilla Terraform.
if actualPlugins == []
then terraform.overrideAttrs (orig: { passthru = orig.passthru // passthru; })
else lib.appendToName "with-plugins "(stdenv.mkDerivation {
else lib.appendToName "with-plugins"(stdenv.mkDerivation {
inherit (terraform) name;
buildInputs = [ makeWrapper ];