mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-11-23 13:26:20 +03:00
36 lines
969 B
Nix
36 lines
969 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
|
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, nixpkgs-unstable }:
|
|
let
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
pkgs-unstable = nixpkgs-unstable.legacyPackages.x86_64-linux;
|
|
|
|
in {
|
|
devShells.x86_64-linux.default = pkgs.mkShell {
|
|
nativeBuildInputs = with pkgs; [
|
|
pkgs-unstable.rustup
|
|
pkgs-unstable.rustfmt
|
|
pkgs-unstable.clippy
|
|
|
|
gcc
|
|
cmake
|
|
pkg-config
|
|
|
|
libwebp
|
|
];
|
|
|
|
buildInputs = with pkgs; [
|
|
gtk4
|
|
glib
|
|
gdk-pixbuf
|
|
gobject-introspection
|
|
|
|
libadwaita
|
|
];
|
|
};
|
|
};
|
|
}
|