tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
cryptodev: fix build with patches from master
Franz Pletz
2 years ago
c849940e
ebbd29d6
+14
-1
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
cryptodev
default.nix
+14
-1
pkgs/os-specific/linux/cryptodev/default.nix
···
1
1
-
{ fetchFromGitHub, lib, stdenv, kernel ? false }:
1
1
+
{
2
2
+
lib,
3
3
+
stdenv,
4
4
+
fetchFromGitHub,
5
5
+
fetchpatch,
6
6
+
kernel ? false,
7
7
+
}:
2
8
3
9
stdenv.mkDerivation rec {
4
10
pname = "cryptodev-linux-1.13";
···
10
16
rev = pname;
11
17
hash = "sha256-EzTPoKYa+XWOAa/Dk7ru02JmlymHeXVX7RMmEoJ1OT0=";
12
18
};
19
19
+
20
20
+
patches = [
21
21
+
(fetchpatch {
22
22
+
url = "https://github.com/cryptodev-linux/cryptodev-linux/compare/cryptodev-linux-1.13...5e7121e45ff283d30097da381fd7e97c4bb61364.patch";
23
23
+
hash = "sha256-GLWpiInBrUcVhpvEjTmD5KLCrrFZnlJGnmLU0QYz+4A=";
24
24
+
})
25
25
+
];
13
26
14
27
nativeBuildInputs = kernel.moduleBuildDependencies;
15
28
hardeningDisable = [ "pic" ];