4 ms·
You're welcome! One last tip... If you build this way, it will write everything to /nix/store, but it won't install it into your local profile. However, the 'n
by gmfawcett 8y ago
You're welcome!
One last tip... If you build this way, it will write everything to /nix/store, but it won't install it into your local profile. However, the 'nix-build' process creates a 'result' symlink in your project directory which points at the package you just built. So Calling 'nix-env -i ./result' ought to install it into your profile as well.
- Nullabillity 8y agoYou can also just call `nix-env -i .` to build and install in one go.
- gmfawcett 8y agoAh! thanks for that.
- Stammon 8y agoYou can also use an overlay
- gmfawcett 8y agoThanks, I've heard the term 'overlay' but I haven't learned quite that much yet. I'll look into this.