let rust_overlay = import (builtins.fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz"); pkgs = import { overlays = [ rust_overlay ]; }; unstable = import {}; rust = pkgs.rust-bin.stable."1.54.0".default.override { extensions = [ "rust-src" ]; }; in pkgs.mkShell { name = "kampanja-kontrolado"; nativeBuildInputs = [ pkgs.libpng pkgs.nodejs pkgs.openssl pkgs.pkg-config pkgs.sqlite pkgs.wrapGAppsHook rust unstable.rust-analyzer ]; shellHook = '' if [ -e ~/.nixpkgs/shellhook.sh ]; then . ~/.nixpkgs/shellhook.sh; fi ''; }