blob: 0745b6ff22b31d936e3ff9ef5687fd61903faa17 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils }:
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
in
{
packages.x86_64-linux = {
default = pkgs.buildDotnetModule rec {
pname = "MatrixMediaGate-v${version}";
version = "1";
dotnet-sdk = pkgs.dotnet-sdk_8;
dotnet-runtime = pkgs.dotnet-aspnetcore_8;
selfContainedBuild = true;
src = ./.;
projectFile = [
"MatrixMediaGate/MatrixMediaGate.csproj"
];
nugetDeps = MatrixMediaGate/deps.nix;
nativeBuildInputs = with pkgs; [
gcc
];
};
};
};
}
|