diff --git a/pkgs/top-level/make-tarball.nix b/pkgs/top-level/make-tarball.nix index 93a833c994f..fb9c772d9ac 100644 --- a/pkgs/top-level/make-tarball.nix +++ b/pkgs/top-level/make-tarball.nix @@ -56,6 +56,11 @@ releaseTools.makeSourceTarball { -qa \* --drv-path --system-filter \* --system --meta --xml stopNest done + + header "checking eval-release.nix" + nix-instantiate --eval-only --strict --xml ./maintainers/scripts/eval-release.nix > $TMPDIR/out.xml + xmllint --noout $TMPDIR/out.xml + stopNest ''; distPhase = ''