+9
-5
Diff
round #0
+9
-5
flake.nix
+9
-5
flake.nix
···
28
28
query = {
29
29
ocaml-base-compiler = "*";
30
30
};
31
+
overlay = final: prev: {
32
+
"${package}" = prev.${package}.overrideAttrs (o: {
33
+
passthru = o.passthru // {
34
+
shellPath = "/bin/merry";
35
+
};
36
+
});
37
+
};
31
38
scope =
32
39
# recursive finds vendored dependancies in duniverse
33
-
opam-nix-lib.buildOpamProject' { recursive = true; } ./. (query // devPackagesQuery);
40
+
(opam-nix-lib.buildOpamProject' { recursive = true; } ./. (query // devPackagesQuery)).overrideScope
41
+
overlay;
34
42
in {
35
43
packages.default = scope.${package};
36
44
defaultPackage = scope.${package};
37
45
38
-
passthru = {
39
-
shellPath = "/bin/msh";
40
-
};
41
-
42
46
devShells.default = let
43
47
devPackages = builtins.attrValues
44
48
(pkgs.lib.getAttrs (builtins.attrNames devPackagesQuery) scope);
History
1 round
0 comments
ryan.freumh.org
submitted
#0
1 commit
expand
collapse
fix passthru.shellPath
merge conflicts detected
expand
collapse
expand
collapse
- flake.nix:28