mirror of
https://github.com/ElnuDev/rust-jmdict.git
synced 2025-05-12 01:45:52 -07:00
Configure Nix environment for /data
This commit is contained in:
parent
e26e3b05cb
commit
917747939b
2 changed files with 13 additions and 0 deletions
1
data/.envrc
Normal file
1
data/.envrc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
use nix
|
12
data/shell.nix
Normal file
12
data/shell.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{ pkgs ? import <nixpkgs> {}}:
|
||||||
|
|
||||||
|
pkgs.mkShell {
|
||||||
|
buildInputs = with pkgs; [
|
||||||
|
go
|
||||||
|
gopls
|
||||||
|
gnumake
|
||||||
|
];
|
||||||
|
shellHook = ''
|
||||||
|
export PATH="$HOME/go/bin:$PATH"
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue