Skip to content

Build of Haskell's evdev fails #189673

@tannerlegvold

Description

@tannerlegvold

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix-shell -p haskellPackages.evdev
    or
export NIXPKGS_ALLOW_BROKEN=1
nix-shell -p haskellPackages.evdev

Build log

Heres the output of nix-shell -p haskellPackages.evdev (without setting NIXPKGS_ALLOW_BROKEN)

error: Package ‘evdev-2.1.0’ in /nix/store/5ahhafra1z3r1acp7n5lcgdyjbfgihj6-nixpkgs/nixpkgs/pkgs/development/haskell-modules/hackage-packages.nix:90322 is marked as broken, refusing to evaluate.

       a) To temporarily allow broken packages, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_BROKEN=1

        Note: For `nix shell`, `nix build`, `nix develop` or any other Nix 2.4+
        (Flake) command, `--impure` must be passed in order to read this
        environment variable.

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

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowBroken = true; }
       to ~/.config/nixpkgs/config.nix.
(use '--show-trace' to show detailed location information)

If you set export NIXPKGS_ALLOW_BROKEN=1 then the output gets larger, but you can see at the end the build failure is due to a failed test called smoke.

Additional context

I'm basically requesting that test be temporarily removed, it may not run properly because of some feature of the build environment, at least according to the maintainer @georgefst. We discussed this here.

Notify maintainers

@georgefst

Metadata

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.0-47-generic, Ubuntu, 22.04.1 LTS (Jammy Jellyfish), nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.9.1`
 - channels(tanner): `""`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failureA package fails to build6.topic: haskellGeneral-purpose, statically typed, purely functional programming language
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions