Nova/shell.nix

22 lines
417 B
Nix
Raw Normal View History

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