From 7905d98cbf61c9e6b664c28e568b0085de27f109 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 30 Jan 2019 16:26:06 +0100 Subject: [PATCH] Revert "Put file src attribute in quotes to allow more paths" --- src/Distribution/Nixpkgs/Fetch.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Distribution/Nixpkgs/Fetch.hs b/src/Distribution/Nixpkgs/Fetch.hs index 65f56f548..4197f7ebb 100644 --- a/src/Distribution/Nixpkgs/Fetch.hs +++ b/src/Distribution/Nixpkgs/Fetch.hs @@ -78,7 +78,7 @@ instance PP.Pretty DerivationSource where let isHackagePackage = "mirror://hackage/" `L.isPrefixOf` derivUrl fetched = derivKind /= "" in if isHackagePackage then attr "sha256" $ string derivHash - else if not fetched then attr "src" $ string derivUrl + else if not fetched then attr "src" $ text derivUrl else vcat [ text "src" <+> equals <+> text ("fetch" ++ derivKind) <+> lbrace , nest 2 $ vcat