diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-07-04 17:21:33 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-07-04 17:53:02 +0200 |
commit | 8d4068d9d16178d1454b9219d6319bf755c98dd3 (patch) | |
tree | 8f51b11aa7a4fbc10dd4a4cb918ab5ea393c9f6b /pkgs/top-level/make-tarball.nix | |
parent | 67d0a57ef9eedde69192e08db77751c1c1062e0e (diff) |
pkgs/top-level/release.nix: Don't require Darwin to be supported
Diffstat (limited to 'pkgs/top-level/make-tarball.nix')
-rw-r--r-- | pkgs/top-level/make-tarball.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/top-level/make-tarball.nix b/pkgs/top-level/make-tarball.nix index ccd7b89fc12d..f7f128547bae 100644 --- a/pkgs/top-level/make-tarball.nix +++ b/pkgs/top-level/make-tarball.nix @@ -42,7 +42,7 @@ releaseTools.sourceTarball rec { echo 'abort "Illegal use of <nixpkgs> in Nixpkgs."' > $TMPDIR/barf.nix - # Make sure that Nixpkgs does not use <nixpkgs> + # Make sure that Nixpkgs does not use <nixpkgs>. badFiles=$(find pkgs -type f -name '*.nix' -print | xargs grep -l '^[^#]*<nixpkgs\/' || true) if [[ -n $badFiles ]]; then echo "Nixpkgs is not allowed to use <nixpkgs> to refer to itself." @@ -101,7 +101,7 @@ releaseTools.sourceTarball rec { stopNest header "checking find-tarballs.nix" - nix-instantiate --eval --strict --show-trace --json \ + nix-instantiate --readonly-mode --eval --strict --show-trace --json \ ./maintainers/scripts/find-tarballs.nix \ --arg expr 'import ./maintainers/scripts/all-tarballs.nix' > $TMPDIR/tarballs.json nrUrls=$(jq -r '.[].url' < $TMPDIR/tarballs.json | wc -l) |