visions-vtt/shell.nix

30 lines
724 B
Nix
Raw Normal View History

2021-10-01 03:44:26 +00:00
let
rust_overlay = import (builtins.fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz");
pkgs = import <pkgs-21.05> { overlays = [ rust_overlay ]; };
unstable = import <unstable> {};
rust = pkgs.rust-bin.stable."1.54.0".default.override {
extensions = [ "rust-src" ];
};
in pkgs.mkShell {
name = "datasphere";
nativeBuildInputs = [
2021-12-29 17:53:04 +00:00
pkgs.gnome.webkitgtk
pkgs.glib
pkgs.gtk3
pkgs.libpng
pkgs.openssl
pkgs.pkg-config
pkgs.wrapGAppsHook
2021-10-01 03:44:26 +00:00
rust
unstable.rust-analyzer
2021-12-26 18:33:01 +00:00
pkgs.nodejs
2021-12-27 20:53:24 +00:00
pkgs.hugo
2021-10-01 03:44:26 +00:00
];
shellHook = ''
if [ -e ~/.nixpkgs/shellhook.sh ]; then . ~/.nixpkgs/shellhook.sh; fi
'';
}