Next: , Up: Inställning   [Contents][Index]


2.1.2.1 Lokal fil

This is what we previously did with ‘my-hello’. With the Scheme basics we’ve covered, we are now able to explain the leading chunks. As stated in guix package --help:

  -f, --install-from-file=FIL
                         installera paketet som koden inuti FIL
                         utvärderas till

Thus the last expression must return a package, which is the case in our earlier example.

The use-modules expression tells which of the modules we need in the file. Modules are a collection of values and procedures. They are commonly called “libraries” or “packages” in other programming languages.