Skip to content

bug: XMonad wants ghc (and cabal) when configuration is a cabal project #9394

@leana8959

Description

@leana8959

Are you following the right branch?

  • My Nixpkgs and Home Manager versions are in sync

Is there an existing issue for this?

  • I have searched the existing issues

Issue description

Since XMonad 0.18.1, specifically commit 30d3f715, XMonad wants to use cabal to compile the configuration if there is a .cabal in the folder.

As of now ghc and cabal is needed in home.packages for XMonad to be able to compile itself. xmonad executable (or at least its wrapped form) should be wrapped and self contained.

Maintainer CC

There's no maintainer :(

System information

 - system: `"x86_64-linux"`
 - host os: `Linux 7.0.10, NixOS, 26.05 (Yarara), 26.05beta1.705e9929918b`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Lix, like Nix) 2.95.2
System type: x86_64-linux
Additional system types: aarch64-linux, i686-linux
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /home/leana/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/leana/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/leana/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/leana/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/p2hwi96xf5iwc719jspcn1c0dh3sn7rp-lix-2.95.2/share`
 - nixpkgs: `/nix/store/466jfyziaas1kdwmz5zlhhvp1nzrrly4-source`

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtriageIssues or feature request that have not been triaged yet

    Type

    No type
    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