Shells in OCaml

fix passthru.shellPath #1

open opened by ryan.freumh.org targeting main from ryan.freumh.org/merry: main
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:3lfhu6ehlynzjgehef6alnvg/sh.tangled.repo.pull/3meivfaoteo22
+9 -5
Diff #0
+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
sign up or login to add to the discussion
ryan.freumh.org submitted #0
1 commit
expand
fix passthru.shellPath
merge conflicts detected
expand
  • flake.nix:28
expand 0 comments