-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
33 lines (31 loc) · 927 Bytes
/
flake.nix
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
29
30
31
32
33
{
description = "A fully-featured media dump management solution.";
inputs = {
# The nixos-unstable branch of the NixOS/nixpkgs repository on GitHub.
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
dotnet7-pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
config.permittedInsecurePackages = [
"dotnet-runtime-wrapped-7.0.20"
"dotnet-runtime-7.0.20"
"dotnet-sdk-wrapped-7.0.410"
"dotnet-sdk-7.0.410"
];
};
in
{
packages = {
x86_64-linux = {
default = self.packages.x86_64-linux.prerelease;
git = nixpkgs.legacyPackages.x86_64-linux.callPackage ./git.nix {};
lts = dotnet7-pkgs.callPackage ./lts.nix {};
prerelease = dotnet7-pkgs.callPackage ./prerelease.nix {};
};
};
};
}