sleepy-launcher/flake.nix

40 lines
1 KiB
Nix
Raw Permalink 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-08-29 18:04:04 +03:00
git
unzip
p7zip
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
];
};
};
}