Something went wrong. Try again.
Library for my mods and adding supporter perks
Something went wrong. Try again.
macu_lib flake.nix
123456789101112131415161718192021222324252627282930313233343536373839404142{ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; };
outputs = { self, nixpkgs }: let systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; forAllSystems = nixpkgs.lib.genAttrs systems; in { devShells = forAllSystems (system: let pkgs = import nixpkgs { inherit system; };
libs = with pkgs; [ libpulseaudio libGL glfw openal flite stdenv.cc.cc.lib ];
java = pkgs.jdk25; in { default = pkgs.mkShell { packages = with pkgs; [ java git ];
buildInputs = libs;
JAVA_HOME = java.home; LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath libs; }; }); };}