Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xmonad-extras no longer builds #43374

Closed
NeQuissimus opened this issue Jul 11, 2018 · 4 comments
Closed

xmonad-extras no longer builds #43374

NeQuissimus opened this issue Jul 11, 2018 · 4 comments

Comments

@NeQuissimus
Copy link
Member

NeQuissimus commented Jul 11, 2018

Issue description

Something weird is going on with xmonad-extras and because I am largely unfamiliar with the Haskell infrastructure, I don't really know how to fix it.
It requires xmonad as a dependency but seems unable to find it. (despite the derivation pulling it in)

λ nix-build -A haskellPackages.xmonad-extras
these derivations will be built:
  /nix/store/9vjsa89hi35bsmq02bn6j8l7xahadpmp-xmonad-extras-0.13.3.drv
building '/nix/store/9vjsa89hi35bsmq02bn6j8l7xahadpmp-xmonad-extras-0.13.3.drv'...
setupCompilerEnvironmentPhase
Build with /nix/store/v2qr71m53qpcgjkbc84iggr72f0zivhw-ghc-8.4.3.
ignoring (possibly broken) abi-depends field for packages
ignoring (possibly broken) abi-depends field for packages
unpacking sources
unpacking source archive /nix/store/1dmxj3wijxyls6gl3xyq050dq83xzaz5-xmonad-extras-0.13.3.tar.gz
source root is xmonad-extras-0.13.3
setting SOURCE_DATE_EPOCH to timestamp 1524256197 of file xmonad-extras-0.13.3/xmonad-extras.cabal
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/build/setup-package.conf.d -j4 -threaded
[1 of 1] Compiling Main             ( Setup.lhs, /build/Main.o )
Linking Setup ...
configuring
configureFlags: --verbose --prefix=/nix/store/jflkh8yfm3zmsm94a6h1nricai7ap86v-xmonad-extras-0.13.3 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --docdir=/nix/store/p0fl4wx03d2ali2fna50r84angfqzjvb-xmonad-extras-0.13.3-doc/share/doc/xmonad-extras-0.13.3 --with-gcc=gcc --package-db=/build/package.conf.d --ghc-option=-j4 --disable-split-objs --enable-library-profiling --profiling-detail=all-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --enable-library-vanilla --enable-library-for-ghci --ghc-option=-split-sections -f-with_hlist -fwith_parsec -fwith_split --extra-lib-dirs=/nix/store/q8rg4mca5zqv98arpxd7164pqa72hf1n-ncurses-6.1/lib --extra-lib-dirs=/nix/store/hhzvw77vrmn5f506kfyb1yh1sdinkbwf-gmp-6.1.2/lib
Using Parsec parser
Configuring xmonad-extras-0.13.3...
CallStack (from HasCallStack):
  die', called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:958:20 in Cabal-2.2.0.1:Distribution.Simple.Configure
  configureFinalizedPackage, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:462:12 in Cabal-2.2.0.1:Distribution.Simple.Configure
  configure, called at libraries/Cabal/Cabal/Distribution/Simple.hs:596:20 in Cabal-2.2.0.1:Distribution.Simple
  confHook, called at libraries/Cabal/Cabal/Distribution/Simple/UserHooks.hs:67:5 in Cabal-2.2.0.1:Distribution.Simple.UserHooks
  configureAction, called at libraries/Cabal/Cabal/Distribution/Simple.hs:178:19 in Cabal-2.2.0.1:Distribution.Simple
  defaultMainHelper, called at libraries/Cabal/Cabal/Distribution/Simple.hs:115:27 in Cabal-2.2.0.1:Distribution.Simple
  defaultMain, called at Setup.lhs:4:10 in main:Main
Setup: Encountered missing dependencies:
xmonad >=0.10 && <0.14

builder for '/nix/store/9vjsa89hi35bsmq02bn6j8l7xahadpmp-xmonad-extras-0.13.3.drv' failed with exit code 1
error: build of '/nix/store/9vjsa89hi35bsmq02bn6j8l7xahadpmp-xmonad-extras-0.13.3.drv' failed

Steps to reproduce

nix-build -A haskellPackages.xmonad-extras

Technical details

λ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 4.14.53, NixOS, 18.09pre145524.2a8a5533d18 (Jellyfish)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.0.4`
 - channels(root): `"nixos-18.09pre145679.dae9cf6106d"`
 - channels(nequi): `"unstable-18.09pre145524.2a8a5533d18"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Git checkout of master @ b34a147

@ikervagyok
Copy link
Contributor

@peti and @Ericson2314 updated some haskell infrastructure a few days ago. Maybe they know ;)

@peti
Copy link
Member

peti commented Jul 12, 2018

The whole xmonad ecosystem is in bad shape because the code is largely unmaintained and no updates get published. :-(

@peti peti closed this as completed in e65bdb9 Jul 12, 2018
@aakropotkin
Copy link
Contributor

aakropotkin commented Jul 13, 2018

Same
I just ran into this trying to put NixOS on my other box.
I thought at first I was missing something dumb in my dependencies but even a direct copy and pasted version of my configuration.nix results in a failure on the new machine.

If anyone has any leads let me know.

@NeQuissimus
Copy link
Member Author

@BadDecisionsAlex It's "fixed" now on master

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

No branches or pull requests

4 participants