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: 13b815603077
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: 38c7c5d3229c
Choose a head ref
  • 10 commits
  • 7 files changed
  • 5 contributors

Commits on Jul 4, 2019

  1. Partially verified

    This commit is signed with the committer’s verified signature.
    domenkozar’s contribution has been verified via GPG key.
    We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
    Copy the full SHA
    cfb340c View commit details

Commits on Jul 8, 2019

  1. rofi: 1.5.3 -> 1.5.4

    Update URL of source code, because the Git repository was moved to
    "https://github.com/davatorium/rofi" from
    "https://github.com/DaveDavenport/rofi".
    xrelkd committed Jul 8, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    domenkozar Domen Kožar
    Copy the full SHA
    6a41fca View commit details
  2. firefox: allow overriding config of wrapped package

    By moving the `cfg` variable into the wrapper arguments we are able to
    override it for an already wrapped package. For example, with this
    change one can have
    
        pkgs.firefox-devedition-bin.override {
          cfg.enableBrowserpass = true;
        }
    
    which would otherwise be difficult to accomplish for packages having a
    complicated wrapped definition in `all-packages.nix`.
    rycee committed Jul 8, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    06d8666 View commit details
  3. eksctl: 0.1.38 -> 0.1.39 (#64444)

    xrelkd authored and kalbasit committed Jul 8, 2019
    Copy the full SHA
    a6fe0a0 View commit details
  4. Merge pull request #64283 from tadeokondrak/adapta-backgrounds/update…

    …/0.5.3.1
    
    adapta-backgrounds: 0.5.2.3 -> 0.5.3.1
    worldofpeace authored Jul 8, 2019
    Copy the full SHA
    3752453 View commit details
  5. Merge pull request #64447 from xrelkd/update/rofi

    rofi: 1.5.3 -> 1.5.4
    worldofpeace authored Jul 8, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    grahamc Graham Christensen
    Copy the full SHA
    5b4e865 View commit details
  6. Copy the full SHA
    ca13e2b View commit details

Commits on Jul 9, 2019

  1. Copy the full SHA
    87bc261 View commit details
  2. Merge pull request #64429 from eadwu/vscode-extensions.ms-vscode.cppt…

    …ools/0.24.0
    
    vscode-extensions.ms-vscode.cpptools: 0.23.1 -> 0.24.0
    worldofpeace authored Jul 9, 2019
    Copy the full SHA
    bf7ab59 View commit details
  3. Merge pull request #64439 from xrelkd/update/opera

    opera: 60.0.3255.170 -> 62.0.3331.43
    worldofpeace authored Jul 9, 2019
    Copy the full SHA
    38c7c5d View commit details
16 changes: 9 additions & 7 deletions pkgs/applications/misc/rofi/default.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libxkbcommon, pango, which, git
{ stdenv, lib, fetchurl
, autoreconfHook, pkgconfig, libxkbcommon, pango, which, git
, cairo, libxcb, xcbutil, xcbutilwm, xcbutilxrm, libstartup_notification
, bison, flex, librsvg, check
}:

stdenv.mkDerivation rec {
version = "1.5.3";
name = "rofi-unwrapped-${version}";
pname = "rofi-unwrapped";
version = "1.5.4";

src = fetchurl {
url = "https://github.com/DaveDavenport/rofi/releases/download/${version}/rofi-${version}.tar.gz";
sha256 = "1mskknfnpgmaghplwcyc44qc8swb1f9qiyi67fz9i77jijjpj1lx";
url = "https://github.com/davatorium/rofi/releases/download/${version}/rofi-${version}.tar.gz";
sha256 = "1g1170zmh5v7slnm1sm2d08jgz6icikf8rm17apm1bjzzyw1lhk7";
};

preConfigure = ''
@@ -22,11 +23,12 @@ stdenv.mkDerivation rec {
buildInputs = [ libxkbcommon pango cairo git bison flex librsvg check
libstartup_notification libxcb xcbutil xcbutilwm xcbutilxrm which
];

doCheck = false;

meta = with stdenv.lib; {
meta = with lib; {
description = "Window switcher, run dialog and dmenu replacement";
homepage = https://github.com/davatorium/rofi;
homepage = "https://github.com/davatorium/rofi";
license = licenses.mit;
maintainers = with maintainers; [ mbakke ma27 ];
platforms = with platforms; linux;
4 changes: 3 additions & 1 deletion pkgs/applications/misc/rofi/wrapper.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,9 @@

if theme == null then rofi-unwrapped else
stdenv.mkDerivation {
name = "rofi-${rofi-unwrapped.version}";
pname = "rofi";
version = rofi-unwrapped.version;

buildInputs = [ makeWrapper ];
preferLocalBuild = true;
passthru.unwrapped = rofi-unwrapped;
2 changes: 1 addition & 1 deletion pkgs/applications/networking/browsers/firefox/wrapper.nix
Original file line number Diff line number Diff line change
@@ -28,12 +28,12 @@ let
, extraPlugins ? []
, extraNativeMessagingHosts ? []
, gdkWayland ? false
, cfg ? config.${browserName} or {}
}:

assert gdkWayland -> (browser ? gtk3); # Can only use the wayland backend if gtk3 is being used

let
cfg = config.${browserName} or {};
enableAdobeFlash = cfg.enableAdobeFlash or false;
ffmpegSupport = browser.ffmpegSupport or false;
gssSupport = browser.gssSupport or false;
21 changes: 11 additions & 10 deletions pkgs/applications/networking/browsers/opera/default.nix
Original file line number Diff line number Diff line change
@@ -13,6 +13,7 @@
, glib
, gnome2
, gtk3
, lib
, libX11
, libxcb
, libXScrnSaver
@@ -39,10 +40,9 @@

let

mirror = https://get.geo.opera.com/pub/opera/desktop;
version = "60.0.3255.170";
mirror = "https://get.geo.opera.com/pub/opera/desktop";

rpath = stdenv.lib.makeLibraryPath [
rpath = lib.makeLibraryPath [

# These provide shared libraries loaded when starting. If one is missing,
# an error is shown in stderr.
@@ -90,13 +90,14 @@ let
at-spi2-core
];

in stdenv.mkDerivation {
in stdenv.mkDerivation rec {

name = "opera-${version}";
pname = "opera";
version = "62.0.3331.43";

src = fetchurl {
url = "${mirror}/${version}/linux/opera-stable_${version}_amd64.deb";
sha256 = "04bcy9qhrhps3712k229yn58ak2j93wcp613zd6l2zxb8a286991";
url = "${mirror}/${version}/linux/${pname}-stable_${version}_amd64.deb";
sha256 = "0zylg32zn6blkgy4bwmjzc26i712lwakahvrd24ncpfa8805f7x7";
};

unpackCmd = "${dpkg}/bin/dpkg-deb -x $curSrc .";
@@ -118,10 +119,10 @@ in stdenv.mkDerivation {
done
'';

meta = {
homepage = https://www.opera.com;
meta = with lib; {
homepage = "https://www.opera.com";
description = "Web browser";
platforms = [ "x86_64-linux" ];
license = stdenv.lib.licenses.unfree;
license = licenses.unfree;
};
}
14 changes: 7 additions & 7 deletions pkgs/data/misc/adapta-backgrounds/default.nix
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{ stdenv, fetchFromGitHub, autoreconfHook }:
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, glib }:

stdenv.mkDerivation rec {
name = "adapta-backgrounds-${version}";
version = "0.5.2.3";
pname = "adapta-backgrounds";
version = "0.5.3.1";

src = fetchFromGitHub {
owner = "adapta-project";
repo = "adapta-backgrounds";
rev = version;
sha256 = "0n0ggcxinja81lasmpviqq3l4jiwb05bs8r5aah1im2zvls1g007";
sha256 = "04hmbmzf97rsii8gpwy3wkljy5xhxmlsl34d63s6hfy05knclydj";
};

nativeBuildInputs = [ autoreconfHook ];
nativeBuildInputs = [ meson ninja pkgconfig glib ];

meta = with stdenv.lib; {
description = "Wallpaper collection for adapta-project";
homepage = https://github.com/adapta-project/adapta-backgrounds;
homepage = "https://github.com/adapta-project/adapta-backgrounds";
license = with licenses; [ gpl2 cc-by-sa-40 ];
platforms = platforms.all;
maintainers = [ maintainers.romildo ];
maintainers = with maintainers; [ romildo ];
};
}
47 changes: 29 additions & 18 deletions pkgs/misc/vscode-extensions/cpptools/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{ stdenv, fetchzip, vscode-utils, jq, mono, clang-tools, writeScript, runtimeShell
{ stdenv, vscode-utils
, fetchurl, unzip
, mono, writeScript, runtimeShell
, jq, clang-tools
, gdbUseFixed ? true, gdb # The gdb default setting will be fixed to specified. Use version from `PATH` otherwise.
}:

@@ -30,25 +33,37 @@ assert gdbUseFixed -> null != gdb;
let
gdbDefaultsTo = if gdbUseFixed then "${gdb}/bin/gdb" else "gdb";

langComponentBinaries = stdenv.mkDerivation {
langComponentBinaries = stdenv.mkDerivation rec {
name = "cpptools-language-component-binaries";

src = fetchzip {
src = fetchurl {
# Follow https://go.microsoft.com/fwlink/?linkid=2037608
url = "https://download.visualstudio.microsoft.com/download/pr/97ed3eeb-b31e-421c-92dc-4f3a98af301e/069a1e6ab1b4b017853a7e9e08067744/bin_linux.zip";
sha256 = "19flm4vcrg89x0b20bd0g45apabzfqgvcpjddnmyk312jc242gmb";
url = "https://download.visualstudio.microsoft.com/download/pr/fd05d7fd-b771-4746-9c54-b5b30afcd82e/1f443716d6156a265bf50cb6e53fa999/bin_linux.zip";
sha256 = "198xnq709clibjmd8rrv0haniy2m3qvhn89hg9hpj6lvg9lsr7a4";
};

patchPhase = ''
elfInterpreter="${stdenv.glibc.out}/lib/ld-linux-x86-64.so.2"
patchelf --set-interpreter "$elfInterpreter" ./Microsoft.VSCode.CPP.Extension.linux
patchelf --set-interpreter "$elfInterpreter" ./Microsoft.VSCode.CPP.IntelliSense.Msvc.linux
chmod a+x ./Microsoft.VSCode.CPP.Extension.linux ./Microsoft.VSCode.CPP.IntelliSense.Msvc.linux
sourceRoot = name;

nativeBuildInputs = [ unzip ];

unpackPhase = ''
runHook preUnpack
unzip -d $name $src || true
runHook postUnpack
'';

installPhase = ''
runHook preInstall
mkdir -p "$out/bin"
find . -mindepth 1 -maxdepth 1 | xargs cp -a -t "$out/bin"
cp -a -t "$out/bin" ./bin/*
runHook postInstall
'';

postFixup = ''
elfInterpreter="$(cat $NIX_CC/nix-support/dynamic-linker)"
patchelf --set-interpreter "$elfInterpreter" $out/bin/Microsoft.VSCode.CPP.Extension.linux
patchelf --set-interpreter "$elfInterpreter" $out/bin/Microsoft.VSCode.CPP.IntelliSense.Msvc.linux
chmod a+x $out/bin/Microsoft.VSCode.CPP.Extension.linux $out/bin/Microsoft.VSCode.CPP.IntelliSense.Msvc.linux
'';
};

@@ -68,8 +83,8 @@ vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
name = "cpptools";
publisher = "ms-vscode";
version = "0.23.1";
sha256 = "08kfzvyl8vgjmhqzpp7pxw0gd87jr5g7z15ag4cpcil4inq4c8k3";
version = "0.24.0";
sha256 = "0b0rwj3aadd4kf561zpzv95r96dqvhkn7db8d7rz3naaqydz0z8i";
};

buildInputs = [
@@ -80,16 +95,12 @@ vscode-utils.buildVscodeMarketplaceExtension {
mv ./package.json ./package_ori.json
# 1. Add activation events so that the extension is functional. This listing is empty when unpacking the extension but is filled at runtime.
# 2. Patch `packages.json` so that nix's *gdb* is used as default value for `miDebuggerPath`.
# 2. Patch `package.json` so that nix's *gdb* is used as default value for `miDebuggerPath`.
cat ./package_ori.json | \
jq --slurpfile actEvts ${./package-activation-events.json} '(.activationEvents) = $actEvts[0]' | \
jq '(.contributes.debuggers[].configurationAttributes | .attach , .launch | .properties.miDebuggerPath | select(. != null) | select(.default == "/usr/bin/gdb") | .default) = "${gdbDefaultsTo}"' > \
./package.json
# Patch `packages.json` so that nix's *gdb* is used as default value for `miDebuggerPath`.
substituteInPlace "./package.json" \
--replace "\"default\": \"/usr/bin/gdb\"" "\"default\": \"${gdbDefaultsTo}\""
# Prevent download/install of extensions
touch "./install.lock"
19 changes: 9 additions & 10 deletions pkgs/tools/admin/eksctl/default.nix
Original file line number Diff line number Diff line change
@@ -1,33 +1,32 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:

buildGoPackage rec {
buildGoModule rec {
pname = "eksctl";
version = "0.1.38";
version = "0.1.39";

src = fetchFromGitHub {
owner = "weaveworks";
repo = "eksctl";
rev = version;
sha256 = "1nhsy4d1a1vh7g2ibcxnzgxnldfyh51hiq4v4vy123487b6ndqd0";
sha256 = "11y2pb5jn64v89a9hwi25rakrnsvhyjyr8kdrjk81d6hhrfkz3g0";
};

goPackagePath = "github.com/weaveworks/eksctl";
modSha256 = "1lmkwx0r19c2wg9nm85k92nlxjzr8q917jf3f333yf3csfyiix2f";

subPackages = [ "cmd/eksctl" ];

buildFlags =
''
-ldflags=-s
-ldflags=-w
-tags netgo
-tags release
'';

postInstall =
''
mkdir -p "$bin/share/"{bash-completion/completions,zsh/site-functions}
$bin/bin/eksctl completion bash > "$bin/share/bash-completion/completions/eksctl"
$bin/bin/eksctl completion zsh > "$bin/share/zsh/site-functions/_eksctl"
mkdir -p "$out/share/"{bash-completion/completions,zsh/site-functions}
$out/bin/eksctl completion bash > "$out/share/bash-completion/completions/eksctl"
$out/bin/eksctl completion zsh > "$out/share/zsh/site-functions/_eksctl"
'';

meta = with lib; {