guix-devel/guix
Ludovic Courtès 22ef06b801
union: Gracefully handle dangling symlinks in the input.
Fixes <http://bugs.gnu.org/26949>.
Reported by Pjotr Prins <pjotr.public12@thebird.nl>.

* guix/build/union.scm (file-is-directory?): Return #f when FILE does
not exist or is a dangling symlink.
(file=?): Pass #f as a second argument to 'stat'; return #f when both
ST1 or ST2 is #f.
* tests/profiles.scm (test-equalm): New macro.
("union vs. dangling symlink"): New test.
2017-05-18 11:38:48 +02:00
..
build union: Gracefully handle dangling symlinks in the input. 2017-05-18 11:38:48 +02:00
build-system build-system/asdf: Handle tests defined in external systems. 2017-05-16 15:18:16 +02:00
import import cran: Check if pkg-config is needed. 2017-05-16 21:43:35 +02:00
scripts scripts: system: Display bootloader name in "list-generations". 2017-05-16 14:41:02 +02:00
store store: Support 'ssh://' URIs in 'GUIX_DAEMON_SOCKET'. 2017-04-21 19:17:36 +02:00
tests
base16.scm utils: Move base16 procedures to (guix base16). 2017-03-16 22:50:14 +01:00
base32.scm
base64.scm
build-system.scm
cache.scm cache: Work around 'time-monotonic' bug in Guile 2.2.2. 2017-04-22 14:42:15 +02:00
combinators.scm Add (guix memoization). 2017-01-28 18:55:20 +01:00
config.scm.in
cpio.scm
cve.scm
cvs-download.scm
derivations.scm store: Add store path computation procedures. 2017-05-04 18:05:05 +02:00
discovery.scm Add (guix discovery). 2017-05-03 23:50:15 +02:00
docker.scm pack: Add '--target'. 2017-03-18 00:38:41 +01:00
download.scm download: Add netfilter mirror. 2017-04-17 23:05:46 +02:00
elf.scm
ftp-client.scm ftp-client: Allow custom username and password for FTP servers. 2017-03-21 12:14:05 +01:00
gcrypt.scm
gexp.scm gexp: 'gexp-modules' accepts plain Scheme objects. 2017-04-19 17:51:39 +02:00
git-download.scm git-download: Fix 'git-predicate' file membership. 2017-05-07 18:08:11 +02:00
gnu-maintenance.scm gnu-maintenance: 'gnu-package?' uses 'eq?' memoization. 2017-01-28 18:55:20 +01:00
gnupg.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
grafts.scm grafts: Do not pull derivation outputs not depended on. 2017-01-25 11:04:25 +01:00
graph.scm graph: Add Cypher backend. 2017-05-11 16:17:49 +02:00
hash.scm
hg-download.scm
http-client.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
licenses.scm licenses: Add EDL 1.0. 2017-05-15 22:33:17 +02:00
memoization.scm memoization: Micro-optimize code produced by 'define-cache-procedure'. 2017-03-16 22:50:15 +01:00
modules.scm Use 'mlambda' instead of 'memoize'. 2017-01-28 18:55:20 +01:00
monad-repl.scm
monads.scm monads: Add a template and specialization mechanism for monadic procedures. 2017-05-02 23:41:13 +02:00
nar.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
packages.scm Add package/inherit. 2017-05-02 04:19:09 -04:00
pk-crypto.scm publish: The public and private keys are now SRFI-39 parameters. 2017-03-22 14:05:59 +01:00
pki.scm
profiles.scm profiles: Add elapsed time to manual-database hook to output message. 2017-05-16 23:10:10 +02:00
records.scm records: Slight simplification. 2017-04-17 23:31:28 +02:00
scripts.scm scripts: Do not create the config directory. 2017-05-13 00:03:46 +02:00
search-paths.scm search-paths: Allow specs with #f as their separator. 2017-01-23 22:23:41 +01:00
serialization.scm serialization: Remove Guile < 2.0.9 workaround. 2017-04-17 23:31:28 +02:00
sets.scm
ssh.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
store.scm store: Use 'TCP_NODELAY' when connecting to a daemon over PF_INET. 2017-05-07 00:18:36 +02:00
svn-download.scm
tests.scm store: 'GUIX_DAEMON_SOCKET' can now be a URI. 2017-04-21 17:23:37 +02:00
ui.scm ui: Disable Guile deprecation warnings by default. 2017-05-16 14:31:37 +02:00
upstream.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
utils.scm utils: 'compressed-file?' matches ".lzma" files. 2017-05-15 23:55:10 +02:00
workers.scm Add (guix workers). 2017-04-18 23:17:17 +02:00
zlib.scm zlib: Don't rely on EBADF being ignored by 'fport_close'. 2017-03-15 15:19:53 +01:00