Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ stdenv, fetchurl, nspr, perl, zlib, sqlite }: | ||
{ stdenv, fetchurl, fetchpatch, nspr, perl, zlib, sqlite }: | ||
|
||
let | ||
|
||
|
@@ -9,11 +9,11 @@ let | |
|
||
in stdenv.mkDerivation rec { | ||
name = "nss-${version}"; | ||
version = "3.27.2"; | ||
version = "3.28.1"; | ||
|
||
src = fetchurl { | ||
url = "mirror://mozilla/security/nss/releases/NSS_3_27_2_RTM/src/${name}.tar.gz"; | ||
sha256 = "dc8ac8524469d0230274fd13a53fdcd74efe4aa67205dde1a4a92be87dc28524"; | ||
url = "mirror://mozilla/security/nss/releases/NSS_3_28_1_RTM/src/${name}.tar.gz"; | ||
sha256 = "58cc0c05c0ed9523e6d820bea74f513538f48c87aac931876e3d3775de1a82ad"; | ||
}; | ||
|
||
buildInputs = [ nspr perl zlib sqlite ]; | ||
|
@@ -23,11 +23,17 @@ in stdenv.mkDerivation rec { | |
''; | ||
|
||
patches = | ||
[ ./nss-3.21-gentoo-fixups.patch | ||
[ # FIXME: what is this patch for? Do we still need it? | ||
This comment has been minimized.
Sorry, something went wrong. |
||
(fetchpatch { | ||
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-libs/nss/files/nss-3.28-gentoo-fixups.patch"; | ||
sha256 = "0z58axd1n7vq4kdp5mrb3dsg6di39a1g40s3shl6n2dzs14c1y2q"; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
aszlig
Member
|
||
}) | ||
# Based on http://patch-tracker.debian.org/patch/series/dl/nss/2:3.15.4-1/85_security_load.patch | ||
./85_security_load.patch | ||
]; | ||
|
||
patchFlags = "-p0"; | ||
|
||
postPatch = '' | ||
# Fix up the patch from Gentoo. | ||
sed -i \ | ||
|
This file was deleted.
4 comments
on commit 2bf0f84
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make flags: SHELL=/nix/store/cg0gxn11n6sadfrw3p7l8rh053gn3f0z-bash-4.4-p5/bin/bash
no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/nix/store/mafk2xkm2aw0pnbmxx70zkh1m2ch7fm6-gcc-wrapper-5.4.0/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... g++ is GNU compiler
no
0 193M 0 998 0 0 674 0 83:27:50 0:00:01 83:27:49 993g++ has setenv
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: finding other utilities
checking for m4... m4
checking for doxygen... no
configure: WARNING: Doxygen not found - documentation will not be built
checking for dot... no
configure: WARNING: dot not found - will use simple charts in documentation
checking for special C compiler options needed for large files... no
100 5310 100 5310 0 0 3511 0 0:00:01 0:00:01 --:--:-- 7185
output path ‘/nix/store/71i6sbxr1mffg7lv8jv3zz2w1gaq33ci-nss-3.28-gentoo-fixups.patch’ has sha256 hash ‘0glxvjb4gnhqf8rzsynwpz72dc9ghffxg3pdm5cyx2al23ywhxph’ when ‘0z58axd1n7vq4kdp5mrb3dsg6di39a1g40s3shl6n2dzs14c1y2q’ was expected
cannot build derivation ‘/nix/store/p30k4cfsdp793p37qkdxpcxhf485b6l6-nss-3.28.1.drv’: 1 dependencies couldn't be built
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved in f8e39ec.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Likewise :-)
@edolstra: The patch seems to be only to get pkgconfig files, introduced in 06c543b.