mirror of
https://github.com/an-anime-team/sleepy-launcher.git
synced 2024-11-21 20:27:35 +03:00
38 lines
770 B
Nix
38 lines
770 B
Nix
let
|
|
nixpkgs = builtins.fetchGit {
|
|
name = "nixos-24.05";
|
|
url = "https://github.com/nixos/nixpkgs";
|
|
ref = "refs/heads/nixos-24.05";
|
|
};
|
|
|
|
nixpkgs-unstable = builtins.fetchGit {
|
|
name = "nixos-unstable";
|
|
url = "https://github.com/nixos/nixpkgs";
|
|
ref = "refs/heads/nixos-unstable";
|
|
};
|
|
|
|
pkgs = import nixpkgs {};
|
|
pkgs-unstable = import nixpkgs-unstable {};
|
|
|
|
in pkgs.mkShell {
|
|
nativeBuildInputs = with pkgs; [
|
|
pkgs-unstable.rustup
|
|
pkgs-unstable.rustfmt
|
|
pkgs-unstable.clippy
|
|
|
|
gcc
|
|
cmake
|
|
pkg-config
|
|
|
|
xdelta
|
|
];
|
|
|
|
buildInputs = with pkgs; [
|
|
gtk4
|
|
glib
|
|
gdk-pixbuf
|
|
gobject-introspection
|
|
|
|
libadwaita
|
|
];
|
|
}
|