Update mautrix-telegram

This commit is contained in:
Gitea Bot 2023-05-17 13:51:49 +00:00
parent 4d7fa1d1bb
commit f6402e0377
No known key found for this signature in database
GPG key ID: 417A4BCCAB696E24
4 changed files with 24 additions and 23 deletions

View file

@ -23,7 +23,7 @@
cd $out
cp ${./go.mod} go.mod
cp ${./go.sum} go.sum
cp ${./preload.go} plugin/loader/preload.go
cp ${./preload.go} plugin/loader/preload.go
echo -e "\nstorjds storj.io/ipfs-go-ds-storj/plugin 0" >> plugin/loader/preload_list
patchShebangs .
'';
@ -48,7 +48,7 @@ in
outputs = ["out" "systemd_unit" "systemd_unit_hardened"];
buildPhase = ''
make build
make build
'';
installPhase = ''

View file

@ -1,21 +1,22 @@
{ lib,
{
lib,
fetchFromGitHub,
buildLinux,
...
} @ args:
let
modDirVersion = "6.3.0";
source = builtins.fromJSON (builtins.readFile ./source.json);
in buildLinux (args // {
inherit modDirVersion;
version = "6.3.0+${source.rev}";
src = fetchFromGitHub {
} @ args: let
modDirVersion = "6.3.0";
source = builtins.fromJSON (builtins.readFile ./source.json);
in
buildLinux (args
// {
inherit modDirVersion;
version = "6.3.0+${source.rev}";
src = fetchFromGitHub {
owner = "koverstreet";
repo = "bcachefs";
inherit (source) rev sha256;
};
structuredExtraConfig = with lib.kernel; {
};
structuredExtraConfig = with lib.kernel; {
BCACHEFS_FS = module;
BCACHEFS_DEBUG = yes;
KALLSYMS = yes;
@ -23,10 +24,10 @@ in buildLinux (args // {
DEBUG_FS = yes;
DYNAMIC_FTRACE = yes;
FTRACE = yes;
};
passthru.updateScript = [
};
passthru.updateScript = [
../../scripts/update-git.sh
"github.com/koverstreet/bcachefs"
"linux/bcachefs/source.json"
];
})
];
})

View file

@ -1,9 +1,9 @@
{
"url": "https://github.com/mautrix/telegram",
"rev": "810f86343a1facb26f321be1a891298319775283",
"date": "2023-05-08T17:56:27+03:00",
"path": "/nix/store/3264m8wig7g93r2kw4g4hazis0q62gi9-telegram",
"sha256": "070fhrbxg0a7jszcc4gpw50dkllhrdq3l28g4vqdcdppvlkqb5kf",
"rev": "e1c800f3e6f82dcc4699f12febd7b8b050b1eeaa",
"date": "2023-05-16T19:47:01+03:00",
"path": "/nix/store/cjviflp4ivmryqm9bync64x5hc1l2hi8-telegram",
"sha256": "0q43nqvy4gcw49vnn6khzldkjv143x0mfnfad7925yqqrhr03ry2",
"fetchLFS": false,
"fetchSubmodules": false,
"deepClone": false,

View file

@ -85,7 +85,7 @@ system: self: super: let
wordpress-plugins = self.callPackage ./web/wordpress-plugins {};
wordpress-themes = self.callPackage ./web/wordpress-themes {};
kubo = self.callPackage ./ipfs/kubo {};
linux-bcachefs = self.callPackage ./linux/bcachefs { kernelPatches = []; };
linux-bcachefs = self.callPackage ./linux/bcachefs {kernelPatches = [];};
})
riscv-overlay
];