docs: More samples.
Change-Id: Ibcab3b04ae1650cd213a5a0915b7c6056a6a6964
This commit is contained in:
parent
8385c3ac9b
commit
3ee4d894f5
14 changed files with 552 additions and 0 deletions
28
examples/ninja/lix-eval-jobs-lix-pegtl.scm
Normal file
28
examples/ninja/lix-eval-jobs-lix-pegtl.scm
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
(environment: "pkgs.lixPackageSets.lix_2_93.nix-eval-jobs"
|
||||
depfile-path: "lix-eval-jobs-dep.scm"
|
||||
rewrite:
|
||||
("lix-2.93.3"
|
||||
environment: "(pkgs.lixPackageSets.lix_2_93.lix.override { enableDocumentation = false; }).overrideAttrs (a: { doCheck = false; doInstallCheck = false; separateDebugInfo = false; __structuredAttrs = false; })"
|
||||
disallow-elide: (lambda (path) (string=? path "config.h"))
|
||||
patch:
|
||||
(begin
|
||||
(import
|
||||
(zilch lang ninja)
|
||||
(srfi 152))
|
||||
(lambda (target)
|
||||
(cond
|
||||
; Fix python codegen code
|
||||
((and
|
||||
(not (null? (build-edge-implicit-dependencies target)))
|
||||
(string-contains (car (build-edge-implicit-dependencies target)) "python"))
|
||||
(string-append
|
||||
"rm -rf src/lix/code-generation; "
|
||||
"cp -rf -L --no-preserve=ownership \"$_ZILCH_ROOT\"/src/lix/code-generation src/lix/code-generation; "
|
||||
"chmod ugo+rw -R src/lix/code-generation"))
|
||||
(else #f))))
|
||||
depfile-path: "lix-dep.scm"
|
||||
rewrite:
|
||||
("pegtl-3.2.8"
|
||||
environment: "pkgs.pegtl"
|
||||
depfile-path: "pegtl-dep.scm")))
|
||||
;override-source: "pegtl-src")))
|
||||
Loading…
Add table
Add a link
Reference in a new issue