Hack to fix tests.evalNixpkgs

This commit is contained in:
Eelco Dolstra 2019-05-11 01:48:33 +02:00
parent 68b17ef731
commit 5a80cccc70
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -268,7 +268,8 @@ let
tests.evalNixpkgs = tests.evalNixpkgs =
import (nixpkgs + "/pkgs/top-level/make-tarball.nix") { import (nixpkgs + "/pkgs/top-level/make-tarball.nix") {
inherit nixpkgs; # FIXME: fix pkgs/top-level/make-tarball.nix in NixOS to not require a revCount.
nixpkgs = nixpkgs // { revCount = 0; };
inherit pkgs; inherit pkgs;
nix = build.x86_64-linux; nix = build.x86_64-linux;
officialRelease = false; officialRelease = false;