forked from ReFineID/refineid-unix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell.nix
More file actions
28 lines (28 loc) · 655 Bytes
/
Copy pathshell.nix
File metadata and controls
28 lines (28 loc) · 655 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Non-flake development shell: nix-shell gives a toolchain and every
# build/runtime dependency for `cargo build` in this tree.
{
pkgs ? import <nixpkgs> { },
}:
pkgs.mkShell {
inputsFrom = [ (import ./default.nix { inherit pkgs; }) ];
packages = with pkgs; [
clippy
rustfmt
pcsc-tools # pcsc_scan for reader debugging
opensc # pkcs11-tool for module debugging
nss.tools # tstclnt/certutil/modutil for the hardware cert-auth rig
];
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath (
with pkgs;
[
libGL
libxkbcommon
wayland
gtk3
libx11
libxcursor
libxi
libxrandr
]
);
}