Skip to content

Commit cab5611

Browse files
committed
ocamlPackages.mimic: migrate to finalAttrs
1 parent a197a46 commit cab5611

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pkgs/development/ocaml-modules/mimic/default.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
bigstringaf,
1313
}:
1414

15-
buildDunePackage rec {
15+
buildDunePackage (finalAttrs: {
1616
pname = "mimic";
1717
version = "0.0.9";
1818

1919
minimalOCamlVersion = "4.08";
2020

2121
src = fetchurl {
22-
url = "https://github.com/dinosaure/mimic/releases/download/${version}/mimic-${version}.tbz";
22+
url = "https://github.com/dinosaure/mimic/releases/download/${finalAttrs.version}/mimic-${finalAttrs.version}.tbz";
2323
hash = "sha256-lU3xzrVIqSKnhUQIhaXRamr39zXWw3DtNdM5EUtp4p8=";
2424
};
2525

@@ -44,4 +44,4 @@ buildDunePackage rec {
4444
homepage = "https://github.com/mirage/ocaml-git";
4545
maintainers = [ lib.maintainers.sternenseemann ];
4646
};
47-
}
47+
})

0 commit comments

Comments
 (0)