Comments (7)
I checked your config and seems like i have quick-fix for you
Just add unstable channel
sudo nix-channel --add "https://nixos.org/channels/nixpkgs-unstable" unstable
And then in your configuration.nix
nixpkgs.overlays = [
(self: super:
with super; {
my = {
unstable = import <unstable> { inherit config; };
})
];
Now you can access unstable via pkgs.unstable, this is exactly what we need because we want install xmonad from unstable channel( especially xmonad-contrib, which is only 0.15 version on stable channel )
And all you have to do is to set xmonad.haskellPackages to use unstable channel:
services.xserver.windowManager.xmonad.haskellPackages = pkgs.unstable.haskellPackages;
from dotfiles.
While i was writing this i noticed "xmonad-contrib_0_16" package, but i still recommend to install xmonad from unstable so as not to wait for releases for a long time.
from dotfiles.
Thanks so much for reaching out!
I added the unstable channel, and added the following in to my configuration.nix
:
nixpkgs.overlays = [
(self: super:
with super; {
my = {
unstable = import <unstable> { inherit config; };
};}) ### trivial fix here
];
services.xserver.windowManager.xmonad.haskellPackages = pkgs.unstable.haskellPackages;
But it seems that unstable.HaskellPackages
does not exist, as suggested by the error message:
attribute 'unstable' missing, at..
I've also tried pkgs.haskellPackages.unstable
and pkgs.unstableHaskellPackages
without luck.
I should say I'm very new to nixOS. There might be an easy fix that I don't know. I will level up my skills and come back later :) Thank you!
from dotfiles.
Well, seems like it's just my typo
Try this, should work
nixpkgs.overlays = [
(self: super:
with super; {
unstable = import <unstable> { inherit config; };
})
];
from dotfiles.
That solves this particular issue. Thank you.
Though there's another complaint of not finding this package, I should close this as it's another issue.
from dotfiles.
Add gloss to haskellPackages and all must compile
from dotfiles.
Compiled. Wow. Gorgeous 👍
from dotfiles.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotfiles.