Merge branch 'staging-next' into staging
A couple fixes were pushed directly to staging-next.
This commit is contained in:
commit
1cec3d8aaa
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gdbm-1.17";
|
name = "gdbm-1.17";
|
||||||
|
# FIXME: remove on update to > 1.17
|
||||||
|
NIX_CFLAGS_COMPILE = if stdenv.cc.isClang then "-Wno-error=return-type" else null;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/gdbm/${name}.tar.gz";
|
url = "mirror://gnu/gdbm/${name}.tar.gz";
|
||||||
|
|
|
@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
prePatch = let
|
prePatch = let
|
||||||
debian = fetchurl {
|
debian = fetchurl {
|
||||||
|
# When the URL disappears, it typically means that Debian has new patches
|
||||||
|
# (probably security) and updating to new tarball will apply them as well.
|
||||||
url = http://http.debian.net/debian/pool/main/t/tiff/tiff_4.0.9-6.debian.tar.xz;
|
url = http://http.debian.net/debian/pool/main/t/tiff/tiff_4.0.9-6.debian.tar.xz;
|
||||||
sha256 = "10yk5npchxscgsnd7ihd3bbbw2fxkl7ni0plm43c9q4nwp6ms52f";
|
sha256 = "10yk5npchxscgsnd7ihd3bbbw2fxkl7ni0plm43c9q4nwp6ms52f";
|
||||||
};
|
};
|
||||||
|
|
|
@ -39,7 +39,7 @@ in stdenv.mkDerivation rec {
|
||||||
"--disable-use-tty-group"
|
"--disable-use-tty-group"
|
||||||
"--enable-fs-paths-default=/run/wrappers/bin:/var/run/current-system/sw/bin:/sbin"
|
"--enable-fs-paths-default=/run/wrappers/bin:/var/run/current-system/sw/bin:/sbin"
|
||||||
"--disable-makeinstall-setuid" "--disable-makeinstall-chown"
|
"--disable-makeinstall-setuid" "--disable-makeinstall-chown"
|
||||||
(lib.withFeature (ncurses != null) "ncurses")
|
(lib.withFeature (ncurses != null) "ncursesw")
|
||||||
(lib.withFeature (systemd != null) "systemd")
|
(lib.withFeature (systemd != null) "systemd")
|
||||||
(lib.withFeatureAs (systemd != null)
|
(lib.withFeatureAs (systemd != null)
|
||||||
"systemdsystemunitdir" "$bin/lib/systemd/system/")
|
"systemdsystemunitdir" "$bin/lib/systemd/system/")
|
||||||
|
|
Loading…
Reference in New Issue