forked from Shinonome/dots-hyprland
Update dist-nix (use unstable nixpkgs)
This commit is contained in:
@@ -3,6 +3,11 @@ let
|
||||
qs = nixGLWrap quickshell.packages.x86_64-linux.default;
|
||||
in pkgs.stdenv.mkDerivation {
|
||||
name = "illogical-impulse-quickshell-wrapper";
|
||||
meta = with pkgs.lib; {
|
||||
description = "Quickshell wrapped with NixGL + bundled Qt deps for home-manager usage";
|
||||
license = licenses.gpl3Only;
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
@@ -14,15 +19,29 @@ in pkgs.stdenv.mkDerivation {
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
qs
|
||||
qt6.qtbase
|
||||
kdePackages.qt5compat
|
||||
kdePackages.qtdeclarative
|
||||
kdePackages.kdialog
|
||||
kdePackages.qtwayland
|
||||
kdePackages.qtpositioning
|
||||
kdePackages.qtlocation
|
||||
kdePackages.syntax-highlighting
|
||||
gsettings-desktop-schemas
|
||||
# https://nixos.wiki/wiki/Qt
|
||||
# https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/qt-6/srcs.nix
|
||||
qt6.qtbase #qt6-base
|
||||
qt6.qtdeclarative #qt6-declarative
|
||||
qt6.qt5compat #qt6-5compat
|
||||
#qt6-avif-image-plugin (TODO: seems not available as nixpkg)
|
||||
qt6.qtimageformats #qt6-imageformats
|
||||
qt6.qtmultimedia #qt6-multimedia
|
||||
qt6.qtpositioning #qt6-positioning
|
||||
qt6.qtquicktimeline #qt6-quicktimeline
|
||||
qt6.qtsensors #qt6-sensors
|
||||
qt6.qtsvg #qt6-svg
|
||||
qt6.qttools #qt6-tools
|
||||
qt6.qttranslations #qt6-translations
|
||||
qt6.qtvirtualkeyboard #qt6-virtualkeyboard
|
||||
qt6.qtwayland #qt6-wayland
|
||||
kdePackages.kdialog #kdialog (Used in Quickshell config)
|
||||
kdePackages.syntax-highlighting #syntax-highlighting (Used in Quickshell config)
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
@@ -32,9 +51,4 @@ in pkgs.stdenv.mkDerivation {
|
||||
--prefix XDG_DATA_DIRS : ${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}
|
||||
chmod +x $out/bin/qs
|
||||
'';
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
description = "Quickshell wrapped with NixGL + bundled Qt deps for home-manager usage";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user