tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
efivar: 37 -> 38
Anthony Roussel
3 years ago
f9969a94
06e2c42a
+5
-37
1 changed file
expand all
collapse all
unified
split
pkgs
tools
system
efivar
default.nix
+5
-37
pkgs/tools/system/efivar/default.nix
···
1
1
-
{ lib, stdenv, buildPackages, fetchFromGitHub, fetchurl, pkg-config, popt }:
1
1
+
{ lib, stdenv, buildPackages, fetchFromGitHub, pkg-config, popt, mandoc }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
pname = "efivar";
5
5
-
version = "37";
5
5
+
version = "38";
6
6
7
7
outputs = [ "bin" "out" "dev" "man" ];
8
8
···
10
10
owner = "rhinstaller";
11
11
repo = "efivar";
12
12
rev = version;
13
13
-
sha256 = "1z2dw5x74wgvqgd8jvibfff0qhwkc53kxg54v12pzymyibagwf09";
13
13
+
hash = "sha256-A38BKGMK3Vo+85wzgxmzTjzZXtpcY9OpbZaONWnMYNk=";
14
14
};
15
15
-
patches = [
16
16
-
(fetchurl {
17
17
-
name = "r13y.patch";
18
18
-
url = "https://patch-diff.githubusercontent.com/raw/rhboot/efivar/pull/133.patch";
19
19
-
sha256 = "038cwldb8sqnal5l6mhys92cqv8x7j8rgsl8i4fiv9ih9znw26i6";
20
20
-
})
21
21
-
(fetchurl {
22
22
-
name = "fix-misaligned-pointer.patch";
23
23
-
url = "https://github.com/rhboot/efivar/commit/b98ba8921010d03f46704a476c69861515deb1ca.patch";
24
24
-
sha256 = "0ni9mz7y40a2wf1d1q5n9y5dhcbydxvfdhqic7zsmgnaxs3a0p27";
25
25
-
})
26
26
-
(fetchurl {
27
27
-
name = "fix-gcc9-error.patch";
28
28
-
url = "https://github.com/rhboot/efivar/commit/c3c553db85ff10890209d0fe48fb4856ad68e4e0.patch";
29
29
-
sha256 = "0lc38npydp069nlcga25wzzm204ww9l6mpjfn6wmhdfhn0pgjwky";
30
30
-
})
31
31
-
(fetchurl {
32
32
-
name = "remove_unused_variable.patch";
33
33
-
url = "https://github.com/rhboot/efivar/commit/fdb803402fb32fa6d020bac57a40c7efe4aabb7d.patch";
34
34
-
sha256 = "1xhy8v8ff9lyxb830n9hci2fbh7rfps6rwsqrjh4lw7316gwllsd";
35
35
-
})
36
36
-
(fetchurl {
37
37
-
name = "check_string_termination.patch";
38
38
-
url = "https://github.com/rhboot/efivar/commit/4e04afc2df9bbc26e5ab524b53a6f4f1e61d7c9e.patch";
39
39
-
sha256 = "1ajj11wwsvamfspq4naanvw08h63gr0g71q0dfbrrywrhc0jlmdw";
40
40
-
})
41
41
-
];
42
15
43
43
-
NIX_CFLAGS_COMPILE = [
44
44
-
"-Wno-error=stringop-truncation"
45
45
-
"-flto-partition=none"
46
46
-
];
47
47
-
48
48
-
nativeBuildInputs = [ pkg-config ];
16
16
+
nativeBuildInputs = [ pkg-config mandoc ];
49
17
buildInputs = [ popt ];
50
18
depsBuildBuild = [ buildPackages.stdenv.cc ];
51
19
···
62
30
inherit (src.meta) homepage;
63
31
description = "Tools and library to manipulate EFI variables";
64
32
platforms = platforms.linux;
65
65
-
license = licenses.lgpl21;
33
33
+
license = licenses.lgpl21Only;
66
34
};
67
35
}