distribution-nixpkgs 1.6.0 → 1.6.1
raw patch · 3 files changed
+11/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +6/−0
- distribution-nixpkgs.cabal +3/−2
- src/Distribution/Nixpkgs/Meta.hs +2/−1
CHANGELOG.md view
@@ -1,5 +1,11 @@ # Revision history for distribution-nixpkgs +## 1.6.1++* `Distribution.Nixpkgs.Meta`: support `aarch64-darwin`+ * Render `Platform AArch64 OSX` to `"aarch64-darwin"`+ * Add `Platform AArch64 OSX` to `allKnownPlatforms`+ ## 1.6.0 * `Distribution.Nixpkgs.PackageMap`
distribution-nixpkgs.cabal view
@@ -1,10 +1,11 @@ name: distribution-nixpkgs-version: 1.6.0+version: 1.6.1 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>+author: Peter Simons <simons@cryp.to>+maintainer: sternenseemann <sternenseemann@systemli.org> tested-with: GHC == 8.6.5 || == 8.8.4 || == 8.10.4 || == 9.0.1 category: Distribution, Nix homepage: https://github.com/NixOS/distribution-nixpkgs
src/Distribution/Nixpkgs/Meta.hs view
@@ -92,7 +92,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+ , Platform AArch64 Linux, Platform AArch64 OSX ] fromCabalPlatform :: Platform -> String@@ -101,4 +101,5 @@ fromCabalPlatform (Platform X86_64 OSX) = "\"x86_64-darwin\"" fromCabalPlatform (Platform (OtherArch "armv7l") Linux) = "\"armv7l-linux\"" fromCabalPlatform (Platform AArch64 Linux) = "\"aarch64-linux\""+fromCabalPlatform (Platform AArch64 OSX) = "\"aarch64-darwin\"" fromCabalPlatform p = error ("fromCabalPlatform: invalid Nix platform" ++ show p)