Skip to content

Commit

Permalink
nixUnstable: 1.12pre5152_915f62fa -> 1.12pre5308_2f21d522
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Apr 28, 2017
1 parent c03d1df commit e042db5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkgs/tools/package-management/nix/default.nix
@@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, fetchFromGitHub, perl, curl, bzip2, sqlite, openssl ? null, xz
, pkgconfig, boehmgc, perlPackages, libsodium, aws-sdk-cpp, brotli
, pkgconfig, boehmgc, perlPackages, libsodium, aws-sdk-cpp, brotli, readline
, autoreconfHook, autoconf-archive, bison, flex, libxml2, libxslt, docbook5, docbook5_xsl
, storeDir ? "/nix/store"
, stateDir ? "/nix/var"
Expand All @@ -22,7 +22,7 @@ let

buildInputs = [ curl openssl sqlite xz ]
++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium
++ lib.optional fromGit brotli # Since 1.12
++ lib.optionals fromGit [ brotli readline ] # Since 1.12
++ lib.optional ((stdenv.isLinux || stdenv.isDarwin) && lib.versionAtLeast version "1.12pre")
(aws-sdk-cpp.override {
apis = ["s3"];
Expand Down Expand Up @@ -145,12 +145,12 @@ in rec {

nixUnstable = (lib.lowPrio (common rec {
name = "nix-1.12${suffix}";
suffix = "pre5152_915f62fa";
suffix = "pre5308_2f21d522";
src = fetchFromGitHub {
owner = "NixOS";
repo = "nix";
rev = "915f62fa19790d8f826aeb4dd3d2bb5bde2f67e9";
sha256 = "0mf7y7hvzw2x5dp482qy8774djr3vzcjaqq58cp82zdil8l7kwjd";
rev = "2f21d522c28b1e902bd7f0b5b9e7523975102d81";
sha256 = "1r3jxz0ydnlxp4b3ggxjgx1q9dv7jyfjm8w1srqjanzn944wnmi9";
};
fromGit = true;
})) // { perl-bindings = perl-bindings { nix = nixUnstable; }; };
Expand Down

3 comments on commit e042db5

@elitak
Copy link
Contributor

@elitak elitak commented on e042db5 May 3, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My nix-daemon doesn't start anymore:

    nix-daemon[1020]: error: $XDG_CONFIG_HOME and $HOME are not set

That's the only error in the log. Reverting this change fixes everything. Is this version bugged? I'm using nix = pkgs.nixUnstable in my configuration.nix.

@edolstra
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fixed upstream by NixOS/nix#1366.

@elitak
Copy link
Contributor

@elitak elitak commented on e042db5 May 3, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, thanks.

Please sign in to comment.