* guix/derivations.scm (<derivation>): Add 'file-name' field.
(%read-derivation): Use (port-filename DRV-PORT) as the file name for
the result.
(derivation): Set the 'file-name' field in the result.
* tests/derivations.scm ("build derivation with 1 source"): Assert that
'derivation-file-name' returns the right thing.
|
||
|---|---|---|
| .. | ||
| base32.scm | ||
| build-utils.scm | ||
| builders.scm | ||
| derivations.scm | ||
| guix-build.sh | ||
| guix-daemon.sh | ||
| guix-download.sh | ||
| guix-gc.sh | ||
| guix-hash.sh | ||
| guix-package.sh | ||
| hash.scm | ||
| nar.scm | ||
| packages.scm | ||
| records.scm | ||
| snix.scm | ||
| store.scm | ||
| test.drv | ||
| ui.scm | ||
| union.scm | ||
| utils.scm | ||