packages feed

cabal2nix 2.14 → 2.14.1

raw patch · 2 files changed

+2/−5 lines, 2 filesdep ~Cabaldep ~distribution-nixpkgsPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: Cabal, distribution-nixpkgs

API changes (from Hackage documentation)

Files

cabal2nix.cabal view
@@ -1,5 +1,5 @@ name:               cabal2nix-version:            2.14+version:            2.14.1 synopsis:           Convert Cabal files into Nix build instructions. description:   Convert Cabal files into Nix build instructions. Users of Nix can install the latest@@ -201,6 +201,3 @@   build-tools:        cabal2nix   ghc-options:        -Wall -Wcompat -Wincomplete-uni-patterns -Wincomplete-record-updates                       -Wredundant-constraints -threaded -with-rtsopts=-K64K-                      -- TODO: This ought to be 1K!                     ^^^-                      --       https://github.com/NixOS/cabal2nix/issues/398-                      --       https://github.com/feuerbach/tasty/issues/234
src/Distribution/Nixpkgs/Fetch.hs view
@@ -78,7 +78,7 @@     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