tracy: split the package into tracy-wayland and tracy-glfw

This commit is contained in:
Pavel Sobolev
2024-12-20 22:08:40 +03:00
parent 263212ac6d
commit 37add73010
2 changed files with 7 additions and 2 deletions
+4 -1
View File
@@ -25,8 +25,11 @@
wayland-protocols,
}:
assert withGtkFileSelector -> stdenv.isLinux;
assert withWayland -> stdenv.isLinux;
stdenv.mkDerivation rec {
pname = "tracy";
pname = if withWayland then "tracy-wayland" else "tracy-glfw";
version = "0.11.1";
src = fetchFromGitHub {
+3 -1
View File
@@ -3217,7 +3217,9 @@ with pkgs;
tsm-client-withGui = callPackage ../by-name/ts/tsm-client/package.nix { enableGui = true; };
tracy-x11 = callPackage ../by-name/tr/tracy/package.nix { withWayland = false; };
tracy = callPackage ../by-name/tr/tracy/package.nix { withWayland = stdenv.isLinux; };
tracy-glfw = callPackage ../by-name/tr/tracy/package.nix { withWayland = false; };
tracy-wayland = callPackage ../by-name/tr/tracy/package.nix { withWayland = true; };
uusi = haskell.lib.compose.justStaticExecutables haskellPackages.uusi;