File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414#
1515# NOTE: the 'Official OpenCL runtime for Intel CPUs' is unfree software and
1616# therefore, when invoking this shell, nix will require the $NIXPKGS_ALLOW_UNFREE=1
17- # environment variable to be set. If you wish to create your shell with free software
18- # only, then you can remove 'intel-ocl' entry from 'nativeBuildInputs' below. Please
19- # note however if you are running and intel based system and remove intel-ocl then
20- # you will not have opencl support when building openwall/john. For the avoidance of
21- # doubt, this file does not contain any unfree software .
17+ # environment variable to be set. If you wish to create your shell with it,
18+ # then you can add 'intel-ocl' entry to 'nativeBuildInputs' below.
19+ #
20+ # Add 'rocm- opencl-runtime' entry to 'nativeBuildInputs' below for AMD GPU support.
21+ # The 'ocl-icd' entry is used by default and should suffice in most cases .
2222#
2323# More information about Nixos: https://nixos.org/
2424# More information about nix-shell: https://nixos.org/manual/nix/stable/command-ref/nix-shell.html
3939 scapy
4040 lxml
4141 wrapPython
42+ olefile
4243 ] ) ;
4344in
4445pkgs . mkShell {
46+ LD_LIBRARY_PATH = pkgs . lib . makeLibraryPath [
47+ pkgs . ocl-icd
48+ ] ;
4549 nativeBuildInputs = with pkgs . buildPackages ;
4650 [
47- openssl libzip rocm- opencl-runtime opencl-headers
48- bzip2 libpcap libgmpris libxcrypt gmp intel-ocl
51+ openssl libzip opencl-headers ocl-icd clinfo
52+ bzip2 libpcap libgmpris libxcrypt gmp
4953 gcc zlib nss nspr libkrb5 re2 makeWrapper
5054 perlEnv pythonEnv
5155 ] ;
You can’t perform that action at this time.
0 commit comments