Revert "fetchzip, fetchgit: cleanup handling of optional features and whitespace"

This commit is contained in:
Benjamin Hipple
2020-03-26 00:35:40 -04:00
committed by GitHub
parent a0c0ae3af0
commit 259f3b3b68
3 changed files with 43 additions and 41 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
{ stdenvNoCC, git, cacert }: let
{stdenvNoCC, git, cacert}: let
urlToName = url: rev: let
inherit (stdenvNoCC.lib) removeSuffix splitString last;
base = last (splitString ":" (baseNameOf (removeSuffix "/" url)));