[Git][haskell-team/package-plan][master] patch ormolu

Clint Adams (@clint) gitlab at salsa.debian.org
Fri Feb 27 03:27:05 GMT 2026



Clint Adams pushed to branch master at Debian Haskell Group / package-plan


Commits:
13110855 by Clint Adams at 2026-02-26T22:26:58-05:00
patch ormolu

- - - - -


3 changed files:

- packages.txt
- + patches/ormolu/0.8.0.0/older-deps
- + patches/ormolu/0.8.0.0/series


Changes:

=====================================
packages.txt
=====================================
@@ -732,7 +732,7 @@ optional-args 1.0.2
 optparse-applicative 0.18.1.0
 optparse-simple 0.1.1.4
 ordered-containers 0.2.4
-ormolu 0.7.7.0 ignore # https://bugs.debian.org/1127986
+ormolu 0.8.0.0
 os-string 2.0.7 ignore # https://bugs.debian.org/1127987
 pager 0.1.1.0
 pandoc 3.7.0.2 key -f+http-conduit


=====================================
patches/ormolu/0.8.0.0/older-deps
=====================================
@@ -0,0 +1,52 @@
+--- a/ormolu.cabal
++++ b/ormolu.cabal
+@@ -95,7 +95,7 @@ library
+   other-modules: GHC.DynFlags
+   default-language: GHC2021
+   build-depends:
+-    Cabal-syntax >=3.14 && <3.15,
++    Cabal-syntax >=3.12 && <3.13,
+     Diff >=0.4 && <2,
+     MemoTrie >=0.6 && <0.7,
+     ansi-terminal >=0.10 && <1.2,
+@@ -133,7 +133,7 @@ executable ormolu
+   autogen-modules: Paths_ormolu
+   default-language: GHC2021
+   build-depends:
+-    Cabal-syntax >=3.14 && <3.15,
++    Cabal-syntax >=3.12 && <3.13,
+     base >=4.12 && <5,
+     containers >=0.5 && <0.8,
+     directory ^>=1.3,
+@@ -184,7 +184,7 @@ test-suite tests
+ 
+   default-language: GHC2021
+   build-depends:
+-    Cabal-syntax >=3.14 && <3.15,
++    Cabal-syntax >=3.12 && <3.13,
+     QuickCheck >=2.14,
+     base >=4.14 && <5,
+     choice >=0.2.4.1 && <0.3,
+--- a/src/Ormolu/Utils/Cabal.hs
++++ b/src/Ormolu/Utils/Cabal.hs
+@@ -189,17 +189,17 @@ getExtensionAndDepsMap cabalFile Generic
+     extractFromLibrary Library {..} =
+       extractFromBuildInfo (ModuleName.toFilePath <$> exposedModules) libBuildInfo
+     extractFromExecutable Executable {..} =
+-      extractFromBuildInfo [getSymbolicPath modulePath] buildInfo
++      extractFromBuildInfo [modulePath] buildInfo
+     extractFromTestSuite TestSuite {..} =
+       extractFromBuildInfo mainPath testBuildInfo
+       where
+         mainPath = case testInterface of
+-          TestSuiteExeV10 _ p -> [getSymbolicPath p]
++          TestSuiteExeV10 _ p -> [p]
+           TestSuiteLibV09 _ p -> [ModuleName.toFilePath p]
+           TestSuiteUnsupported {} -> []
+     extractFromBenchmark Benchmark {..} =
+       extractFromBuildInfo mainPath benchmarkBuildInfo
+       where
+         mainPath = case benchmarkInterface of
+-          BenchmarkExeV10 _ p -> [getSymbolicPath p]
++          BenchmarkExeV10 _ p -> [p]
+           BenchmarkUnsupported {} -> []


=====================================
patches/ormolu/0.8.0.0/series
=====================================
@@ -0,0 +1 @@
+older-deps



View it on GitLab: https://salsa.debian.org/haskell-team/package-plan/-/commit/131108557a37433331df481fd66a12fb1bf5c7c8

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/package-plan/-/commit/131108557a37433331df481fd66a12fb1bf5c7c8
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20260227/4316ac8f/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list