Skip to content

Commit

Permalink
notes
Browse files Browse the repository at this point in the history
  • Loading branch information
BostX committed Nov 10, 2023
1 parent 331b29b commit df40c18
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions notes/guix-guile-nix/guix_package.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,16 @@
cargo / go / clojure / maven / ant / r / etc.

Build Phases:
Sequentially executed list; Some build phases can provide
implicit inputs
Sequentially executed list; Some build phases can provide implicit inputs
Different build systems (may) have different build phases. See e.g.:
$dgx/guix/build/perl-build-system.scm
$dgx/guix/build/emacs-build-system.scm
$dgx/guix/build/waf-build-system.scm
$dgx/guix/build/go-build-system.scm

# package will be scheduled for Software Heritage
guix lint --checker=archival <package>
guix lint --no-network <package> # doesn't fetch CVEs hopefully

Arguments:
Customize build process w/o modifying it
Expand Down Expand Up @@ -320,11 +328,11 @@
- derivation represents a sequence of low-level build actions and the
environment in which they are performed to produce an item in the store

Syntactic forms:
| #~ | gexp | quasiquote |
| #$ | ungexp | unquote |
Syntactic forms, all of them are "in the context of the store content":
| #~ | gexp | quasiquote; like ` |
| #$ | ungexp | unquote; like , |
| #+ | | same role as #$, but it's a reference to a native package build |
| #$@"@" | ungexp-splicing | unquote-splicing / splice |
| #$@"@" | ungexp-splicing | unquote-splicing / splice; like ,@ |

}

Expand Down

0 comments on commit df40c18

Please sign in to comment.