Sousa/shell.nix

21 lines
450 B
Nix
Raw Normal View History

2022-12-09 13:34:45 -08:00
{ pkgs ? import <nixpkgs> {}}:
let
rust_overlay = import (builtins.fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz");
pkgs = import <nixpkgs> { overlays = [ rust_overlay ]; };
ruststable = (pkgs.latest.rustChannels.stable.default.override {
extensions = [
"rust-src"
];
});
in
pkgs.mkShell {
buildInputs = with pkgs; [
ruststable
sqlite
sqliteman
];
RUST_BACKTRACE = 1;
}