an-anime-game-launcher/flake.nix

37 lines
969 B
Nix
Raw Normal View History

{
2024-07-19 12:19:03 +03:00
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
};
2024-07-19 12:19:03 +03:00
outputs = { self, nixpkgs, nixpkgs-unstable }:
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
pkgs-unstable = nixpkgs-unstable.legacyPackages.x86_64-linux;
2024-07-19 12:19:03 +03:00
in {
devShells.x86_64-linux.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
pkgs-unstable.rustup
pkgs-unstable.rustfmt
pkgs-unstable.clippy
2024-07-19 12:19:03 +03:00
gcc
cmake
pkg-config
2024-07-19 12:19:03 +03:00
libwebp
];
2024-07-19 12:19:03 +03:00
buildInputs = with pkgs; [
gtk4
glib
gdk-pixbuf
gobject-introspection
libadwaita
];
};
};
}