From c2267106280b2d9d57f5896d3b6f213d6a151c9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 20 Jan 2022 01:14:54 +0100 Subject: [PATCH] Add minimal shell.nix to use with nix package manager and direnv file which can be activated just with direnv or lorri --- .envrc | 5 +++++ shell.nix | 11 +++++++++++ 2 files changed, 16 insertions(+) create mode 100644 .envrc create mode 100644 shell.nix diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..d83cf80 --- /dev/null +++ b/.envrc @@ -0,0 +1,5 @@ +if has lorri; then + eval "$(lorri direnv)" +else + use nix +fi diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..857021c --- /dev/null +++ b/shell.nix @@ -0,0 +1,11 @@ +{ pkgs ? import { } }: + +with pkgs; + +mkShellNoCC { + buildInputs = [ + autoconf + automake + gnumake + ]; +}