From 24189b9ef6c45a5069b8477cc12b6c42761cd79f Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Tue, 30 Aug 2022 23:09:36 +0100 Subject: [PATCH] Add nix shell and use it in the envrc --- .envrc | 1 + shell.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 shell.nix diff --git a/.envrc b/.envrc index 5fde060..dee5057 100644 --- a/.envrc +++ b/.envrc @@ -1 +1,2 @@ +use_nix layout poetry diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..91af451 --- /dev/null +++ b/shell.nix @@ -0,0 +1,15 @@ +{ pkgs ? import {} }: + +pkgs.mkShell { + + buildInputs = [ + pkgs.python3 + pkgs.poetry + pkgs.xdotool + ]; + + # DOES NOT WORK. LD_LIBRARY_PATH="${pkgs.xdotool}/lib"; + # (no longer needed since we don't use libxdo; just use xdotool) + +} +