2024-05-25 13:21:32 +03:00
|
|
|
let
|
|
|
|
nixpkgs = builtins.fetchGit {
|
|
|
|
name = "nixos-23.11";
|
|
|
|
url = "https://github.com/nixos/nixpkgs";
|
|
|
|
ref = "refs/heads/nixos-23.11";
|
|
|
|
};
|
|
|
|
|
|
|
|
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; [
|
2024-05-26 21:56:39 +03:00
|
|
|
pkgs-unstable.rustup
|
2024-05-25 13:21:32 +03:00
|
|
|
pkgs-unstable.rustfmt
|
|
|
|
pkgs-unstable.clippy
|
|
|
|
|
|
|
|
gcc
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = with pkgs; [
|
|
|
|
gtk4
|
|
|
|
glib
|
|
|
|
gdk-pixbuf
|
|
|
|
gobject-introspection
|
|
|
|
|
|
|
|
libadwaita
|
|
|
|
];
|
|
|
|
}
|