diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-08-15 19:31:44 +0200 |
---|---|---|
committer | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-08-15 19:31:44 +0200 |
commit | 06139f23e067255037c52993d0a5b1f736b3ffb0 (patch) | |
tree | 3fc05312480ee97bafdfd9c3f34c0d3f953102bb /pkgs/applications/audio/jamesdsp | |
parent | d20a72e91364f6fcd25f5d964fcc72c30f0d22dc (diff) |
jamesdsp: use `finalAttrs` pattern
Diffstat (limited to 'pkgs/applications/audio/jamesdsp')
-rw-r--r-- | pkgs/applications/audio/jamesdsp/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/audio/jamesdsp/default.nix b/pkgs/applications/audio/jamesdsp/default.nix index 08f50b832f9c4..d44138b3cb137 100644 --- a/pkgs/applications/audio/jamesdsp/default.nix +++ b/pkgs/applications/audio/jamesdsp/default.nix @@ -19,7 +19,7 @@ assert lib.asserts.assertMsg (usePipewire != usePulseaudio) "You need to enable one and only one of pulseaudio or pipewire support"; -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "jamesdsp"; version = "2.6.1"; @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { owner = "Audio4Linux"; repo = "JDSP4Linux"; fetchSubmodules = true; - rev = version; + rev = finalAttrs.version; hash = "sha256-XYJl94/PstWG5qaBQ2rXc/nG9bDeP3Q62zDYHmZvPaw="; }; @@ -84,4 +84,4 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ pasqui23 rewine ]; platforms = platforms.linux; }; -} +}) |