From 5e8545e72341887bb371407a71a723bc0e9c7844 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 29 Mar 2020 20:14:15 +0200 Subject: make-tarball.nix: Restore the 'commit' field in packages.json Also change incorrect 'revision' to 'rev' in the default value for 'nixpkgs' in release.nix. Fixes https://github.com/NixOS/nixos-homepage/issues/372. --- doc/doc-support/lib-function-locations.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/doc-support/lib-function-locations.nix') diff --git a/doc/doc-support/lib-function-locations.nix b/doc/doc-support/lib-function-locations.nix index 68edd270985..53a96bc2659 100644 --- a/doc/doc-support/lib-function-locations.nix +++ b/doc/doc-support/lib-function-locations.nix @@ -1,6 +1,6 @@ { pkgs ? (import ./.. { }), nixpkgs ? { }}: let - revision = pkgs.lib.trivial.revisionWithDefault (nixpkgs.revision or "master"); + revision = pkgs.lib.trivial.revisionWithDefault (nixpkgs.rev or "master"); libDefPos = set: builtins.map -- cgit 1.4.1