Skip to content

Commit 05b5ecc

Browse files
committed
build: update build guide, nix and guix packages
1 parent 703a378 commit 05b5ecc

File tree

5 files changed

+20
-16
lines changed

5 files changed

+20
-16
lines changed

BUILD.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Quickshell has a set of base dependencies you will always need, names vary by di
4444
- `qtshadertools` (build-time only)
4545
- `spirv-tools` (build-time only)
4646
- `pkg-config` (build-time only)
47-
- `cli11`
47+
- `cli11` (build-time only)
4848

4949
On some distros, private Qt headers are in separate packages which you may have to install.
5050
We currently require private headers for the following libraries:

default.nix

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,20 @@
55
keepDebugInfo,
66
buildStdenv ? pkgs.clangStdenv,
77

8+
pkg-config,
89
cmake,
910
ninja,
10-
qt6,
1111
spirv-tools,
12-
cli11,
12+
qt6,
1313
breakpad,
1414
jemalloc,
15+
cli11,
1516
wayland,
1617
wayland-protocols,
18+
wayland-scanner,
19+
xorg,
1720
libdrm,
1821
libgbm ? null,
19-
xorg,
2022
pipewire,
2123
pam,
2224

@@ -46,11 +48,12 @@
4648
version = "0.1.0";
4749
src = nix-gitignore.gitignoreSource "/docs\n/examples\n" ./.;
4850

49-
nativeBuildInputs = with pkgs; [
51+
nativeBuildInputs = [
5052
cmake
5153
ninja
5254
qt6.qtshadertools
5355
spirv-tools
56+
cli11
5457
qt6.wrapQtAppsHook
5558
pkg-config
5659
] ++ (lib.optionals withWayland [
@@ -61,7 +64,6 @@
6164
buildInputs = [
6265
qt6.qtbase
6366
qt6.qtdeclarative
64-
cli11
6567
]
6668
++ lib.optional withCrashReporter breakpad
6769
++ lib.optional withJemalloc jemalloc
@@ -96,9 +98,10 @@
9698
dontStrip = debug;
9799

98100
meta = with lib; {
99-
homepage = "https://git.outfoxxed.me/outfoxxed/quickshell";
101+
homepage = "https://quickshell.outfoxxed.me";
100102
description = "Flexbile QtQuick based desktop shell toolkit";
101103
license = licenses.lgpl3Only;
102104
platforms = platforms.linux;
105+
mainProgram = "quickshell";
103106
};
104107
}

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
};
55

66
outputs = { self, nixpkgs }: let
7-
forEachSystem = fn: nixpkgs.lib.genAttrs
8-
[ "x86_64-linux" "aarch64-linux" ]
9-
(system: fn system nixpkgs.legacyPackages.${system});
7+
forEachSystem = fn:
8+
nixpkgs.lib.genAttrs
9+
nixpkgs.lib.platforms.linux
10+
(system: fn system nixpkgs.legacyPackages.${system});
1011
in {
1112
packages = forEachSystem (system: pkgs: rec {
1213
quickshell = pkgs.callPackage ./default.nix {

quickshell.scm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
pkg-config
3636
qtshadertools
3737
spirv-tools
38-
wayland-protocols))
39-
(inputs (list cli11
40-
jemalloc
38+
wayland-protocols
39+
cli11))
40+
(inputs (list jemalloc
4141
libdrm
4242
libxcb
4343
libxkbcommon

0 commit comments

Comments
 (0)