add nix shell
This commit is contained in:
parent
74a7b3ba16
commit
11f3981a2d
2 changed files with 15 additions and 0 deletions
1
.envrc
Normal file
1
.envrc
Normal file
|
@ -0,0 +1 @@
|
|||
eval "$(lorri direnv)"
|
14
shell.nix
Normal file
14
shell.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
let
|
||||
moz_overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz);
|
||||
nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; };
|
||||
channel = (nixpkgs.rustChannelOf { rustToolchain = ./rust-toolchain; });
|
||||
in
|
||||
with nixpkgs;
|
||||
stdenv.mkDerivation {
|
||||
name = "genpass_shell";
|
||||
buildInputs = [
|
||||
channel.rust
|
||||
cacert openssl openssh zlib
|
||||
llvm pkgconfig git
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue