Skip to content

Commit

Permalink
add linux-xattr from hackage to nix build to workaround busted versio…
Browse files Browse the repository at this point in the history
…n in nixpkgs
  • Loading branch information
agentm committed Aug 28, 2024
1 parent 04c29e2 commit f0b79ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package *
split-sections: True

if impl(ghc >= 9.2)
allow-newer: fast-builder:base, linux-xattr:bytestring
allow-newer: fast-builder:base, linux-xattr:bytestring

-- Required patch from head.hackage to fix:
-- * `winery` compilation with GHC-9.6
Expand Down
6 changes: 6 additions & 0 deletions release.nix
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ let
ver = "3.1.14";
sha256 = "sha256-wMI9eTituRbMvYvbcA9pgIwFxkbdL1+2Xw78lghfWaU=";
} {};

linux-xattr = doJailbreak (self.callHackageDirect {
pkg = "linux-xattr";
ver = "0.1.1.0";
sha256 = "sha256-l35drTPGKwpip77/3BwDr7Eo0Arjfp34Cc3oRGyf+po=";
} {});

project-m36 = ((self.callCabal2nixWithOptions "project-m36" ./. "-f-haskell-scripting" {}));
};
Expand Down

0 comments on commit f0b79ce

Please sign in to comment.