Skip to content

Commit c59049b

Browse files
committed
freedv: use finalAttrs pattern
1 parent a0fe078 commit c59049b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkgs/by-name/fr/freedv/package.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
pulseSupport ? config.pulseaudio or stdenv.hostPlatform.isLinux,
2121
}:
2222

23-
stdenv.mkDerivation rec {
23+
stdenv.mkDerivation (finalAttrs: {
2424
pname = "freedv";
2525
version = "1.9.9.2";
2626

2727
src = fetchFromGitHub {
2828
owner = "drowe67";
2929
repo = "freedv-gui";
30-
tag = "v${version}";
30+
tag = "v${finalAttrs.version}";
3131
hash = "sha256-oFuAH81mduiSQGIDgDDy1IPskqqCBmfWbpqQstUIw9g=";
3232
};
3333

@@ -86,4 +86,4 @@ stdenv.mkDerivation rec {
8686
platforms = lib.platforms.unix;
8787
mainProgram = "freedv";
8888
};
89-
}
89+
})

0 commit comments

Comments
 (0)