From fa3213946a786f2fbdf9090bcba069101bd25372 Mon Sep 17 00:00:00 2001 From: traxys Date: Thu, 2 May 2024 22:10:28 +0200 Subject: [PATCH] gaming: Use lib.getVersion for proton-ge --- gaming/hm.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gaming/hm.nix b/gaming/hm.nix index 20c5a1e..6096cda 100644 --- a/gaming/hm.nix +++ b/gaming/hm.nix @@ -28,7 +28,7 @@ home.activation = { proton-ge = lib.hm.dag.entryAfter ["writeBoundary"] '' - target="${config.home.homeDirectory}/.steam/root/compatibilitytools.d/Proton-${pkgs.proton-ge.version}" + target="${config.home.homeDirectory}/.steam/root/compatibilitytools.d/Proton-${lib.getVersion pkgs.proton-ge}" if ! [ -d "$target" ]; then cp -R ${pkgs.proton-ge} "$target" chmod -R u+w "$target"