mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
ocamlPackages.note: migrate to finalAttrs
Assisted-by: claude-opus-4-8
This commit is contained in:
@@ -9,11 +9,11 @@
|
||||
brr,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "ocaml${ocaml.version}-note";
|
||||
version = "0.0.3";
|
||||
src = fetchurl {
|
||||
url = "https://erratique.ch/software/note/releases/note-${version}.tbz";
|
||||
url = "https://erratique.ch/software/note/releases/note-${finalAttrs.version}.tbz";
|
||||
hash = "sha256-ZZOvCnyz7UWzFtGFI1uC0ZApzyylgZYM/HYIXGVXY2k=";
|
||||
};
|
||||
buildInputs = [
|
||||
@@ -34,4 +34,4 @@ stdenv.mkDerivation rec {
|
||||
inherit (ocaml.meta) platforms;
|
||||
broken = !(lib.versionAtLeast ocaml.version "4.08");
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user