Skip to content

Commit

Permalink
Revert "Put file src attribute in quotes to allow more paths"
Browse files Browse the repository at this point in the history
  • Loading branch information
peti committed Jan 30, 2019
1 parent ed6ee6e commit 7905d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Distribution/Nixpkgs/Fetch.hs
Expand Up @@ -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
Expand Down

0 comments on commit 7905d98

Please sign in to comment.