You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let say you have a small dev proxy server my-development-proxy-server written in node and It's not part of the main app. my-development-proxy-server/default.nix would be something like
# This is a minimal `default.nix` by yarn-plugin-nixify. You can customize it# as needed, it will not be overwritten by the plugin.{pkgs?import<nixpkgs>{}}:
pkgs.callPackage./yarn-project.nix{}{src=./.;}
The text was updated successfully, but these errors were encountered:
amok
changed the title
[Feature request] Allow adding a package from file system
[Feature Request] Allow adding a package from file system
Feb 22, 2023
Hey @amok, thanks for filing this issue. We really love the idea and have been discussing it within our team, since this could be a great bridge for existing nix projects to take advantage of Devbox.
We're reviewing the idea internally to see if we can slot it for an upcoming release.
It'd be nice to be able to install packages from
nix
files from local FS.F.i.:
Usecases
Let say you have a small dev proxy server
my-development-proxy-server
written innode
and It's not part of the main app.my-development-proxy-server/default.nix
would be something likeThen
shell.nix
would look something likeFor the time being as far as I know it's not possible to
devbox add ./my-development-proxy-server
Another use case is overriding package attrs. Is there a way to implement the following with
devbox
?:As an option, we could have
yarn.nix
like:and do
devbox add ./yarn.nix
Unfortunately, this blocks me switching from "raw" nix to
devbox
(the tool looks very exciting)Let me please know if I am missing something.
Similar issues: #267 #117 #21
PS Thank you for the awesome tool
The text was updated successfully, but these errors were encountered: