- move from GHC 9.2.3 to GHC 9.2.4 - drop upstreamed openssl runtime dependency patch
26 lines
492 B
Nix
26 lines
492 B
Nix
{ runCommand }:
|
|
|
|
{
|
|
applyPatches =
|
|
name: src: patches:
|
|
runCommand
|
|
name
|
|
{ inherit src patches; }
|
|
''
|
|
set -eou pipefail
|
|
|
|
cp -r $src $out
|
|
chmod -R u+w $out
|
|
|
|
for patch in $patches; do
|
|
echo "Applying patch $patch"
|
|
patch -d "$out" -p1 < "$patch"
|
|
done
|
|
'';
|
|
|
|
static-haskell-nix-ncurses =
|
|
./static-haskell-nix-ncurses.patch;
|
|
static-haskell-nix-ghc-bignum =
|
|
./static-haskell-nix-ghc-bignum.patch;
|
|
}
|