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: 8f33fb518353
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: 5e4ee83396c6
Choose a head ref
  • 14 commits
  • 10 files changed
  • 13 contributors

Commits on Apr 22, 2019

  1. gitflow: 1.11.0.-> 1.12.2

    woffs committed Apr 22, 2019
    Copy the full SHA
    a5f4a13 View commit details

Commits on Apr 23, 2019

  1. Copy the full SHA
    dabf78f View commit details
  2. Copy the full SHA
    fa06972 View commit details
  3. Fix #60125 - buildRustCrate: Always set CARGO_PKG_VERSION_PRE and CAR…

    …GO_PKG_HOMEPAGE
    
    (as cargo does)
    kolloch committed Apr 23, 2019
    Copy the full SHA
    61ac550 View commit details

Commits on Apr 24, 2019

  1. Copy the full SHA
    e452aa0 View commit details
  2. libssh: don't use multiple outputs

    Makes cmake files point to the correct output
    for libs and corrects the Cflags in the .pc
    file.
    
    Fixes #60036
    worldofpeace committed Apr 24, 2019
    Copy the full SHA
    0154d51 View commit details
  3. Merge pull request #60141 from xrelkd/update/youtube-dl

    youtube-dl: 2019.04.17 -> 2019.04.24
    worldofpeace authored Apr 24, 2019
    Copy the full SHA
    0747a46 View commit details
  4. Merge pull request #60040 from woffs/gitflow-1.12.2

    gitflow: 1.11.0 -> 1.12.2
    marsam authored Apr 24, 2019
    Copy the full SHA
    1e8ebd9 View commit details
  5. Merge pull request #60099 from Izorkin/php-packages-prefix

    phpPackages: add prefix 'php-' to packages
    etu authored Apr 24, 2019
    Copy the full SHA
    0620e0f View commit details
  6. Copy the full SHA
    9fa0974 View commit details
  7. Copy the full SHA
    f61cadb View commit details
  8. Merge pull request #60145 from codedownio/julia-mtime-patch

    Patch Julia to not recompile packages when mtime is 1
    7c6f434c authored Apr 24, 2019
    Copy the full SHA
    ccd7aed View commit details
  9. buildRustCrate: Fix #60125 - Always set additional env variables duri…

    …ng build (#60127)
    
    buildRustCrate: Fix #60125 -  Always set additional env variables during build
    dywedir authored Apr 24, 2019
    Copy the full SHA
    0e6ae0b View commit details
  10. Merge pull request #60066 from teto/cmd2

    python3Packages.cmd2: 0.9.11 -> 0.9.12
    Matthieu Coudron authored Apr 24, 2019
    Copy the full SHA
    5e4ee83 View commit details
Original file line number Diff line number Diff line change
@@ -4,14 +4,14 @@ with pkgs.lib;

stdenv.mkDerivation rec {
pname = "gitflow";
version = "1.11.0";
version = "1.12.2";
name = "${pname}-${version}";

src = fetchFromGitHub {
owner = "petervanderdoes";
repo = pname;
rev = version;
sha256 = "0zk53g0wd5n1zlhkwlfp124i6agx8kl0cwvy0dia3jh1p51vsc1q";
sha256 = "0smwlc1wa4ndvspc9x6f4jwnzr58achysrhhip402j98d7di8hw5";
};

buildInputs = [ pkgs.makeWrapper ];
6 changes: 3 additions & 3 deletions pkgs/build-support/rust/build-rust-crate/configure-crate.nix
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@
, completeDeps
, crateAuthors
, crateDescription
, crateHomepage
, crateFeatures
, crateName
, crateVersion
@@ -91,12 +92,11 @@ in ''
export CARGO_PKG_VERSION_MAJOR=${builtins.elemAt version 0}
export CARGO_PKG_VERSION_MINOR=${builtins.elemAt version 1}
export CARGO_PKG_VERSION_PATCH=${builtins.elemAt version 2}
export CARGO_PKG_VERSION_PRE="${versionPre}"
export CARGO_PKG_HOMEPAGE="${crateHomepage}"
export NUM_JOBS=1
export RUSTC="rustc"
export RUSTDOC="rustdoc"
if [[ -n "${versionPre}" ]]; then
export CARGO_PKG_VERSION_PRE="${versionPre}"
fi
BUILD=""
if [[ ! -z "${build}" ]] ; then
3 changes: 2 additions & 1 deletion pkgs/build-support/rust/build-rust-crate/default.nix
Original file line number Diff line number Diff line change
@@ -131,6 +131,7 @@ stdenv.mkDerivation (rec {
crateVersion = crate.version;
crateDescription = crate.description or "";
crateAuthors = if crate ? authors && lib.isList crate.authors then crate.authors else [];
crateHomepage = crate.homepage or "";
crateType =
if lib.attrByPath ["procMacro"] false crate then ["proc-macro"] else
if lib.attrByPath ["plugin"] false crate then ["dylib"] else
@@ -144,7 +145,7 @@ stdenv.mkDerivation (rec {
inherit crateName buildDependencies completeDeps completeBuildDeps crateDescription
crateFeatures libName build workspace_member release libPath crateVersion
extraLinkFlags extraRustcOpts
crateAuthors verbose colors target_os;
crateAuthors crateHomepage verbose colors target_os;
};
buildPhase = buildCrate {
inherit crateName dependencies
25 changes: 25 additions & 0 deletions pkgs/development/compilers/julia/allow_nix_mtime.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From f79775378a9eeec5b99f18cc95735b12d172aba3 Mon Sep 17 00:00:00 2001
From: Tom McLaughlin <pyro777@gmail.com>
Date: Wed, 12 Dec 2018 13:01:32 -0800
Subject: [PATCH] Patch to make work better with nix

---
base/loading.jl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/loading.jl b/base/loading.jl
index 51201b98b6..b40c0690f6 100644
--- a/base/loading.jl
+++ b/base/loading.jl
@@ -1384,7 +1384,7 @@ function stale_cachefile(modpath::String, cachefile::String)
# Issue #13606: compensate for Docker images rounding mtimes
# Issue #20837: compensate for GlusterFS truncating mtimes to microseconds
ftime = mtime(f)
- if ftime != ftime_req && ftime != floor(ftime_req) && ftime != trunc(ftime_req, digits=6)
+ if ftime != ftime_req && ftime != floor(ftime_req) && ftime != trunc(ftime_req, digits=6) && ftime != 1.0
@debug "Rejecting stale cache file $cachefile (mtime $ftime_req) because file $f (mtime $ftime) has changed"
return true
end
--
2.17.1

6 changes: 6 additions & 0 deletions pkgs/development/compilers/julia/shared.nix
Original file line number Diff line number Diff line change
@@ -97,6 +97,12 @@ stdenv.mkDerivation rec {

patches = [
./0001.1-use-system-utf8proc.patch

# Julia recompiles a precompiled file if the mtime stored *in* the
# .ji file differs from the mtime of the .ji file. This
# doesn't work in Nix because Nix changes the mtime of files in
# the Nix store to 1. So patch Julia to accept mtimes of 1.
./allow_nix_mtime.patch
];

postPatch = ''
4 changes: 2 additions & 2 deletions pkgs/development/coq-modules/tlc/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, coq }:

stdenv.mkDerivation rec {
version = "20180316";
version = "20181116";
name = "coq${coq.coq-version}-tlc-${version}";

src = fetchurl {
url = "http://tlc.gforge.inria.fr/releases/tlc-${version}.tar.gz";
sha256 = "0y8h0x9dfn9dm60j1jkxr9i8lbfqd3ff626wrc9v49qxhi50szqq";
sha256 = "0iv6f6zmrv2lhq3xq57ipmw856ahsql754776ymv5wjm88ld63nm";
};

buildInputs = [ coq ];
3 changes: 2 additions & 1 deletion pkgs/development/libraries/libssh/default.nix
Original file line number Diff line number Diff line change
@@ -13,7 +13,8 @@ stdenv.mkDerivation rec {
sed -i 's,nacl/,sodium/,g' ./include/libssh/curve25519.h src/curve25519.c
'';

outputs = [ "out" "dev" ];
# single output, otherwise cmake and .pc files point to the wrong directory
# outputs = [ "out" "dev" ];

buildInputs = [ zlib openssl libsodium ];

4 changes: 2 additions & 2 deletions pkgs/development/python-modules/cmd2/default.nix
Original file line number Diff line number Diff line change
@@ -6,11 +6,11 @@
}:
buildPythonPackage rec {
pname = "cmd2";
version = "0.9.11";
version = "0.9.12";

src = fetchPypi {
inherit pname version;
sha256 = "0hjj587dwnl5767wbl875vglvdr1f5z5jzb5wliip78lbyq3b8rl";
sha256 = "14pyvihikml1z7q21q9cvdfxvvlf8lhbaasj05hpiq6fjyvd7zsc";
};

LC_ALL="en_US.UTF-8";
4 changes: 2 additions & 2 deletions pkgs/tools/misc/youtube-dl/default.nix
Original file line number Diff line number Diff line change
@@ -19,11 +19,11 @@ buildPythonPackage rec {
# The websites youtube-dl deals with are a very moving target. That means that
# downloads break constantly. Because of that, updates should always be backported
# to the latest stable release.
version = "2019.04.17";
version = "2019.04.24";

src = fetchurl {
url = "https://yt-dl.org/downloads/${version}/${pname}-${version}.tar.gz";
sha256 = "0dznw06qbb75glzirhnsbsd5xqix08jxdngbd21wndxcj1yq5y8a";
sha256 = "1kzz3y2q6798mwn20i69imf48kb04gx3rznfl06hb8qv5zxm9gqz";
};

nativeBuildInputs = [ makeWrapper ];
4 changes: 2 additions & 2 deletions pkgs/top-level/php-packages.nix
Original file line number Diff line number Diff line change
@@ -342,7 +342,7 @@ let

phpstan = pkgs.stdenv.mkDerivation rec {
version = "0.11.5";
pname = "phpstan";
pname = "php-phpstan";

src = pkgs.fetchurl {
url = "https://github.com/phpstan/phpstan/releases/download/${version}/phpstan.phar";
@@ -376,7 +376,7 @@ let

psysh = pkgs.stdenv.mkDerivation rec {
version = "0.9.9";
pname = "psysh";
pname = "php-psysh";

src = pkgs.fetchurl {
url = "https://github.com/bobthecow/psysh/releases/download/v${version}/psysh-v${version}.tar.gz";