summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
author(cdep)illabout <cdep.illabout@gmail.com>2020-01-04 10:08:04 +0900
committerPeter Simons <simons@cryp.to>2020-01-10 20:56:20 +0100
commitd11d55fd62df9031d4fac607bc51ac8f48689330 (patch)
tree802127b30205bcde14e2d93f192916b56648bc59 /pkgs/development/haskell-modules
parent900a378245d6853dbd08de065eb180fdf58e0388 (diff)
downloadnixpkgs-d11d55fd62df9031d4fac607bc51ac8f48689330.tar
nixpkgs-d11d55fd62df9031d4fac607bc51ac8f48689330.tar.gz
nixpkgs-d11d55fd62df9031d4fac607bc51ac8f48689330.tar.bz2
nixpkgs-d11d55fd62df9031d4fac607bc51ac8f48689330.tar.lz
nixpkgs-d11d55fd62df9031d4fac607bc51ac8f48689330.tar.xz
nixpkgs-d11d55fd62df9031d4fac607bc51ac8f48689330.tar.zst
nixpkgs-d11d55fd62df9031d4fac607bc51ac8f48689330.zip
haskell: add comment to default-package-overrides in configuration-hackage2nix.yaml.
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-hackage2nix.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
index 4c2982e0396..9c07a75c528 100644
--- a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
+++ b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
@@ -42,6 +42,28 @@ core-packages:
   # of this library are marked as "broken".
   - ghcjs-base-0
 
+# This is a list of packages with versions from the latest Stackage LTS release.
+#
+# The packages and versions in this list cause the `hackage2nix` tool to
+# generate the package at the given version.
+#
+# For instance, with a line like the following:
+#
+# - aeson ==1.4.6.0
+#
+# `hackage2nix` will generate the `aeson` package at version 1.4.6.0 in the
+# ./hackage-packages.nix file.
+#
+# Since the packages in the LTS package set are sometimes older than the latest
+# on Hackage, `hackage2nix` is smart enough to also generate the latest version
+# of a given package.
+#
+# In the above example with aeson, if there was version 1.5.0.0 of aeson
+# available on Hackage, `hackage2nix` would generate two packages, `aeson`
+# at version 1.4.6.0 and `aeson_1_5_0_0` at version 1.5.0.0.
+#
+# WARNING: This list is generated semiautomatically based on the most recent
+# LTS package set.  DO NOT EDIT BY HAND!
 default-package-overrides:
   # LTS Haskell 14.20
   - abstract-deque ==0.3