diff options
author | chayleaf <chayleaf-git@pavluk.org> | 2024-07-26 12:18:17 +0700 |
---|---|---|
committer | chayleaf <chayleaf-git@pavluk.org> | 2024-07-26 12:18:17 +0700 |
commit | 96742945ce538502447064a62d0b1689d62b5c52 (patch) | |
tree | c4250de7b522409d6b3c4d9109170763addfd32c | |
parent | 7b98a39e465d8ff64ab891475e34d1af64161727 (diff) |
looking-glass-client: switch to finalAttrs
-rw-r--r-- | pkgs/applications/virtualization/looking-glass-client/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/virtualization/looking-glass-client/default.nix b/pkgs/applications/virtualization/looking-glass-client/default.nix index 62e65aec3ad8..bfc8d2177ce9 100644 --- a/pkgs/applications/virtualization/looking-glass-client/default.nix +++ b/pkgs/applications/virtualization/looking-glass-client/default.nix @@ -47,14 +47,14 @@ let icon = "lg-logo"; }; in -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "looking-glass-client"; version = "B7-rc1"; src = fetchFromGitHub { owner = "gnif"; repo = "LookingGlass"; - rev = version; + rev = finalAttrs.version; hash = "sha256-ne1Q+67+P8RHcTsqdiSSwkFf0g3pSNT91WN/lsSzssU="; fetchSubmodules = true; }; @@ -80,7 +80,7 @@ stdenv.mkDerivation rec { ++ lib.optionals (!pipewireSupport) [ "-DENABLE_PIPEWIRE=no" ]; postUnpack = '' - echo ${src.rev} > source/VERSION + echo ${finalAttrs.src.rev} > source/VERSION export sourceRoot="source/client" ''; @@ -105,4 +105,4 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ alexbakker babbaj j-brn ]; platforms = [ "x86_64-linux" ]; }; -} +}) |