~aasg/nixexprs

4b5399b1f065b1ba2703e84ac96827ab9b47c5e7 — Aluísio Augusto Silva Gonçalves 4 months ago 6b73314
ci: Don't rely on `meta.platforms` being set

This should've been part of 30ebec151835, which applies the same change
to flake.nix.
1 files changed, 2 insertions(+), 2 deletions(-)

M ci.nix
M ci.nix => ci.nix +2 -2
@@ 8,9 8,9 @@ let
      derivationTree = value:
        # Output derivations directly, but only if they're compatible
        # with this platform.
        if isDerivation value && builtins.elem pkgs.system value.meta.platforms
        if isDerivation value && builtins.elem pkgs.system (value.meta.platforms or [ pkgs.system ])
        then value
        else if value ? recurseForDerivations && value.recurseForDerivations == true
        else if value.recurseForDerivations or false
        then
          pipe value [
            # Don't evaluate linuxPackages outside Linux, or it will