~ruther/guix-local

ref: 928bfc3d450daa10464fbd4f1bc8b0cd0cd754d7 guix-local/guix/build d---------
80345600 — Danny Milosavljevic 9 years ago
build: dub-build-system: Don't use "dub run" at all.

It doesn't make sense to run non-test executables (which is what "dub run"
would do).

The "check" function already invokes "dub test" and that's enough.

* guix/build/dub-build-system.scm (build): Remove "dub run" invocation.
65e862d1 — Danny Milosavljevic 9 years ago
gnu: Add dub-build-system.

* guix/build-system/dub.scm: New file.
* guix/build/dub-build-system.scm: New file.
* Makefile.am (MODULES): Add them.
* doc/guix.texi: Add section for dub-build-system.
de643f0c — Ricardo Wurmus 9 years ago
build: r-build-system: Use deterministic built date.

Fixes <http://bugs.gnu.org/25598>.

* guix/build/r-build-system.scm (install): Pass "--built-timestamp" option to
make build deterministic.
0db2ff65 — Ricardo Wurmus 9 years ago
bournish: Extend 'rm' command.

* guix/build/bournish.scm (rm-command): New procedure.
(%commands): Use it.
* tests/bournish.scm: Add tests for "rm" and "rm -r".
3483f004 — Ludovic Courtès 9 years ago
syscalls: Export 'read-utmpx'.

* guix/build/syscalls.scm (read-utmpx-from-port): New procedure.
* tests/syscalls.scm ("read-utmpx, EOF")
("read-utmpx"): New tests.
15030972 — Ludovic Courtès 9 years ago
syscalls: Add utmpx procedures and data structure.

* guix/build/syscalls.scm (<utmpx-entry>): New record type.
(%utmpx): New C struct.
(login-type): New bits.
(setutxent, endutxent, getutxent, utmpx-entries): New procedures.
57f068be — Ludovic Courtès 9 years ago
syscalls: Extract 'bytes->string'.

* guix/build/syscalls.scm (bytes->string): New procedure.
(bytevector->string-list): Use it.
e6876cb9 — Julien Lepiller 9 years ago
gnu: Add ocaml-build-system.

* guix/build/ocaml-build-system.scm: New file.
* guix/build-system/ocaml.scm: New file.
* Makefile.am (MODULES): Add them.
* gnu/packages/ocaml.scm (ocaml)[native-search-paths]: Adjuste OCAMLPATH.

Signed-off-by: David Craven <david@craven.ch>
484437bd — Manolis Ragkousis 9 years ago
guix: build: make-bootstrap: Copy libpthread_nonshared.a to the new system.

* guix/build/make-bootstrap.scm (%libc-object-files-rx): Update regexp.
a6e0ae40 — Ludovic Courtès 9 years ago
syscalls: 'terminal-columns' swallows ENOSYS.

* guix/build/syscalls.scm (terminal-columns): Catch ENOSYS.
f1d13695 — David Craven 9 years ago
build-system: cargo: Handle Cargo.lock file not present.

* guix/build-system/cargo.scm (cargo-build): Add src output.
  (private-keywords): Add #:outputs.
* guix/build/cargo-build-system.scm (configure): Use /share/rust-source
  when replacing inputs.
  (build, check): Don't do anything when there isn't a Cargo.lock file
  present.
  (install): Install sources to src output. When a Cargo.lock file is
  present use cargo install to install binaries to out.
* guix/import/crate.scm (make-crate-sexp): Importer uses the src output
  for crate inputs by default.
* guix/import/utils.scm (package-names->package-inputs, maybe-inputs,
  maybe-native-inputs): Take an optional output argument.
* tests/crate.scm (crate->guix-package test): Update.

Problem reported by Francisco Gómez García <espectalll@kydara.com>.
dc77498c — David Craven 9 years ago
build-system: cargo: Make Cargo.toml writeable.

* guix/build/cargo-build-system.scm (configure): Make sure Cargo.toml
  is writeable before attempting modification.

Problem reported by Danny Milosavljevic <dannym@scratchpost.org>.
580deec5 — Ludovic Courtès 9 years ago
download: Protect against dangling symlinks in $SSL_CERT_DIR.

Reported by Christopher Baines <mail@cbaines.net>
in <https://bugs.gnu.org/25213>.

* guix/build/download.scm (make-credendials-with-ca-trust-files): Check
whether FILE exists before calling
'set-certificate-credentials-x509-trust-file!'.
4b3cb7f4 — David Craven 9 years ago
build-system: Add cargo build system.

* guix/build-system/cargo.scm: New file.
* guix/build/cargo-build-system.scm: New file.
* Makefile.am (MODULES): Add files.
4a990395 — Leo Famulari 9 years ago
Merge branch 'staging'
f80b4d2c — Ludovic Courtès 9 years ago
Merge remote-tracking branch 'origin/master' into staging
f13f60cb — Manolis Ragkousis 9 years ago
gnu: make-bootstrap: Produce the correct %glibc-bootstrap-tarball for Hurd systems.

* gnu/packages/make-bootstrap.scm (%glibc-bootstrap-tarball): Make it a procedure.
  (%glibc-stripped): Make it a procedure and move the kernel specific part from
  here to ...
* guix/build/make-bootstrap.scm (make-stripped-libc): ... here. New file.
* Makefile.am (MODULES): Add it.
8a7cbc88 — Marius Bakke 9 years ago
Merge branch 'master' into staging
03e856dd — Hartmut Goebel 9 years ago
Merge branch 'python-build-system'.
3bf42806 — Hartmut Goebel 9 years ago
Merge branch 'master' into python-build-system
Next