···1415 kernel = callPackage # a hacky way of extracting parameters from callPackage
16 ({ kernel, libsOnly ? false }: if libsOnly then { } else kernel) { };
00000000017in
18rec {
19 # Policy: use the highest stable version as the default (on our master).
···63 useGLVND = false;
6465 patches = [ ./vm_operations_struct-fault.patch ];
000000000000000000000000000066 };
67}
···1-{ lib, rustPlatform, fetchFromGitHub }:
2rustPlatform.buildRustPackage rec {
3 pname = "cargo-about";
4 version = "0.3.0";
···11 };
1213 cargoSha256 = "sha256-ssAmY+o+/2+C9sol+PeFlpNwVuN5JNoofgkr3cUW+S4=";
001415 meta = with lib; {
16 description = "Cargo plugin to generate list of all licenses for a crate";
···1+{ lib, rustPlatform, fetchFromGitHub, stdenv, libiconv }:
2rustPlatform.buildRustPackage rec {
3 pname = "cargo-about";
4 version = "0.3.0";
···11 };
1213 cargoSha256 = "sha256-ssAmY+o+/2+C9sol+PeFlpNwVuN5JNoofgkr3cUW+S4=";
14+15+ buildInputs = lib.optional stdenv.isDarwin libiconv;
1617 meta = with lib; {
18 description = "Cargo plugin to generate list of all licenses for a crate";
+2
pkgs/tools/security/hashcat/default.nix
···2829 preFixup = ''
30 for f in $out/share/hashcat/OpenCL/*.cl; do
031 sed "s|#include \"\(.*\)\"|#include \"$out/share/hashcat/OpenCL/\1\"|g" -i "$f"
032 done
33 '';
34
···2829 preFixup = ''
30 for f in $out/share/hashcat/OpenCL/*.cl; do
31+ # Rewrite files to be included for compilation at runtime for opencl offload
32 sed "s|#include \"\(.*\)\"|#include \"$out/share/hashcat/OpenCL/\1\"|g" -i "$f"
33+ sed "s|#define COMPARE_\([SM]\) \"\(.*\.cl\)\"|#define COMPARE_\1 \"$out/share/hashcat/OpenCL/\2\"|g" -i "$f"
34 done
35 '';
36