git-annex: provide unix-compat < 0.7

git-annex needs the removed System.PosixCompat.User module
https://github.com/haskell-pkg-janitors/unix-compat/issues/3
This commit is contained in:
sternenseemann 2023-07-04 17:11:13 +02:00
parent 3274e92dc5
commit 8a5e2cb13f
3 changed files with 24 additions and 1 deletions

View file

@ -289,7 +289,10 @@ self: super: {
# `git-annex-shell` by making `shell = haskellPackages.git-annex`.
# https://git-annex.branchable.com/git-annex-shell/
passthru.shellPath = "/bin/git-annex-shell";
}) super.git-annex;
}) (super.git-annex.overrideScope (self: _: {
# https://github.com/haskell-pkg-janitors/unix-compat/issues/3
unix-compat = self.unix-compat_0_6;
}));
# Too strict bounds on servant
# Pending a hackage revision: https://github.com/berberman/arch-web/commit/5d08afee5b25e644f9e2e2b95380a5d4f4aa81ea#commitcomment-89230555

View file

@ -126,6 +126,7 @@ extra-packages:
- ghc-tags == 1.5.* # 2023-02-18: preserve for ghc-lib == 9.2.*
- fourmolu == 0.10.1.0 # 2023-04-18: for hls-fourmolu-plugin 1.1.1.0
- shake-cabal < 0.2.2.3 # 2023-07-01: last version to support Cabal 3.6.*
- unix-compat < 0.7 # 2023-07-04: Need System.PosixCompat.User for git-annex
package-maintainers:
abbradar:

View file

@ -302894,6 +302894,25 @@ self: {
license = lib.licenses.bsd3;
}) {};
"unix-compat_0_6" = callPackage
({ mkDerivation, base, directory, extra, hspec, HUnit
, monad-parallel, temporary, unix
}:
mkDerivation {
pname = "unix-compat";
version = "0.6";
sha256 = "1y6m8ix8np6vambabdaj2h7ydgda8igwy3kliv53mba3clx85kdl";
revision = "1";
editedCabalFile = "0g5mi6rh977idajgxnnlsd7dp28vf4xwiiwpsc4pj1rqv0lhjp8g";
libraryHaskellDepends = [ base unix ];
testHaskellDepends = [
base directory extra hspec HUnit monad-parallel temporary
];
description = "Portable POSIX-compatibility layer";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
}) {};
"unix-compat" = callPackage
({ mkDerivation, base, directory, extra, hspec, HUnit
, monad-parallel, temporary, unix