about summary refs log tree commit diff
path: root/pkgs/top-level/release.nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-03-29 20:14:15 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-03-29 20:16:07 +0200
commit5e8545e72341887bb371407a71a723bc0e9c7844 (patch)
tree7b779c9f612912d291a0136c868a546ffa2e4dc4 /pkgs/top-level/release.nix
parent0dd5ccc742eab4332b98065af328275a21bf8ea5 (diff)
downloadnixlib-5e8545e72341887bb371407a71a723bc0e9c7844.tar
nixlib-5e8545e72341887bb371407a71a723bc0e9c7844.tar.gz
nixlib-5e8545e72341887bb371407a71a723bc0e9c7844.tar.bz2
nixlib-5e8545e72341887bb371407a71a723bc0e9c7844.tar.lz
nixlib-5e8545e72341887bb371407a71a723bc0e9c7844.tar.xz
nixlib-5e8545e72341887bb371407a71a723bc0e9c7844.tar.zst
nixlib-5e8545e72341887bb371407a71a723bc0e9c7844.zip
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.
Diffstat (limited to 'pkgs/top-level/release.nix')
-rw-r--r--pkgs/top-level/release.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/release.nix b/pkgs/top-level/release.nix
index e0723523f4e5..ca1343261dba 100644
--- a/pkgs/top-level/release.nix
+++ b/pkgs/top-level/release.nix
@@ -8,7 +8,7 @@
 
    $ nix-build pkgs/top-level/release.nix -A coreutils.x86_64-linux
 */
-{ nixpkgs ? { outPath = (import ../../lib).cleanSource ../..; revCount = 1234; shortRev = "abcdef"; revision = "0000000000000000000000000000000000000000"; }
+{ nixpkgs ? { outPath = (import ../../lib).cleanSource ../..; revCount = 1234; shortRev = "abcdef"; rev = "0000000000000000000000000000000000000000"; }
 , officialRelease ? false
   # The platforms for which we build Nixpkgs.
 , supportedSystems ? [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" ]