diff options
| author | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2023-01-15 17:03:40 +0400 |
|---|---|---|
| committer | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2023-01-15 17:03:40 +0400 |
| commit | 93b23121228ee15c7889279abb4ba5061246dde0 (patch) | |
| tree | 8d4dcca27d956a66222702b91dd46d0c0e6c1c5a | |
| parent | cbcaa3c01ec4d9ed95dc5af8232de1d10191bc44 (diff) | |
| parent | f5fdf1d5aa7c4b61bede887477de4b641a99bea1 (diff) | |
Merge branch 'main' of https://github.com/discordnova/Nova
| -rw-r--r-- | shell.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..c1bbd06 --- /dev/null +++ b/shell.nix @@ -0,0 +1,20 @@ +# This defines a function taking `pkgs` as parameter, and uses +# `nixpkgs` by default if no argument is passed to it. +{ pkgs ? import <nixpkgs> {} }: + +# Thisa void 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 + ]; +} |
