Usage with qtile
See original GitHub issueHello! Me again! Sorry about that! 😅
I’d like to custom-build the python-based qtile
window manager, but I don’t quite know how to override or merge the derivation below with the default package; with xonsh
, there was the package
option, but there’s nothing similar for qtile
.
let
# mach-nix = import (builtins.fetchGit {
# url = "https://github.com/DavHau/mach-nix/";
# ref = "refs/tags/2.3.0";
# });
mach-nix = import ../../extras/mach-nix;
pkgs = mach-nix.nixpkgs;
# build the xonsh package similar like in nixpkgs
qtile_pkg = with pkgs.qtile; mach-nix.buildPythonPackage {
inherit src LC_ALL postPatch postInstall passthru;
# inherit src LC_ALL postPatch postInstall passthru pythonPath;
add_requirements = ''
# cairocffi-xcffib
cairocffi
setuptools
setuptools_scm
xcffib
# From https://github.com/NixOS/nixpkgs/issues/45039
dateutil
dbus-python
iwlib
keyring
mpd2
psutil
pythonwifi
pyxdg
# add requirements here
# ...
'';
};
# build environment with xonsh + python packages from arbitrary sources
qtile_env = mach-nix.mkPython {
extra_pkgs = [
qtile_pkg
"https://gitlab.com/picotech/nanotech/nanite/-/archive/master/nanite-master.tar.gz"
];
};
# wrap it again to set the passthru variable correctly
qtile_wm = with pkgs.qtile; pkgs.buildEnv {
inherit name passthru;
paths = [ qtile_env ];
};
in qtile_wm
Thank you kindly for the help!
Issue Analytics
- State:
- Created 3 years ago
- Comments:52 (52 by maintainers)
Top Results From Across the Web
Everything you need to know about Qtile — Qtile 0.22.2.dev0+ ...
Everything you need to know about Qtile¶. Getting started¶. Installing Qtile · Configuration · Troubleshooting · As a Wayland Compositor · Shell commands ......
Read more >Qtile - ArchWiki
Qtile is simple, small, and extensible. It is easy to write your own layouts, widgets, and built-in commands. It is written and configured...
Read more >Qtile - Getting Started And Setting Workspaces - YouTube
Are you wanting to try out the Qtile tiling window manager but you are ... https://gitlab.com/dwt1 FREE AND OPEN SOURCE SOFTWARE THAT I...
Read more >Qtile - Gentoo Wiki
Qtile · 1 Installation. 1.1 USE flags; 1.2 Emerge · 2 Qtile as a Wayland Compositor. 2.1 Support for X11 applications (XWayland) ·...
Read more >Qtile Documentation - Read the Docs
All widget-* useflags are disabled by default because these widgets require additional dependencies while not everyone will use them. Enable only widgets you ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No worries. Always happy to help. Looking forward to merge your examples!
Looks fine to me. Didn’t test though
On October 4, 2020 2:32:57 AM GMT+07:00, Jeet Ray notifications@github.com wrote:
– Sent from my Android device with K-9 Mail. Please excuse my brevity.