Re:NixOS – Purely Functional Linux Distribution
by Nullabillity on Friday November 02, 2018 @04:59PM
(#18366700)
You can also just call `nix-env -i .` to build and install in one go.
Re:NixOS – Purely Functional Linux Distribution
by gmfawcett on Friday November 02, 2018 @08:42PM
(#18367942)
Ah! thanks for that.
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.