Check whether Nixpkgs evaluates with NIXPKGS_ALLOW_BROKEN=1

This commit is contained in:
Eelco Dolstra 2014-08-22 20:23:29 +02:00
parent d0aceb402a
commit a147ddc42c

View File

@ -66,7 +66,7 @@ releaseTools.sourceTarball rec {
# Check that all-packages.nix evaluates on a number of platforms.
for platform in i686-linux x86_64-linux x86_64-darwin i686-freebsd x86_64-freebsd; do
header "checking pkgs/top-level/all-packages.nix on $platform"
nix-env -f pkgs/top-level/all-packages.nix \
NIXPKGS_ALLOW_BROKEN=1 nix-env -f pkgs/top-level/all-packages.nix \
--show-trace --argstr system "$platform" \
-qa \* --drv-path --system-filter \* --system --meta --xml > /dev/null
stopNest