28 lines
1.1 KiB
Scheme
28 lines
1.1 KiB
Scheme
(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")))
|