mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
release-checks: Prevent meta.problem warnings
CI already catches problematic uses, we don't need to bother about them here
This commit is contained in:
parent
a90d993610
commit
8fa1b2e979
1 changed files with 3 additions and 3 deletions
|
|
@ -56,7 +56,7 @@ pkgs.runCommand "nixpkgs-release-checks"
|
|||
set -x
|
||||
nix-env -f $src \
|
||||
--show-trace --argstr system "$platform" \
|
||||
--arg config '{ allowAliases = false; allowDeprecatedx86_64Darwin = true; }' \
|
||||
--arg config '{ lib, pkgs }: { problems.matchers = lib.mkForce [ ]; allowAliases = false; allowDeprecatedx86_64Darwin = true; }' \
|
||||
--option lint-url-literals fatal \
|
||||
-qa --drv-path --system-filter \* --system \
|
||||
"''${opts[@]}" 2> eval-warnings.log > packages1
|
||||
|
|
@ -72,7 +72,7 @@ pkgs.runCommand "nixpkgs-release-checks"
|
|||
|
||||
nix-env -f $src2 \
|
||||
--show-trace --argstr system "$platform" \
|
||||
--arg config '{ allowAliases = false; allowDeprecatedx86_64Darwin = true; }' \
|
||||
--arg config '{ lib, pkgs }: { problems.matchers = lib.mkForce [ ]; allowAliases = false; allowDeprecatedx86_64Darwin = true; }' \
|
||||
--option lint-url-literals fatal \
|
||||
-qa --drv-path --system-filter \* --system \
|
||||
"''${opts[@]}" > packages2
|
||||
|
|
@ -95,7 +95,7 @@ pkgs.runCommand "nixpkgs-release-checks"
|
|||
|
||||
nix-env -f $src \
|
||||
--show-trace --argstr system "$platform" \
|
||||
--arg config '{ allowAliases = false; allowDeprecatedx86_64Darwin = true; }' \
|
||||
--arg config '{ lib, pkgs }: { problems.matchers = lib.mkForce [ ]; allowAliases = false; allowDeprecatedx86_64Darwin = true; }' \
|
||||
--option lint-url-literals fatal \
|
||||
-qa --drv-path --system-filter \* --system --meta --xml \
|
||||
"''${opts[@]}" > /dev/null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue