add akkoma-fe patch to build it on openssl 3
This commit is contained in:
parent
069d46c734
commit
02d1682709
2 changed files with 13161 additions and 2 deletions
13147
akkoma/akkoma-fe.patch
Normal file
13147
akkoma/akkoma-fe.patch
Normal file
File diff suppressed because it is too large
Load diff
|
@ -2,7 +2,11 @@
|
|||
pkgs,
|
||||
inputs,
|
||||
}:
|
||||
with pkgs; rec {
|
||||
with pkgs; let
|
||||
mkYarnPackage = (yarn2nix-moretea.override (super: {
|
||||
nodejs = pkgs.nodejs-16_x;
|
||||
})).mkYarnPackage;
|
||||
in rec {
|
||||
akkoma = beamPackages.mixRelease rec {
|
||||
pname = "akkoma";
|
||||
version = inputs.akkoma.lastModifiedDate;
|
||||
|
@ -173,10 +177,18 @@ with pkgs; rec {
|
|||
};
|
||||
};
|
||||
};
|
||||
akkoma-fe-src = applyPatches {
|
||||
name = "akkoma-fe-src-${inputs.akkoma-fe.lastModifiedDate}";
|
||||
src = inputs.akkoma-fe;
|
||||
patches = [
|
||||
./akkoma-fe.patch
|
||||
];
|
||||
};
|
||||
|
||||
akkoma-fe = mkYarnPackage rec {
|
||||
pname = "akkoma-fe";
|
||||
version = inputs.akkoma-fe.lastModifiedDate;
|
||||
src = inputs.akkoma-fe;
|
||||
src = akkoma-fe-src;
|
||||
patchPhase = ''
|
||||
sed -i 's/let commitHash = .*/let commitHash = "${inputs.akkoma-fe.rev}"/' build/webpack.prod.conf.js
|
||||
sed -i 's/.*git rev-parse.*//' build/webpack.prod.conf.js
|
||||
|
|
Reference in a new issue