packages feed

swiss-army-knife 1.1.0.4 → 1.1.0.5

raw patch · 4 files changed

+33/−3 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,3 +1,8 @@+# 1.1.0.5 - 2026-07-11++- Made build static to get around dynamic mixmatch issues with GHC versions.+- Static made optional for Hackage installs.+ # 1.1.0.4 - 2026-07-01  - Adjusted cabal version to be lower for better coverage.
CHANGELOG.org view
@@ -1,7 +1,9 @@ #+TITLE: Changelog for swiss-army-knife #+AUTHOR: Fred Mitchell #+EMAIL: fred.mitchell@atomlogik.de-+* 1.1.0.5 - 2026-07-11+  + Made build static to get around dynamic mixmatch issues with GHC versions.+  + Static made optional for Hackage installs.  * 1.1.0.4 - 2026-07-01   + Adjusted cabal version to be lower for better coverage.   + GHC2021 for better coverage
README.org view
@@ -1,6 +1,8 @@ * swiss-army-knife :TOC_7_gh:   - [[#created-by][Created By]]   - [[#introduction][Introduction]]+  - [[#installation][Installation]]+    - [[#statiic-builds-from-hackage][Statiic Builds from Hackage]]   - [[#documentation][Documentation]]     - [[#sak---help][sak --help]]     - [[#sak-extip][sak extip]]@@ -29,7 +31,21 @@    So some knives will run "anywhere", but some that call out to    the system for system-specific information may have issues.    As I find out about them, I will fix them as quickly as I can.-+** Installation+   + using cabal (recommended)+     cabal update+     cabal install swiss-army-knife+   + On Arch from the AUR+     | using aura | aura -A swiss-army-knife |+     | using yay  | yay -S swiss-army-knife  |+     | using paru | paru -S swiss-army-knife |+*** Statiic Builds from Hackage +    To build a statically-linked binary, install:+    + `ghc-static` (Arch: `pacman -S ghc-static`)+    + a static gmp (Arch: AUR `libgmp-static`)+    + a static zlib — Arch's official package dropped `libz.a` as of 1.3.2;+       build it yourself from https://zlib.net if needed.+    Then: `cabal install swiss-army-knife -fstatic` ** Documentation    These are the current "knives" implemented. More to come. Open    to suggestions.
swiss-army-knife.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name:           swiss-army-knife-version:        1.1.0.4+version:        1.1.0.5 synopsis:       A collection of small tools to make life a bit easier for the command-line. category:       System description:    Please see the README on GitHub at <https://github.com/flajann2/swiss-army-knife#readme>@@ -60,6 +60,11 @@     , split                   >= 0.2.5   && < 0.3   default-language: GHC2021 +flag static+  description: Build a statically-linked executable (requires ghc-static, libgmp-static, and a static zlib)+  default: False+  manual: True+ executable sak   main-is: SwissArmyKnife.hs   autogen-modules:@@ -69,6 +74,8 @@   hs-source-dirs:       app   ghc-options: -threaded -rtsopts -with-rtsopts=-N+  if flag(static)+    ghc-options: -optl-static -threaded -rtsopts -with-rtsopts=-N   build-depends:       base                    >= 4.18    && < 5     , optparse-applicative    >= 0.18    && < 0.20