Skip to content

Commit f9b922c

Browse files
authored
[shell] add /share and /lib to development.nix (#229)
## Summary Certain packages like mariaDB require access to the lib and share directories, so we include those in `development.nix`. Recall that `development.nix` is used during `devbox shell` for: `nix-env --profile .devbox/nix/profile/default --install -f path/to/development.nix` ## How was it tested? ``` > cd testdata/nodejs/nodejs-18 > rm -rf .devbox > readlink -f .devbox/nix/profile/default/* /nix/store/pnwba30msbx2dwld1ji3ak25f96pd9im-devbox-development/bin /nix/store/pnwba30msbx2dwld1ji3ak25f96pd9im-devbox-development/lib /nix/store/d1785s25kbb67l717srvnmf44a41dqk3-env-manifest.nix /nix/store/pnwba30msbx2dwld1ji3ak25f96pd9im-devbox-development/share ```
1 parent 07739a7 commit f9b922c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tmpl/development.nix.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ buildEnv {
2525
{{.}}
2626
{{end -}}
2727
];
28-
pathsToLink = [ "/bin" ];
28+
pathsToLink = [ "/bin" "/share" "/lib"];
2929
}

0 commit comments

Comments
 (0)