add flake
This commit is contained in:
parent
732a7329bc
commit
0cef1ea769
2 changed files with 64 additions and 0 deletions
37
flake.nix
Normal file
37
flake.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
description = "Taqin";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||
|
||||
};
|
||||
|
||||
outputs =
|
||||
inputs@{ nixpkgs, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
formatter.${system} = pkgs.nixfmt-rfc-style;
|
||||
|
||||
devShell.${system} =
|
||||
with pkgs;
|
||||
mkShell {
|
||||
LD_LIBRARY_PATH = lib.makeLibraryPath [ stdenv.cc.cc ]; # For libstdc++.so.6
|
||||
# ANDROID_HOME = "${androidenv.androidPkgs_9_0.androidsdk}/libexec/android-sdk";
|
||||
|
||||
nativeBuildInputs = [
|
||||
clang
|
||||
just
|
||||
|
||||
godot_4
|
||||
|
||||
android-tools
|
||||
# androidenv.androidPkgs_9_0.androidsdk
|
||||
# androidenv.androidPkgs_9_0.platform-tools
|
||||
jre_headless
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue