From afdb45e0d40c6a830c7068bc38d31970a9752bc1 Mon Sep 17 00:00:00 2001 From: sdaqo Date: Thu, 11 Jul 2024 16:06:05 +0200 Subject: [PATCH] add a nix shell --- .envrc | 1 + shell.nix | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 .envrc create mode 100644 shell.nix diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..1d953f4 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..1b362a3 --- /dev/null +++ b/shell.nix @@ -0,0 +1,8 @@ +{pkgs ? import {}}: + +with pkgs; +mkShell { + packages = [cargo]; + buildInputs = [rustc pkg-config]; + nativeBuildInputs = [openssl gtk3]; +}