diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-08-14 18:36:01 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-08-14 18:42:46 +0200 |
commit | b86b00567c82e0e16a3cfa65b3f87d95f31506bb (patch) | |
tree | 941eb32405715acea95b3bd9072c6243dd416118 /release.nix | |
parent | ed795c060858f3949bf5ad321008626f5e7f195a (diff) | |
download | guix-patches-b86b00567c82e0e16a3cfa65b3f87d95f31506bb.tar guix-patches-b86b00567c82e0e16a3cfa65b3f87d95f31506bb.tar.gz |
build: Pass $(NIX_INSTANTIATE) to the build and test environments.
* Makefile.am (.scm.go): Define $NIX_INSTANTIATE.
(TESTS_ENVIRONMENT): Likewise, and define $NIX_HASH.
* guix/utils.scm (nixpkgs-derivation): Use $NIX_INSTANTIATE when
defined.
* tests/utils.scm (%nix-hash): New variable.
("sha256 & bytevector->nix-base32-string"): Use it.
Diffstat (limited to 'release.nix')
0 files changed, 0 insertions, 0 deletions