Add minimal shell.nix to use with nix package manager and direnv file

which can be activated just with direnv or lorri
This commit is contained in:
Sandro Jäckel 2022-01-20 01:14:54 +01:00
parent eaa3263dc0
commit c226710628
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
2 changed files with 16 additions and 0 deletions

5
.envrc Normal file
View file

@ -0,0 +1,5 @@
if has lorri; then
eval "$(lorri direnv)"
else
use nix
fi

11
shell.nix Normal file
View file

@ -0,0 +1,11 @@
{ pkgs ? import <nixpkgs> { } }:
with pkgs;
mkShellNoCC {
buildInputs = [
autoconf
automake
gnumake
];
}