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: f4b4c66a0838
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: c857a24d2e08
Choose a head ref
  • 16 commits
  • 10 files changed
  • 10 contributors

Commits on Jan 22, 2020

  1. Copy the full SHA
    208e761 View commit details
  2. Copy the full SHA
    ee9d4c5 View commit details

Commits on Jan 23, 2020

  1. broot: 0.11.9 -> 0.12.0

    marsam committed Jan 23, 2020
    Copy the full SHA
    dfaae48 View commit details
  2. nixos/amazon-init.nix: add git to amazon-init script PATH

    Christian Höppner authored and yorickvP committed Jan 23, 2020
    Copy the full SHA
    52d5ce3 View commit details
  3. nixos/amazon-init.nix: Add gnutar to amazon-init PATH

    Christian Höppner authored and yorickvP committed Jan 23, 2020
    Copy the full SHA
    6d68699 View commit details
  4. nixos/amazon-init.nix: Add gzip to amazon-init path

    Christian Höppner authored and yorickvP committed Jan 23, 2020
    Copy the full SHA
    9489987 View commit details
  5. Pass on nixos configuration to amazonImage

    Christian Höppner authored and yorickvP committed Jan 23, 2020
    Copy the full SHA
    4da3513 View commit details
  6. nixos/unit: fix attrs

    Izorkin committed Jan 23, 2020
    Copy the full SHA
    f2c9bcf View commit details
  7. Merge pull request #78378 from Izorkin/unit-fix

    nixos/unit: fix attrs
    aanderse authored Jan 23, 2020
    Copy the full SHA
    b8cf341 View commit details
  8. doc: Remove comment advising to install build tooling system-wide

    We should not encourage installing build-tooling system-wide but
    instead promote nix-shell.
    adisbladis committed Jan 23, 2020
    Copy the full SHA
    fece3e5 View commit details
  9. Merge pull request #78367 from marsam/update-broot

    broot: 0.11.9 -> 0.12.0
    dywedir authored Jan 23, 2020
    Copy the full SHA
    ead1e6a View commit details
  10. Merge pull request #78383 from adisbladis/doc-patch-rust-block

    doc: Remove comment advising to install build tooling system-wide
    adisbladis authored Jan 23, 2020
    Copy the full SHA
    9127ca2 View commit details
  11. Merge pull request #78269 from jtojnar/gimp-deps

    gegl_0_4: 0.4.18 → 0.4.20
    jtojnar authored Jan 23, 2020
    Copy the full SHA
    589044a View commit details
  12. nixos/amazon-init.nix: add git/tar/gz, fix AMI configuration (#78363)

    nixos/amazon-init.nix: add git/tar/gz, fix AMI configuration
    infinisil authored Jan 23, 2020
    Copy the full SHA
    3a4e550 View commit details
  13. tdesktop: 1.9.4 -> 1.9.7 (#78390)

    This also properly enables the spell checking with enchant2.
    
    Note: This requires a proper configuration.
    A quick and dirty solution (not recommended) could look like this:
    install -Dt ~/.config/enchant/hunspell/ $(nix-build -A hunspellDicts.en_US)/share/hunspell/en_US.{aff,dic}
    primeos authored Jan 23, 2020
    Copy the full SHA
    0d97ef5 View commit details

Commits on Jan 24, 2020

  1. aws-sam-cli: 0.34.0 -> 0.40.0

    lo1tuma authored and Jon committed Jan 24, 2020
    Copy the full SHA
    c857a24 View commit details
6 changes: 0 additions & 6 deletions doc/languages-frameworks/rust.section.md
Original file line number Diff line number Diff line change
@@ -16,12 +16,6 @@ cargo
into the `environment.systemPackages` or bring them into
scope with `nix-shell -p rustc cargo`.

> If you are using NixOS and you want to use rust without a nix expression you
> probably want to add the following in your `configuration.nix` to build
> crates with C dependencies.
>
> environment.systemPackages = [binutils gcc gnumake openssl pkgconfig]
For daily builds (beta and nightly) use either rustup from
nixpkgs or use the [Rust nightlies
overlay](#using-the-rust-nightlies-overlay).
6 changes: 4 additions & 2 deletions nixos/modules/services/web-servers/unit/default.nix
Original file line number Diff line number Diff line change
@@ -130,8 +130,10 @@ in {
};

users.users = optionalAttrs (cfg.user == "unit") {
unit.group = cfg.group;
isSystemUser = true;
unit = {
group = cfg.group;
isSystemUser = true;
};
};

users.groups = optionalAttrs (cfg.group == "unit") {
5 changes: 2 additions & 3 deletions nixos/modules/virtualisation/amazon-init.nix
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ let
echo "attempting to fetch configuration from EC2 user data..."
export HOME=/root
export PATH=${pkgs.lib.makeBinPath [ config.nix.package pkgs.systemd pkgs.gnugrep pkgs.gnused config.system.build.nixos-rebuild]}:$PATH
export PATH=${pkgs.lib.makeBinPath [ config.nix.package pkgs.systemd pkgs.gnugrep pkgs.git pkgs.gnutar pkgs.gzip pkgs.gnused config.system.build.nixos-rebuild]}:$PATH
export NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
userData=/etc/ec2-metadata/user-data
@@ -48,7 +48,7 @@ in {
wantedBy = [ "multi-user.target" ];
after = [ "multi-user.target" ];
requires = [ "network-online.target" ];

restartIfChanged = false;
unitConfig.X-StopOnRemoval = false;

@@ -58,4 +58,3 @@ in {
};
};
}

3 changes: 2 additions & 1 deletion nixos/release.nix
Original file line number Diff line number Diff line change
@@ -209,7 +209,8 @@ in rec {
hydraJob ((import lib/eval-config.nix {
inherit system;
modules =
[ versionModule
[ configuration
versionModule
./maintainers/scripts/ec2/amazon-image.nix
];
}).config.system.build.amazonImage)
Original file line number Diff line number Diff line change
@@ -18,34 +18,35 @@ with lib;

mkDerivation rec {
pname = "telegram-desktop";
version = "1.9.4";
version = "1.9.7";
# Note: Due to our strong dependency on the Arch patches it's probably best
# to also wait for the Arch update (especially if the patches don't apply).

# Telegram-Desktop with submodules
src = fetchurl {
url = "https://github.com/telegramdesktop/tdesktop/releases/download/v${version}/tdesktop-${version}-full.tar.gz";
sha256 = "1ldsgbix0ca4pl2z55wiz90ll3542zsm9slayrzyr7b2jw7arxwy";
sha256 = "1hj7bv11alc8cfffy0k3za4missdr44cdmia93xn77w012qjn8a4";
};

# Arch patches (svn export telegram-desktop/trunk)
archPatches = fetchsvn {
url = "svn://svn.archlinux.org/community/telegram-desktop/trunk";
# svn log svn://svn.archlinux.org/community/telegram-desktop/trunk
rev = "553350";
sha256 = "05fyij490flrbn4jfwhm8gx9imh0wfby4j9fj69f45qgkpsd7ajb";
rev = "554983";
sha256 = "02gk5dlrmxvyl7w1yxmwclknk1k9drpx6rxqc6vmmw85l763m95j";
};

# Note: It would be best if someone could get as many patches upstream as
# possible (we currently depend a lot on custom patches...).
patches = [
"${archPatches}/0005-Use-system-wide-fonts.patch"
"${archPatches}/0006-Revert-Disable-DemiBold-fallback-for-Semibold.patch"
];

postPatch = ''
substituteInPlace Telegram/SourceFiles/platform/linux/linux_libs.cpp \
--replace '"appindicator3"' '"${libappindicator-gtk3}/lib/libappindicator3.so"'
substituteInPlace Telegram/lib_spellcheck/spellcheck/platform/linux/linux_enchant.cpp \
--replace '"libenchant-2.so.2"' '"${enchant2}/lib/libenchant-2.so.2"'
'';

# We want to run wrapProgram manually (with additional parameters)
@@ -90,6 +91,7 @@ mkDerivation rec {
"-DTDESKTOP_DISABLE_DESKTOP_FILE_GENERATION=ON"
"-DTDESKTOP_USE_PACKAGED_TGVOIP=OFF"
#"-DDESKTOP_APP_SPECIAL_TARGET=\"\"" # TODO: Error when set to "": Bad special target '""'
"-DTDESKTOP_LAUNCHER_BASENAME=telegramdesktop" # Note: This is the default
];

# Note: The following packages could be packaged system-wide, but it's
@@ -108,7 +110,7 @@ mkDerivation rec {
# https://github.com/NixOS/nixpkgs/pull/75210

installPhase = ''
install -Dm755 bin/Telegram $out/bin/telegram-desktop
install -Dm755 bin/telegram-desktop $out/bin/telegram-desktop
mkdir -p $out/share/{kservices5,applications,metainfo}
sed "s,/usr/bin,$out/bin,g" "../lib/xdg/tg.protocol" > "$out/share/kservices5/tg.protocol"
10 changes: 2 additions & 8 deletions pkgs/development/libraries/babl/default.nix
Original file line number Diff line number Diff line change
@@ -9,21 +9,15 @@

stdenv.mkDerivation rec {
pname = "babl";
version = "0.1.72";
version = "0.1.74";

outputs = [ "out" "dev" ];

src = fetchurl {
url = "https://download.gimp.org/pub/babl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0hkagjrnza77aasa1kss5hvy37ndm50y6i7hkdn2z8hzgc4i3qb4";
sha256 = "03nfcvy3453xkfvsfcnsfcjf2vg2pin09qnr9jlssdysa1lhnwcs";
};

patches = [
# Apple linker does not know --version-script flag
# https://gitlab.gnome.org/GNOME/babl/merge_requests/26
./fix-darwin.patch
];

nativeBuildInputs = [
meson
ninja
16 changes: 0 additions & 16 deletions pkgs/development/libraries/babl/fix-darwin.patch

This file was deleted.

24 changes: 2 additions & 22 deletions pkgs/development/libraries/gegl/4.0.nix
Original file line number Diff line number Diff line change
@@ -33,37 +33,17 @@

stdenv.mkDerivation rec {
pname = "gegl";
version = "0.4.18";
version = "0.4.20";

outputs = [ "out" "dev" "devdoc" ];
outputBin = "dev";

src = fetchurl {
url = "https://download.gimp.org/pub/gegl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0r6akqnrkvxizyhyi8sv40mxm7j4bcwjb6mqjpxy0zzbbfsdyin9";
sha256 = "1zrxnxlhn0jmshg4n2m2xlgi886w059ynkiiihm7rpi05fs8pg93";
};

patches = [
# Fix arch detection.
# https://gitlab.gnome.org/GNOME/gegl/merge_requests/53
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gegl/commit/6bcf95fd0f32cf5e8b1ddbe17b14d9ad049bded8.patch";
sha256 = "0aqdr3y5mr47wq44jnhp97188bvpjlf56zrlmn8aazdf07r2apma";
})

# Fix Darwin build.
# https://gitlab.gnome.org/GNOME/gegl/merge_requests/54
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gegl/commit/2bc06bfedee4fb25f6a966c8235b75292e24e55f.patch";
sha256 = "1psls61wsrdq5pzpvj22mrm46lpzrw3wkx6li7dv6fyb65wz2n4d";
})

# Fix test timeout. Downstream debian patch.
(fetchpatch {
url = "https://salsa.debian.org/gnome-team/gegl/raw/9b7520b38d87cd8ad4b39bf0b8c62d011da25169/debian/patches/increase_test_timeout.patch";
sha256 = "1prc1h1aipjd9db0i1j7nzga4zvk3vl8qsjpz1jzv1wwvz02isly";
})

# Remove gegl:simple / backend-file test that times out frequently
./patches/no-simple-backend-file-test.patch
];
27 changes: 25 additions & 2 deletions pkgs/development/tools/aws-sam-cli/default.nix
Original file line number Diff line number Diff line change
@@ -24,6 +24,29 @@ let
doCheck = false;
});

cookiecutter = super.cookiecutter.overridePythonAttrs (oldAttrs: rec {
version = "1.6.0";
src = oldAttrs.src.override {
inherit version;
sha256 = "0glsvaz8igi2wy1hsnhm9fkn6560vdvdixzvkq6dn20z3hpaa5hk";
};
});

boto3 = super.boto3.overridePythonAttrs (oldAttrs: rec {
version = "1.10.50";
src = oldAttrs.src.override {
inherit version;
sha256 = "199nr61ivm4bychn3rxyzzyca5f8wlwags3s43rdv9yn048xa02w";
};
});

botocore = super.botocore.overridePythonAttrs (oldAttrs: rec {
version = "1.13.50";
src = oldAttrs.src.override {
inherit version;
sha256 = "1m3lbi13d9gcp6wfhv0pkwg8akasxlhv49y34ybj74ppgximqnkn";
};
});
};
};

@@ -33,11 +56,11 @@ with py.pkgs;

buildPythonApplication rec {
pname = "aws-sam-cli";
version = "0.34.0";
version = "0.40.0";

src = fetchPypi {
inherit pname version;
sha256 = "1ndgcbd6zr23lvmqn4wikgvnlwl0gj0wgyawaspwm3b0jlvxadik";
sha256 = "1vlg5fdkq5xr4v3a86gyxbbrx4rzdspbv62ki7q8yq8xdja1qz05";
};

# Tests are not included in the PyPI package
6 changes: 3 additions & 3 deletions pkgs/tools/misc/broot/default.nix
Original file line number Diff line number Diff line change
@@ -2,16 +2,16 @@

rustPlatform.buildRustPackage rec {
pname = "broot";
version = "0.11.9";
version = "0.12.0";

src = fetchFromGitHub {
owner = "Canop";
repo = pname;
rev = "v${version}";
sha256 = "1kif1113qdxg4hr1mfgg1fh10zgl9cl117cm1bfjaabw11k75cvj";
sha256 = "0z31yizjczr59z6vxgjc3lqlcr3m21bi5ly8pxp3s3w7nbfr369q";
};

cargoSha256 = "0636qkgkw027s5dz2mryhghlm6kn3s7cfy4i8rxywr8r3w8c40y0";
cargoSha256 = "0cwj63907xwy1ali9p2wnzhlcb80c6nhf684fbbsg7awiyqgdak3";
verifyCargoDeps = true;

nativeBuildInputs = [ installShellFiles ];