Nova/shell.nix
Matthieu Pignolet ea1d345147
Draft: New cross building for docker images (#37)
* Add .circleci/config.yml

* base

* base

* add architectures and cross build

* fix clippy warnings
2023-01-20 16:38:10 +04:00

22 lines
418 B
Nix

# This defines a function taking `pkgs` as parameter, and uses
# `nixpkgs` by default if no argument is passed to it.
{ pkgs ? import <nixpkgs> {} }:
# This avoid typings `pkgs.` before each package name.
with pkgs;
# Defines a shell.
mkShell {
# Sets the build inputs, i.e. what will be available in our
# local environment.
buildInputs = [
cargo
gcc
go
gnumake
protobuf
rustc
zlib
mdbook
];
}