Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c5e223e12024
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: db4ccde60dcb
Choose a head ref
  • 16 commits
  • 15 files changed
  • 10 contributors

Commits on Oct 16, 2019

  1. vscode-with-extensions: fix insiders build

    Extensions are no longer unwrapped to the /share directory so the
    extensions' derivations do not have to know about VSCode's package name.
    hyperfekt committed Oct 16, 2019
    Copy the full SHA
    bb24faf View commit details

Commits on Mar 4, 2020

  1. Copy the full SHA
    f539a47 View commit details

Commits on Mar 7, 2020

  1. Copy the full SHA
    d6d660d View commit details
  2. Copy the full SHA
    2685e45 View commit details
  3. Copy the full SHA
    630de55 View commit details
  4. Copy the full SHA
    cb5da4e View commit details
  5. Copy the full SHA
    ce34b92 View commit details
  6. Merge pull request #79488 from danielfullmer/zoneminder-1.34.2

    zoneminder: 1.32.3 -> 1.34.3
    veprbl authored Mar 7, 2020
    Copy the full SHA
    93745d2 View commit details
  7. Merge pull request #71251 from hyperfekt/vscode-insiders-extensions

    vscode-with-extensions: fix insiders build
    veprbl authored Mar 7, 2020
    Copy the full SHA
    a2437c3 View commit details
  8. Merge pull request #82001 from jtojnar/fwupd-1.3.9

    fwupd: 1.3.8 → 1.3.9
    jtojnar authored Mar 7, 2020
    Copy the full SHA
    065b6d3 View commit details
  9. Merge pull request #81679 from colemickens/nixpkgs-stem

    pythonPackages.stem: 1.7.1 -> 1.8.0
    marsam authored Mar 7, 2020
    Copy the full SHA
    9d44f2f View commit details
  10. maintainers: add illiusdope

    illiusdope authored and rycee committed Mar 7, 2020
    Copy the full SHA
    4a14847 View commit details
  11. kubie: init at 0.7.1

    illiusdope authored and rycee committed Mar 7, 2020
    Copy the full SHA
    0f91791 View commit details
  12. Copy the full SHA
    01db31c View commit details
  13. Copy the full SHA
    b330620 View commit details
  14. ocamlPackages.ppx_import: 1.5-3 → 1.7.1

    Support for OCaml ≥ 4.08
    vbgl committed Mar 7, 2020
    Copy the full SHA
    db4ccde View commit details
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -3096,6 +3096,12 @@
githubId = 4401220;
name = "Michael Eden";
};
illiusdope = {
email = "mat@marini.ca";
github = "illiusdope";
gitHubId = 61913481;
name = "Mat Marini";
};
ilya-fedin = {
email = "fedin-ilja2010@ya.ru";
github = "ilya-fedin";
4 changes: 4 additions & 0 deletions nixos/modules/services/misc/zoneminder.nix
Original file line number Diff line number Diff line change
@@ -77,6 +77,8 @@ in {
`config.services.zoneminder.database.createLocally` to true. Otherwise,
when set to `false` (the default), you will have to create the database
and database user as well as populate the database yourself.
Additionally, you will need to run `zmupdate.pl` yourself when
upgrading to a newer version.
'';

webserver = mkOption {
@@ -330,6 +332,8 @@ in {
${config.services.mysql.package}/bin/mysql < ${pkg}/share/zoneminder/db/zm_create.sql
touch "/var/lib/${dirName}/db-created"
fi
${zoneminder}/bin/zmupdate.pl -nointeractive
'';
serviceConfig = {
User = user;
4 changes: 2 additions & 2 deletions pkgs/applications/editors/vscode/with-extensions.nix
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ let
wrappedPkgName = lib.removeSuffix "-${wrappedPkgVersion}" vscode.name;

combinedExtensionsDrv = buildEnv {
name = "${wrappedPkgName}-extensions-${wrappedPkgVersion}";
name = "vscode-extensions";
paths = vscodeExtensions;
};

@@ -70,6 +70,6 @@ runCommand "${wrappedPkgName}-with-extensions-${wrappedPkgVersion}" {
ln -sT "${vscode}/share/applications/${executableName}.desktop" "$out/share/applications/${executableName}.desktop"
ln -sT "${vscode}/share/applications/${executableName}-url-handler.desktop" "$out/share/applications/${executableName}-url-handler.desktop"
makeWrapper "${vscode}/bin/${executableName}" "$out/bin/${executableName}" ${lib.optionalString (vscodeExtensions != []) ''
--add-flags "--extensions-dir ${combinedExtensionsDrv}/share/${wrappedPkgName}/extensions"
--add-flags "--extensions-dir ${combinedExtensionsDrv}"
''}
''
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ let
else "");
in stdenv.mkDerivation rec {
pname = "signal-desktop";
version = "1.32.0"; # Please backport all updates to the stable channel.
version = "1.32.1"; # Please backport all updates to the stable channel.
# All releases have a limited lifetime and "expire" 90 days after the release.
# When releases "expire" the application becomes unusable until an update is
# applied. The expiration date for the current release can be extracted with:
@@ -33,7 +33,7 @@ in stdenv.mkDerivation rec {

src = fetchurl {
url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb";
sha256 = "1ggblpw2xxhm78sqadswcv0314zagksj34z8pywjnr8h9zkcyiap";
sha256 = "0sfzz1z57l20prj2s8hdl8ip1hrlzb5fqnccqcfd101a6mjnp9i9";
};

nativeBuildInputs = [
15 changes: 6 additions & 9 deletions pkgs/development/ocaml-modules/ppx_import/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, ocaml
{ lib, fetchurl, buildDunePackage, ocaml
, ounit, ppx_deriving, ppx_tools_versioned
}:

@@ -8,24 +8,21 @@ else

buildDunePackage rec {
pname = "ppx_import";
version = "1.5-3";
version = "1.7.1";

src = fetchFromGitHub {
owner = "ocaml-ppx";
repo = "ppx_import";
rev = "bd627d5afee597589761d6fee30359300b5e1d80";
sha256 = "1f9bphif1izhyx72hvwpkd9kxi9lfvygaicy6nbxyp6qgc87z4nm";
src = fetchurl {
url = "https://github.com/ocaml-ppx/ppx_import/releases/download/v${version}/ppx_import-v${version}.tbz";
sha256 = "16dyxfb7syz659rqa7yq36ny5vzl7gkqd7f4m6qm2zkjc1gc8j4v";
};

buildInputs = [ ounit ppx_deriving ];
propagatedBuildInputs = [ ppx_tools_versioned ];

doCheck = true;
checkTarget = "test";

meta = {
description = "A syntax extension that allows to pull in types or signatures from other compiled interface files";
license = lib.licenses.mit;
inherit (src.meta) homepage;
homepage = "https://github.com/ocaml-ppx/ppx_import";
};
}
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/stem/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

buildPythonPackage rec {
pname = "stem";
version = "1.7.1";
version = "1.8.0";

src = fetchPypi {
inherit pname version;
sha256 = "18lc95pmc7i089nlsb06dsxyjl5wbhxfqgdxbjcia35ndh8z7sn9";
sha256 = "1hk8alc0r4m669ggngdfvryndd0fbx0w62sclcmg55af4ak8xd50";
};

postPatch = ''
4 changes: 2 additions & 2 deletions pkgs/development/tools/golangci-lint/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

buildGoModule rec {
pname = "golangci-lint";
version = "1.23.7";
version = "1.23.8";

src = fetchFromGitHub {
owner = "golangci";
repo = "golangci-lint";
rev = "v${version}";
sha256 = "1dcayxblim97hlgdx0wdlbj2jxvdqfk8912hz7ylb1007x7y5da5";
sha256 = "166pwgf86lkd277dq98vjry0ad0avrz12zxb9rfgbhl1z4ccwi1g";
};

modSha256 = "0sckz298bvkf4p4fdmsmza0zrj2s2pvc86qwg6i76vdh9yzvq5gx";
26 changes: 26 additions & 0 deletions pkgs/development/tools/kubie/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ stdenv, rustPlatform, fetchFromGitHub }:

with rustPlatform;

buildRustPackage rec {
pname = "kubie";
version = "0.7.1";

src = fetchFromGitHub {
rev = "v${version}";
owner = "sbstp";
repo = "kubie";
sha256 = "0c94ggrkzyy8zl2z5r4pgfscyhcjp4x64k3bl2byqp3ysgjwkjqx";
};

cargoSha256 = "1lzyda838s9fmg8hibg2w2wszwyvvqsy20w9877skfcx370rvndi";

meta = with stdenv.lib; {
description =
"Shell independent context and namespace switcher for kubectl";
homepage = "https://github.com/sbstp/kubie";
license = with licenses; [ zlib ];
maintainers = with maintainers; [ illiusdope ];
platforms = platforms.all;
};
}
10 changes: 3 additions & 7 deletions pkgs/misc/vscode-extensions/vscode-utils.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{ stdenv, lib, fetchurl, vscode, unzip }:
{ stdenv, lib, fetchurl, unzip }:

let
extendedPkgVersion = lib.getVersion vscode;
extendedPkgName = lib.removeSuffix "-${extendedPkgVersion}" vscode.name;

mktplcExtRefToFetchArgs = ext: {
url = "https://${ext.publisher}.gallery.vsassets.io/_apis/public/gallery/publisher/${ext.publisher}/extension/${ext.name}/${ext.version}/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage";
sha256 = ext.sha256;
@@ -14,7 +11,6 @@ let

buildVscodeExtension = a@{
name,
namePrefix ? "${extendedPkgName}-extension-",
src,
# Same as "Unique Identifier" on the extension's web page.
# For the moment, only serve as unique extension dir.
@@ -28,12 +24,12 @@ let
}:
stdenv.mkDerivation ((removeAttrs a [ "vscodeExtUniqueId" ]) // {

name = namePrefix + name;
name = "vscode-extension-${name}";

inherit vscodeExtUniqueId;
inherit configurePhase buildPhase dontPatchELF dontStrip;

installPrefix = "share/${extendedPkgName}/extensions/${vscodeExtUniqueId}";
installPrefix = "${vscodeExtUniqueId}";

buildInputs = [ unzip ] ++ buildInputs;

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/data/meson.build b/data/meson.build
index d59bdc88..4a4cfc35 100644
index 0667bd78..92d6c7b9 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -16,7 +16,7 @@
@@ -17,7 +17,7 @@ endif

if build_standalone
install_data(['daemon.conf'],
@@ -15,7 +15,7 @@ diff --git a/data/pki/meson.build b/data/pki/meson.build
index eefcc914..dc801fa1 100644
--- a/data/pki/meson.build
+++ b/data/pki/meson.build
@@ -4,14 +4,14 @@
@@ -4,14 +4,14 @@ if get_option('gpg')
'GPG-KEY-Linux-Foundation-Firmware',
'GPG-KEY-Linux-Vendor-Firmware-Service',
],
@@ -32,7 +32,7 @@ index eefcc914..dc801fa1 100644
)
endif

@@ -19,12 +19,12 @@
@@ -19,12 +19,12 @@ if get_option('pkcs7')
install_data([
'LVFS-CA.pem',
],
@@ -51,7 +51,7 @@ diff --git a/data/remotes.d/meson.build b/data/remotes.d/meson.build
index 826a3c1d..b78db663 100644
--- a/data/remotes.d/meson.build
+++ b/data/remotes.d/meson.build
@@ -3,7 +3,7 @@
@@ -3,7 +3,7 @@ if build_daemon and get_option('lvfs')
'lvfs.conf',
'lvfs-testing.conf',
],
@@ -60,7 +60,7 @@ index 826a3c1d..b78db663 100644
)
i18n.merge_file(
input: 'lvfs.metainfo.xml',
@@ -37,12 +37,12 @@
@@ -37,12 +37,12 @@ configure_file(
output : 'vendor.conf',
configuration : con2,
install: true,
@@ -79,7 +79,7 @@ diff --git a/meson.build b/meson.build
index b1a523d2..aacb8e0a 100644
--- a/meson.build
+++ b/meson.build
@@ -169,6 +169,12 @@
@@ -169,6 +169,12 @@ endif
mandir = join_paths(prefix, get_option('mandir'))
localedir = join_paths(prefix, get_option('localedir'))

@@ -96,7 +96,7 @@ diff --git a/meson_options.txt b/meson_options.txt
index be0adfef..73983333 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -26,6 +26,7 @@
@@ -26,6 +26,7 @@ option('plugin_coreboot', type : 'boolean', value : true, description : 'enable
option('systemd', type : 'boolean', value : true, description : 'enable systemd support')
option('systemdunitdir', type: 'string', value: '', description: 'Directory for systemd units')
option('elogind', type : 'boolean', value : false, description : 'enable elogind support')
@@ -108,7 +108,7 @@ diff --git a/plugins/dell-esrt/meson.build b/plugins/dell-esrt/meson.build
index ed4eee70..76dbdb1d 100644
--- a/plugins/dell-esrt/meson.build
+++ b/plugins/dell-esrt/meson.build
@@ -37,5 +37,5 @@
@@ -37,5 +37,5 @@ configure_file(
output : 'dell-esrt.conf',
configuration : con2,
install: true,
@@ -119,7 +119,7 @@ diff --git a/plugins/redfish/meson.build b/plugins/redfish/meson.build
index 25fc5c7d..77eb9a83 100644
--- a/plugins/redfish/meson.build
+++ b/plugins/redfish/meson.build
@@ -27,7 +27,7 @@
@@ -27,7 +27,7 @@ shared_module('fu_plugin_redfish',
)

install_data(['redfish.conf'],
@@ -132,7 +132,7 @@ diff --git a/plugins/thunderbolt/meson.build b/plugins/thunderbolt/meson.build
index 06ab34ee..297a9182 100644
--- a/plugins/thunderbolt/meson.build
+++ b/plugins/thunderbolt/meson.build
@@ -46,7 +46,7 @@
@@ -46,7 +46,7 @@ executable('tbtfwucli',
)

install_data(['thunderbolt.conf'],
@@ -142,15 +142,26 @@ index 06ab34ee..297a9182 100644
# we use functions from 2.52 in the tests
if get_option('tests') and umockdev.found() and gio.version().version_compare('>= 2.52')
diff --git a/plugins/uefi/meson.build b/plugins/uefi/meson.build
index 39b5f566..0f904a22 100644
index 7252580d..7188d1c5 100644
--- a/plugins/uefi/meson.build
+++ b/plugins/uefi/meson.build
@@ -87,7 +87,7 @@
)
@@ -104,7 +104,7 @@ if get_option('man')
endif

install_data(['uefi.conf'],
- install_dir: join_paths(sysconfdir, 'fwupd')
+ install_dir: join_paths(sysconfdir_install, 'fwupd')
)

if get_option('tests')
diff --git a/plugins/upower/meson.build b/plugins/upower/meson.build
index 290a3eb6..9ab2f452 100644
--- a/plugins/upower/meson.build
+++ b/plugins/upower/meson.build
@@ -23,5 +23,5 @@ shared_module('fu_plugin_upower',
)

install_data(['upower.conf'],
- install_dir: join_paths(sysconfdir, 'fwupd')
+ install_dir: join_paths(sysconfdir_install, 'fwupd')
)
12 changes: 3 additions & 9 deletions pkgs/os-specific/linux/firmware/fwupd/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,6 @@

{ stdenv
, fetchurl
, fetchpatch
, substituteAll
, gtk-doc
, pkgconfig
@@ -88,11 +87,11 @@ in

stdenv.mkDerivation rec {
pname = "fwupd";
version = "1.3.8";
version = "1.3.9";

src = fetchurl {
url = "https://people.freedesktop.org/~hughsient/releases/fwupd-${version}.tar.xz";
sha256 = "14hbwp3263n4z61ws62vj50kh9a89fz2l29hyv7f1xlas4zz6j8x";
sha256 = "ZuRG+UN8ebXv5Z8fOYWT0eCtHykGXoB8Ysu3wAeqx0A=";
};

# libfwupd goes to lib
@@ -163,12 +162,6 @@ stdenv.mkDerivation rec {
# needs a different set of modules than po/make-images
inherit installedTestsPython;
})

# Find the correct lds and crt name when specifying -Defi_ldsdir
(fetchpatch {
url = "https://github.com/fwupd/fwupd/commit/52cda3db9ca9ab4faf99310edf29df926a713b5c.patch";
sha256 = "0hsj79dzamys7ryz33iwxwd58kb1h7gaw637whm0nkvzkqq6rm16";
})
];

postPatch = ''
@@ -271,6 +264,7 @@ stdenv.mkDerivation rec {
"fwupd/remotes.d/vendor.conf"
"fwupd/remotes.d/vendor-directory.conf"
"fwupd/thunderbolt.conf"
"fwupd/upower.conf"
# "fwupd/uefi.conf" # already created by the module
"pki/fwupd/GPG-KEY-Hughski-Limited"
"pki/fwupd/GPG-KEY-Linux-Foundation-Firmware"
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
From db38a11228eceea10dc97ecc87023b4919caa918 Mon Sep 17 00:00:00 2001
From: Daniel Fullmer <danielrf12@gmail.com>
Date: Fri, 21 Feb 2020 21:52:00 -0500
Subject: [PATCH] Don't use file timestamp in cache filename

Every file in the nix store has a timestamp of "1", meaning that the
filename would remain constant even when changing zoneminder versions.
This would mean that newer versions would use the existing symlink to an
older version of the source file. We replace SRC_HASH in nix with a
hash of the source used to build zoneminder to ensure this filename is
unique.
---
web/includes/functions.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/web/includes/functions.php b/web/includes/functions.php
index 19567a5c1..0242c09bc 100644
--- a/web/includes/functions.php
+++ b/web/includes/functions.php
@@ -2223,7 +2223,8 @@ function cache_bust($file) {
$parts = pathinfo($file);
global $css;
$dirname = preg_replace('/\//', '_', $parts['dirname']);
- $cacheFile = $dirname.'_'.$parts['filename'].'-'.$css.'-'.filemtime($file).'.'.$parts['extension'];
+ $srcHash = '@srcHash@';
+ $cacheFile = $dirname.'_'.$parts['filename'].'-'.$css.'-'.$srcHash.'.'.$parts['extension'];
if ( file_exists(ZM_DIR_CACHE.'/'.$cacheFile) or symlink(ZM_PATH_WEB.'/'.$file, ZM_DIR_CACHE.'/'.$cacheFile) ) {
return 'cache/'.$cacheFile;
} else {
--
2.25.1

Loading