git.iko.soy/typeable/nixpkgs
on master help sign in
Merge older staging

There's a security fix for curl.

commite207d1f04ad262f53e387e9e3956a2a9c421a66a authorVladimír Čunát <vcunat@gmail.com> dateSat 12 Aug 2017, 09:48 (9 years ago) parent66ce84b3be89a6
12 files changed+23−22
pkgs/applications/audio/audio-recorder/default.nix+3−3 pkgs/applications/audio/clerk/default.nix+2−4 pkgs/applications/misc/gnuradio/default.nix+1−1 pkgs/applications/misc/gnuradio/wrapper.nix+2−2 pkgs/applications/office/libreoffice/still.nix+1−1 pkgs/applications/window-managers/sawfish/default.nix+2−2 pkgs/build-support/cc-wrapper/default.nix+1−1 pkgs/development/tools/misc/csmith/default.nix+2−1 pkgs/os-specific/linux/edac-utils/default.nix+1−3 pkgs/stdenv/generic/setup.sh+1−1 pkgs/tools/misc/system-config-printer/default.nix+1−1 pkgs/tools/networking/curl/default.nix+6−2
pkgs/applications/audio/audio-recorder/default.nix+3−3
@@ -34,9 +34,9 @@ stdenv.mkDerivation rec {
3434 '';
3535
3636 preFixup = ''
37− gappsWrapperArgs+=('--prefix XDG_DATA_DIRS : "$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"'
38− '--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"'
39− '--prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules"')
37+ gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : $out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH
38+ --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : $GST_PLUGIN_SYSTEM_PATH_1_0
39+ --prefix GIO_EXTRA_MODULES : ${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules)
4040 '';
4141
4242 meta = with stdenv.lib; {
pkgs/applications/audio/clerk/default.nix+2−4
@@ -13,13 +13,11 @@ stdenv.mkDerivation {
1313
1414 buildInputs = [ makeWrapper pythonPackages.mpd2 ];
1515
16− buildPhase = ''
17− echo skipping build phase...
18− '';
16+ dontBuild = true;
1917
2018 installPhase = ''
2119 DESTDIR=$out PREFIX=/ make install
22− wrapProgram $out/bin/clerk $out/bin/clerk \
20+ wrapProgram $out/bin/clerk \
2321 --prefix PATH : "${stdenv.lib.makeBinPath [ rofi mpc_cli perl utillinux libnotify ]}"
2422 '';
2523
pkgs/applications/misc/gnuradio/default.nix+1−1
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
5353 postInstall = ''
5454 printf "backend : Qt4Agg\n" > "$out/share/gnuradio/matplotlibrc"
5555
56− for file in "$out"/bin/* "$out"/share/gnuradio/examples/*/*.py; do
56+ for file in $(find $out/bin $out/share/gnuradio/examples -type f -executable); do
5757 wrapProgram "$file" \
5858 --prefix PYTHONPATH : $PYTHONPATH:$(toPythonPath "$out") \
5959 --set MATPLOTLIBRC "$out/share/gnuradio"
pkgs/applications/misc/gnuradio/wrapper.nix+2−2
@@ -11,10 +11,10 @@ stdenv.mkDerivation {
1111 mkdir -p $out/bin
1212 ln -s "${gnuradio}"/bin/* $out/bin/
1313
14− for file in "$out"/bin/*; do
14+ for file in $(find $out/bin -type f -executable); do
1515 wrapProgram "$file" \
1616 --prefix PYTHONPATH : ${stdenv.lib.concatStringsSep ":"
17− (map (path: "$(toPythonPath ${path})") extraPackages)} \
17+ (map (path: "$(toPythonPath ${path})") extraPackages)} \
1818 --prefix GRC_BLOCKS_PATH : ${makeSearchPath "share/gnuradio/grc/blocks" extraPackages}
1919 done
2020
pkgs/applications/office/libreoffice/still.nix+1−1
@@ -163,7 +163,7 @@ in stdenv.mkDerivation rec {
163163
164164 mkdir -p "$out/share/gsettings-schemas/collected-for-libreoffice/glib-2.0/schemas/"
165165
166− for a in sbase scalc sdraw smath swriter spadmin simpress soffice; do
166+ for a in sbase scalc sdraw smath swriter simpress soffice; do
167167 ln -s $out/lib/libreoffice/program/$a $out/bin/$a
168168 wrapProgram "$out/bin/$a" \
169169 --prefix XDG_DATA_DIRS : \
pkgs/applications/window-managers/sawfish/default.nix+2−2
@@ -32,8 +32,8 @@ stdenv.mkDerivation rec {
3232 postInstall = ''
3333 for i in $out/lib/sawfish/sawfish-menu $out/bin/sawfish-about $out/bin/sawfish-client $out/bin/sawfish-config $out/bin/sawfish; do
3434 wrapProgram $i \
35− --prefix REP_DL_LOAD_PATH "$out/lib/rep" \
36− --set REP_LOAD_PATH "$out/share/sawfish/lisp"
35+ --prefix REP_DL_LOAD_PATH : "$out/lib/rep" \
36+ --set REP_LOAD_PATH "$out/share/sawfish/lisp"
3737 done
3838 '';
3939
pkgs/build-support/cc-wrapper/default.nix+1−1
@@ -150,7 +150,7 @@ stdenv.mkDerivation {
150150 echo $dynamicLinker > $out/nix-support/dynamic-linker
151151
152152 '' + (if targetPlatform.isDarwin then ''
153− printf "export LD_DYLD_PATH+=%q\n" "$dynamicLinker" >> $out/nix-support/setup-hook
153+ printf "export LD_DYLD_PATH=%q\n" "$dynamicLinker" >> $out/nix-support/setup-hook
154154 '' else ''
155155 if [ -e ${libc_lib}/lib/32/ld-linux.so.2 ]; then
156156 echo ${libc_lib}/lib/32/ld-linux.so.2 > $out/nix-support/dynamic-linker-m32
pkgs/development/tools/misc/csmith/default.nix+2−1
@@ -22,7 +22,8 @@ stdenv.mkDerivation rec {
2222 --replace '../compiler_test.pl' $out/bin/compiler_test.pl \
2323 --replace '../$CONFIG_FILE' '$CONFIG_FILE'
2424
25− wrapProgram $out/bin/launchn.pl --prefix PERL5LIB : "$PERL5LIB" $out/bin/launchn.pl
25+ wrapProgram $out/bin/launchn.pl \
26+ --prefix PERL5LIB : "$PERL5LIB"
2627
2728 mkdir -p $out/share/csmith
2829 mv $out/bin/compiler_test.in $out/share/csmith/
pkgs/os-specific/linux/edac-utils/default.nix+1−3
@@ -25,9 +25,7 @@ stdenv.mkDerivation {
2525
2626 postInstall = ''
2727 wrapProgram "$out/sbin/edac-ctl" \
28− --set PATH : "" \
29− --prefix PATH : "${dmidecode}/bin" \
30− --prefix PATH : "${kmod}/bin"
28+ --set PATH ${stdenv.lib.makeBinPath [ dmidecode kmod ]}
3129 '';
3230
3331 meta = with stdenv.lib; {
pkgs/stdenv/generic/setup.sh+1−1
@@ -750,7 +750,7 @@ configurePhase() {
750750buildPhase() {
751751 runHook preBuild
752752
753− if [[ -z "$makeFlags" && ! ( -n "$makefile" || -e Makefile || -e makefile || -e GNUmakefile[[ ) ]]; then
753+ if [[ -z "$makeFlags" && ! ( -n "$makefile" || -e Makefile || -e makefile || -e GNUmakefile ) ]]; then
754754 echo "no Makefile, doing nothing"
755755 else
756756 # See https://github.com/NixOS/nixpkgs/pull/1354#issuecomment-31260409
pkgs/tools/misc/system-config-printer/default.nix+1−1
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
4343 ''
4444 buildPythonPath "$out $pythonPath"
4545 gappsWrapperArgs+=(
46− --prefix PATH "$program_PATH"
46+ --prefix PATH : "$program_PATH"
4747 --set CUPS_DATADIR "${cups-filters}/share/cups"
4848 )
4949
pkgs/tools/networking/curl/default.nix+6−2
@@ -21,11 +21,11 @@ assert scpSupport -> libssh2 != null;
2121assert c-aresSupport -> c-ares != null;
2222
2323stdenv.mkDerivation rec {
24− name = "curl-7.54.1";
24+ name = "curl-7.55.0";
2525
2626 src = fetchurl {
2727 url = "http://curl.haxx.se/download/${name}.tar.bz2";
28− sha256 = "1815iz5a7qghipjcl7s97hk4jqh4f3kqc487xi20rvh1s3r4vz7x";
28+ sha256 = "1cg5h0klsx887qd4wpkk5bpkbw1bfc4q7adsrai71zhmdzn6j7dg";
2929 };
3030
3131 outputs = [ "bin" "dev" "out" "man" "devdoc" ];
@@ -72,6 +72,10 @@ stdenv.mkDerivation rec {
7272 CXXCPP = "g++ -E";
7373
7474 postInstall = ''
75+ pushd docs/libcurl
76+ make install
77+ popd
78+
7579 moveToOutput bin/curl-config "$dev"
7680 sed '/^dependency_libs/s|${libssh2.dev}|${libssh2.out}|' -i "$out"/lib/*.la
7781 '' + stdenv.lib.optionalString gnutlsSupport ''