distribution-nixpkgs 1.4.0 → 1.5.0
raw patch · 2 files changed
+5/−3 lines, 2 filesdep ~CabalPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: Cabal
API changes (from Hackage documentation)
Files
distribution-nixpkgs.cabal view
@@ -1,11 +1,11 @@ name: distribution-nixpkgs-version: 1.4.0+version: 1.5.0 synopsis: Types and functions to manipulate the Nixpkgs distribution description: Types and functions to represent, query, and manipulate the Nixpkgs distribution. license: BSD3 license-file: LICENSE maintainer: Peter Simons <simons@cryp.to>-tested-with: GHC == 8.0.2 || == 8.2.2 || == 8.4.4 || == 8.6.5 || == 8.8.4 || == 8.10.3+tested-with: GHC == 8.0.2 || == 8.2.2 || == 8.4.4 || == 8.6.5 || == 8.8.4 || == 8.10.4 category: Distribution, Nix homepage: https://github.com/peti/distribution-nixpkgs bug-reports: https://github.com/peti/distribution-nixpkgs/issues@@ -24,7 +24,7 @@ Language.Nix.PrettyPrinting hs-source-dirs: src build-depends: base > 4.2 && < 5- , Cabal > 2.2+ , Cabal >= 2.4 , aeson , bytestring , containers
src/Distribution/Nixpkgs/Meta.hs view
@@ -95,6 +95,7 @@ allKnownPlatforms :: Set Platform allKnownPlatforms = Set.fromList [ Platform I386 Linux, Platform X86_64 Linux , Platform X86_64 OSX, Platform (OtherArch "armv7l") Linux+ , Platform AArch64 Linux ] fromCabalPlatform :: Platform -> String@@ -102,4 +103,5 @@ fromCabalPlatform (Platform X86_64 Linux) = "\"x86_64-linux\"" fromCabalPlatform (Platform X86_64 OSX) = "\"x86_64-darwin\"" fromCabalPlatform (Platform (OtherArch "armv7l") Linux) = "\"armv7l-linux\""+fromCabalPlatform (Platform AArch64 Linux) = "\"aarch64-linux\"" fromCabalPlatform p = error ("fromCabalPlatform: invalid Nix platform" ++ show p)