From 81ed6ee20199e99d3f22bfcbd49eafc678608fc0 Mon Sep 17 00:00:00 2001 From: regnat Date: Mon, 20 Sep 2021 14:37:09 +0200 Subject: [PATCH] flake: Use the real nixUnstable from nixpkgs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don’t let it pick our overriden lowdown as that would cause it not to be cached in cache.nixos.org --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 9b737b850..5f77e42d1 100644 --- a/flake.nix +++ b/flake.nix @@ -259,11 +259,11 @@ # 'nix.perl-bindings' packages. overlay = final: prev: { - # An older version of Nix to test against when using the daemon. - # Currently using `nixUnstable` as the stable one doesn't respect - # `NIX_DAEMON_SOCKET_PATH` which is needed for the tests. nixStable = prev.nix; + # Forward from the previous stage as we don’t want it to pick the lowdown override + nixUnstable = prev.nixUnstable; + nix = with final; with commonDeps pkgs; stdenv.mkDerivation { name = "nix-${version}"; inherit version;