Changeset 39938 in project


Ignore:
Timestamp:
04/10/21 00:23:23 (4 months ago)
Author:
evhan
Message:

wiki/beaker: Add links to usage examples for Nix helpers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/beaker

    r39528 r39938  
    231231
    232232The list of eggs to cache should be specified via {{eggs}}, which expects a path
    233 to a file in "override" specifying a list of egg names and versions. This file
    234 can be generated via {{chicken-status -list}} (for installed eggs) or
    235 {{chicken-lock}} (for a specific egg's dependencies).
     233to a file in "override" format specifying a list of egg names and versions.
     234This file can be generated via {{chicken-status -list}} (for all installed eggs)
     235or {{chicken-lock}} (for a specific egg's dependencies).
    236236
    237237 eggCache {
     
    287287Apart from {{eggCache}}, this derivation accepts all the same attributes as
    288288{{stdenv.mkDerivation}}.
     289
     290=== Examples
     291
     292These eggs provide examples of using these Nix functions:
     293
     294* [[https://git.sr.ht/~evhan/dust/tree/master/item/default.nix|dust]]
     295* [[https://git.sr.ht/~evhan/chicken-sourcehut/tree/master/item/default.nix|sourcehut]]
     296* [[https://hg.sr.ht/~evhan/sq/browse/default.nix?rev=tip|sq]]
     297
     298In each of these projects, the lock file that's used to populate the {{eggCache}}
     299has been created by running {{chicken-lock > ${name}.egg.lock}}, and then
     300checking that file in to source control.
    289301
    290302== Links
Note: See TracChangeset for help on using the changeset viewer.