From f4a9736a3b140d68fba555ac30f3e018b94f135a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kukie=C5=82a?= <53443372+kukimik@users.noreply.github.com> Date: Fri, 24 Nov 2023 03:43:08 +0100 Subject: [PATCH 1/2] Mention #1801 as a breaking change in 1.33.0 (#2551) --- dhall/CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dhall/CHANGELOG.md b/dhall/CHANGELOG.md index 3d0b5289f..3a4f1922b 100644 --- a/dhall/CHANGELOG.md +++ b/dhall/CHANGELOG.md @@ -361,6 +361,12 @@ * If you really don't want to handle the new error-related wrapper, you can get the old behavior using a partial pattern match (which will be partial, still an improvement over the previous behavior, which was hanging) +* BREAKING CHANGE: [Records can no longer contain attributes named after language keywords](https://github.com/dhall-lang/dhall-haskell/pull/1801) + * This is a bugfix, because the language standard disallows using + keywords as record labels. However, some users were relying on + this bug. + * If you need to use a keyword as a record label, enclose it in backticks: + ``{ `assert` = 1 }``. * [Fix invalid cache entries](https://github.com/dhall-lang/dhall-haskell/pull/1793) * The interpreter will now correct cached expressions that are incorrect and warn you when this happens From 8982b76934241b0fb4f801635851b54565f9cfaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kukie=C5=82a?= <53443372+kukimik@users.noreply.github.com> Date: Fri, 24 Nov 2023 04:02:54 +0100 Subject: [PATCH 2/2] Move manpage to share/man/man1 in Linux tarball (#2550) --- nix/shared.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/shared.nix b/nix/shared.nix index 94d99c25e..548472570 100644 --- a/nix/shared.nix +++ b/nix/shared.nix @@ -378,7 +378,7 @@ let releaseName=${name} ${pkgsStaticLinux.coreutils}/bin/install --target-directory "$TMPDIR/inst/bin" -D $src/bin/* ${pkgs.lib.optionalString (manDir != null) '' - ${pkgsStaticLinux.coreutils}/bin/install --target-directory "$TMPDIR/inst/share/man" -D ${manDir}/* + ${pkgsStaticLinux.coreutils}/bin/install --target-directory "$TMPDIR/inst/share/man/man1" -D ${manDir}/*.1 ''} ''; };