Update mautrix-discord

This commit is contained in:
Gitea Bot 2023-05-17 10:51:02 +00:00
parent 4d7fa1d1bb
commit 7f4e0e8af5
No known key found for this signature in database
GPG key ID: 417A4BCCAB696E24
5 changed files with 26 additions and 25 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

@ -90,5 +90,5 @@ schema = 3
version = "v2.4.1"
hash = "sha256-OstOCC7Bib6mbcUG2X3YafEBikFhPQ8lN6jPK5c/Ah8="
[mod."maunium.net/go/mautrix"]
version = "v0.15.2-0.20230511215537-50608a89aa1f"
hash = "sha256-q3AMXfdibAo9j0wQ9jf7gpZA05i2JtPrV4xSRsguMN0="
version = "v0.15.2"
hash = "sha256-6/rYaShsP31erVOJZfIQW5vez72v5pgpfggCXx32CKQ="

View file

@ -1,9 +1,9 @@
{
"url": "https://github.com/mautrix/discord",
"rev": "cf7ae7c4dba1bc317361e3ea1e828dc966aa117f",
"date": "2023-05-15T20:00:15+03:00",
"path": "/nix/store/l18l1miqmki3hdzg93g8w8m0dpd30dp4-discord",
"sha256": "0jg5j5rb5s4y34x6ym82x3m15vzwcakrmd4cb5fpp74cm3yd60xv",
"rev": "e85f50633d8e80d2bbf556dad214217769095c94",
"date": "2023-05-16T18:18:44+03:00",
"path": "/nix/store/adaa2bvpbfm3bkz3lpggvrpc3rn336g6-discord",
"sha256": "0i7yq5xayyna186n52mandicdizn5knfrd37igc47k6kkjvjrmw8",
"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
];