Skip to content

Comments

lnav: 0.12.2 -> 0.12.3#358117

Merged
Ma27 merged 2 commits intoNixOS:masterfrom
Atemu:update/lnav
Nov 22, 2024
Merged

lnav: 0.12.2 -> 0.12.3#358117
Ma27 merged 2 commits intoNixOS:masterfrom
Atemu:update/lnav

Conversation

@Atemu
Copy link
Member

@Atemu Atemu commented Nov 22, 2024

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@Ma27 Ma27 merged commit f58a54e into NixOS:master Nov 22, 2024
@Atemu Atemu deleted the update/lnav branch November 22, 2024 15:14
@github-actions
Copy link
Contributor

Successfully created backport PR for release-24.11:

@deftdawg
Copy link
Contributor

This is broken on darwin (I'm on aarch64-apple-darwin) because of gpm-unstable-2020-06-17, 0.12.2 is fine on Darwin

error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:34:12:
           33|
           34|   strict = derivationStrict drvAttrs;
             |            ^
           35|

       … while evaluating derivation 'lnav-0.12.3'
         whose name attribute is located at /nix/store/d8db0cwn7dsnr7vd4xzj3jlw0s6sja8x-source/pkgs/stdenv/generic/make-derivation.nix:336:7

       … while evaluating attribute 'buildInputs' of derivation 'lnav-0.12.3'
         at /nix/store/d8db0cwn7dsnr7vd4xzj3jlw0s6sja8x-source/pkgs/stdenv/generic/make-derivation.nix:383:7:
          382|       depsHostHost                = elemAt (elemAt dependencies 1) 0;
          383|       buildInputs                 = elemAt (elemAt dependencies 1) 1;
             |       ^
          384|       depsTargetTarget            = elemAt (elemAt dependencies 2) 0;

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: Package ‘gpm-unstable-2020-06-17’ in /nix/store/d8db0cwn7dsnr7vd4xzj3jlw0s6sja8x-source/pkgs/servers/gpm/default.nix:60 is not available on the requested hostPlatform:
         hostPlatform.config = "aarch64-apple-darwin"
         package.meta.platforms = [
           "aarch64-linux"
           "armv5tel-linux"
           "armv6l-linux"
           "armv7a-linux"
           "armv7l-linux"
           "i686-linux"
           "loongarch64-linux"
           "m68k-linux"
           "microblaze-linux"
           "microblazeel-linux"
           "mips-linux"
           "mips64-linux"
           "mips64el-linux"
           "mipsel-linux"
           "powerpc64-linux"
           "powerpc64le-linux"
           "riscv32-linux"
           "riscv64-linux"
           "s390-linux"
           "s390x-linux"
           "x86_64-linux"
           "i686-cygwin"
           "x86_64-cygwin"
         ]
         package.meta.badPlatforms = [ ]
       , refusing to evaluate.

       a) To temporarily allow packages that are unsupported for this system, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1

          Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
                then pass `--impure` in order to allow use of environment variables.

       b) For `nixos-rebuild` you can set
         { nixpkgs.config.allowUnsupportedSystem = true; }
       in configuration.nix to override this.

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowUnsupportedSystem = true; }
       to ~/.config/nixpkgs/config.nix.

@Atemu
Copy link
Member Author

Atemu commented Nov 27, 2024

This PR did not add any new dependencies; it cannot have caused your issue.

Feel free to open a PR to make that dependency optional and disabled by default on Darwin though.

@Atemu
Copy link
Member Author

Atemu commented Nov 27, 2024

This is the actual culprit: #357675

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants