tangled
alpha
login
or
join now
ryan.freumh.org
/
merry
forked from
patrick.sirref.org/merry
0
fork
atom
Shells in OCaml
0
fork
atom
overview
issues
pulls
pipelines
fix passthru.shellPath
Ryan Gibb
1 month ago
5f52d678
0f5668ca
+9
-5
1 changed file
expand all
collapse all
unified
split
flake.nix
+9
-5
flake.nix
···
28
28
query = {
29
29
ocaml-base-compiler = "*";
30
30
};
31
31
+
overlay = final: prev: {
32
32
+
"${package}" = prev.${package}.overrideAttrs (o: {
33
33
+
passthru = o.passthru // {
34
34
+
shellPath = "/bin/merry";
35
35
+
};
36
36
+
});
37
37
+
};
31
38
scope =
32
39
# recursive finds vendored dependancies in duniverse
33
33
-
opam-nix-lib.buildOpamProject' { recursive = true; } ./. (query // devPackagesQuery);
40
40
+
(opam-nix-lib.buildOpamProject' { recursive = true; } ./. (query // devPackagesQuery)).overrideScope
41
41
+
overlay;
34
42
in {
35
43
packages.default = scope.${package};
36
44
defaultPackage = scope.${package};
37
37
-
38
38
-
passthru = {
39
39
-
shellPath = "/bin/msh";
40
40
-
};
41
45
42
46
devShells.default = let
43
47
devPackages = builtins.attrValues