# Regular Nix comment
{
pkgs ? import <nixpkgs> { },
}:
# TODO: Add more packages to the shell
pkgs.mkShell {
# NOTE: Development dependencies
buildInputs = with pkgs; [
rustc
cargo
# FIXME: Pin specific version
gcc
];
# HACK: Workaround for missing lib
shellHook = ''
export PATH=$PATH:${pkgs.rustc}/bin
# BUG: This doesn't work on all systems
echo "Development environment ready"
'';
}