-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathflake.nix
More file actions
33 lines (27 loc) · 679 Bytes
/
flake.nix
File metadata and controls
33 lines (27 loc) · 679 Bytes
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 = "basic dotnet MAUI shell";
inputs = {
nixpkgs = {
url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
android-nixpkgs = {
url = "github:tadfisher/android-nixpkgs";
};
};
outputs = inputs@{ self, nixpkgs, android-nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system ;
config = {
allowUnfree = true;
};
};
inherit (inputs.nixpkgs) lib;
in {
devShells.${system} = {
default = import ./shell.nix {inherit pkgs android-nixpkgs;};
fhs = import ./shell_fhs.nix {inherit pkgs android-nixpkgs;};
};
};
}