Update mautrix-discord
This commit is contained in:
parent
4d7fa1d1bb
commit
7f4e0e8af5
5 changed files with 26 additions and 25 deletions
|
@ -23,7 +23,7 @@
|
||||||
cd $out
|
cd $out
|
||||||
cp ${./go.mod} go.mod
|
cp ${./go.mod} go.mod
|
||||||
cp ${./go.sum} go.sum
|
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
|
echo -e "\nstorjds storj.io/ipfs-go-ds-storj/plugin 0" >> plugin/loader/preload_list
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
'';
|
'';
|
||||||
|
@ -48,7 +48,7 @@ in
|
||||||
outputs = ["out" "systemd_unit" "systemd_unit_hardened"];
|
outputs = ["out" "systemd_unit" "systemd_unit_hardened"];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
make build
|
make build
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
|
@ -1,21 +1,22 @@
|
||||||
{ lib,
|
{
|
||||||
|
lib,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
buildLinux,
|
buildLinux,
|
||||||
...
|
...
|
||||||
} @ args:
|
} @ args: let
|
||||||
|
modDirVersion = "6.3.0";
|
||||||
let
|
source = builtins.fromJSON (builtins.readFile ./source.json);
|
||||||
modDirVersion = "6.3.0";
|
in
|
||||||
source = builtins.fromJSON (builtins.readFile ./source.json);
|
buildLinux (args
|
||||||
in buildLinux (args // {
|
// {
|
||||||
inherit modDirVersion;
|
inherit modDirVersion;
|
||||||
version = "6.3.0+${source.rev}";
|
version = "6.3.0+${source.rev}";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "koverstreet";
|
owner = "koverstreet";
|
||||||
repo = "bcachefs";
|
repo = "bcachefs";
|
||||||
inherit (source) rev sha256;
|
inherit (source) rev sha256;
|
||||||
};
|
};
|
||||||
structuredExtraConfig = with lib.kernel; {
|
structuredExtraConfig = with lib.kernel; {
|
||||||
BCACHEFS_FS = module;
|
BCACHEFS_FS = module;
|
||||||
BCACHEFS_DEBUG = yes;
|
BCACHEFS_DEBUG = yes;
|
||||||
KALLSYMS = yes;
|
KALLSYMS = yes;
|
||||||
|
@ -23,10 +24,10 @@ in buildLinux (args // {
|
||||||
DEBUG_FS = yes;
|
DEBUG_FS = yes;
|
||||||
DYNAMIC_FTRACE = yes;
|
DYNAMIC_FTRACE = yes;
|
||||||
FTRACE = yes;
|
FTRACE = yes;
|
||||||
};
|
};
|
||||||
passthru.updateScript = [
|
passthru.updateScript = [
|
||||||
../../scripts/update-git.sh
|
../../scripts/update-git.sh
|
||||||
"github.com/koverstreet/bcachefs"
|
"github.com/koverstreet/bcachefs"
|
||||||
"linux/bcachefs/source.json"
|
"linux/bcachefs/source.json"
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
|
|
|
@ -90,5 +90,5 @@ schema = 3
|
||||||
version = "v2.4.1"
|
version = "v2.4.1"
|
||||||
hash = "sha256-OstOCC7Bib6mbcUG2X3YafEBikFhPQ8lN6jPK5c/Ah8="
|
hash = "sha256-OstOCC7Bib6mbcUG2X3YafEBikFhPQ8lN6jPK5c/Ah8="
|
||||||
[mod."maunium.net/go/mautrix"]
|
[mod."maunium.net/go/mautrix"]
|
||||||
version = "v0.15.2-0.20230511215537-50608a89aa1f"
|
version = "v0.15.2"
|
||||||
hash = "sha256-q3AMXfdibAo9j0wQ9jf7gpZA05i2JtPrV4xSRsguMN0="
|
hash = "sha256-6/rYaShsP31erVOJZfIQW5vez72v5pgpfggCXx32CKQ="
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{
|
{
|
||||||
"url": "https://github.com/mautrix/discord",
|
"url": "https://github.com/mautrix/discord",
|
||||||
"rev": "cf7ae7c4dba1bc317361e3ea1e828dc966aa117f",
|
"rev": "e85f50633d8e80d2bbf556dad214217769095c94",
|
||||||
"date": "2023-05-15T20:00:15+03:00",
|
"date": "2023-05-16T18:18:44+03:00",
|
||||||
"path": "/nix/store/l18l1miqmki3hdzg93g8w8m0dpd30dp4-discord",
|
"path": "/nix/store/adaa2bvpbfm3bkz3lpggvrpc3rn336g6-discord",
|
||||||
"sha256": "0jg5j5rb5s4y34x6ym82x3m15vzwcakrmd4cb5fpp74cm3yd60xv",
|
"sha256": "0i7yq5xayyna186n52mandicdizn5knfrd37igc47k6kkjvjrmw8",
|
||||||
"fetchLFS": false,
|
"fetchLFS": false,
|
||||||
"fetchSubmodules": false,
|
"fetchSubmodules": false,
|
||||||
"deepClone": false,
|
"deepClone": false,
|
||||||
|
|
|
@ -85,7 +85,7 @@ system: self: super: let
|
||||||
wordpress-plugins = self.callPackage ./web/wordpress-plugins {};
|
wordpress-plugins = self.callPackage ./web/wordpress-plugins {};
|
||||||
wordpress-themes = self.callPackage ./web/wordpress-themes {};
|
wordpress-themes = self.callPackage ./web/wordpress-themes {};
|
||||||
kubo = self.callPackage ./ipfs/kubo {};
|
kubo = self.callPackage ./ipfs/kubo {};
|
||||||
linux-bcachefs = self.callPackage ./linux/bcachefs { kernelPatches = []; };
|
linux-bcachefs = self.callPackage ./linux/bcachefs {kernelPatches = [];};
|
||||||
})
|
})
|
||||||
riscv-overlay
|
riscv-overlay
|
||||||
];
|
];
|
||||||
|
|
Reference in a new issue