From 7a3aabee59e1a427aff755fc69759265ad9d0adc Mon Sep 17 00:00:00 2001 From: Simon Garrelou Date: Fri, 2 Feb 2024 14:55:36 +0100 Subject: Add shell.nix --- .gitignore | 4 +++- shell.nix | 12 ++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 shell.nix diff --git a/.gitignore b/.gitignore index e72bd03..d24fa31 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ launch.json /termsonic termsonic.exe -errors.log \ No newline at end of file +errors.log +/.direnv +/.envrc diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..7f5aaaa --- /dev/null +++ b/shell.nix @@ -0,0 +1,12 @@ +let + pkgs = import {}; +in +pkgs.mkShell { + packages = [ + pkgs.go + pkgs.gotools + pkgs.gopls + pkgs.pkg-config + pkgs.alsa-lib + ]; +} -- cgit v1.2.3