mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
ref(nix): formatted with nixfmt-rfc-style
This commit is contained in:
parent
36a2265325
commit
23404db605
40 changed files with 574 additions and 474 deletions
|
|
@ -3,7 +3,8 @@
|
|||
opam-nix,
|
||||
system,
|
||||
version ? "v0.14.7.1",
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
pname = "necrolib";
|
||||
|
||||
hashes = {
|
||||
|
|
@ -17,14 +18,16 @@
|
|||
};
|
||||
|
||||
on = opam-nix.lib.${system};
|
||||
query = {ocaml-base-compiler = "4.14.1";};
|
||||
query = {
|
||||
ocaml-base-compiler = "4.14.1";
|
||||
};
|
||||
|
||||
scope = on.buildDuneProject {} pname src query;
|
||||
scope = on.buildDuneProject { } pname src query;
|
||||
|
||||
overlay = self: super: {
|
||||
# credits: balsoft
|
||||
# https://github.com/tweag/opam-nix/discussions/71#discussioncomment-8344504
|
||||
necrolib = super.necrolib.overrideAttrs (oa: {inherit src;});
|
||||
necrolib = super.necrolib.overrideAttrs (oa: { inherit src; });
|
||||
};
|
||||
in
|
||||
(scope.overrideScope' overlay).${pname}
|
||||
(scope.overrideScope' overlay).${pname}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue