Skip to content

Commit 1f2af16

Browse files
committed
soupault: use finalAttrs
1 parent 471f5c4 commit 1f2af16

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkgs/by-name/so/soupault/package.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
testers,
1111
}:
1212

13-
ocamlPackages.buildDunePackage rec {
13+
ocamlPackages.buildDunePackage (finalAttrs: {
1414
pname = "soupault";
1515
version = "5.2.0";
1616

1717
minimalOCamlVersion = "5.3";
1818

1919
src = fetchzip {
2020
urls = [
21-
"https://github.com/PataphysicalSociety/soupault/archive/${version}.tar.gz"
22-
"https://codeberg.org/PataphysicalSociety/soupault/archive/${version}.tar.gz"
21+
"https://github.com/PataphysicalSociety/soupault/archive/${finalAttrs.version}.tar.gz"
22+
"https://codeberg.org/PataphysicalSociety/soupault/archive/${finalAttrs.version}.tar.gz"
2323
];
2424
hash = "sha256-BuQ2yQzf6PpK6HUfuHDscgKkOBttCrs0zTh37hMUR6E=";
2525
};
@@ -71,4 +71,4 @@ ocamlPackages.buildDunePackage rec {
7171
maintainers = with lib.maintainers; [ toastal ];
7272
mainProgram = "soupault";
7373
};
74-
}
74+
})

0 commit comments

Comments
 (0)