Revert "Put file src attribute in quotes to allow more paths"
commit7905d98cbf61c9e6b664c28e568b0085de27f109
authorPeter Simons <simons@cryp.to>
dateWed 30 Jan 2019, 16:26 (8 years ago)
parented6ee6e
src/Distribution/Nixpkgs/Fetch.hs+1−1
@@ -78,7 +78,7 @@ instance PP.Pretty DerivationSource where
7878 let isHackagePackage = "mirror://hackage/" `L.isPrefixOf` derivUrl
7979 fetched = derivKind /= ""
8080 in if isHackagePackage then attr "sha256" $ string derivHash
81− else if not fetched then attr "src" $ string derivUrl
81+ else if not fetched then attr "src" $ text derivUrl
8282 else vcat
8383 [ text "src" <+> equals <+> text ("fetch" ++ derivKind) <+> lbrace
8484 , nest 2 $ vcat