spandsp: fix function argument name

The function here is being passed to `overrideAttrs`, not
`mkDerivation`, so it should be named `previousAttrs`, not
`finalAttrs`.  This was my mistake.
This commit is contained in:
Adam Joseph
2023-12-01 22:05:02 +00:00
committed by Adam Joseph
parent 62dbf14a30
commit 7e0464aa50
+2 -2
View File
@@ -9,11 +9,11 @@
, callPackage
}:
(callPackage ./common.nix {}).overrideAttrs(finalAttrs: {
(callPackage ./common.nix {}).overrideAttrs(previousAttrs: {
version = "3.0.0";
src = fetchFromGitHub {
owner = "freeswitch";
repo = finalAttrs.pname;
repo = previousAttrs.pname;
rev = "6ec23e5a7e411a22d59e5678d12c4d2942c4a4b6"; # upstream does not seem to believe in tags
sha256 = "03w0s99y3zibi5fnvn8lk92dggfgrr0mz5255745jfbz28b2d5y7";
};