guix-devel/guix/scripts
Cyrill Schenkel cdb5b075d5 gc: ignore trailing slash or subdirectories for `guix gc -d'
Fixes <http://bugs.gnu.org/19757>.

* guix/scripts/gc.scm (guix-gc): Convert paths to direct store paths.
* guix/store.scm (direct-store-path): Get rid of subdirectories in store path.
* tests/guix-gc.sh: New tests.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-05-26 22:26:01 +02:00
..
import import: Add hackage importer. 2015-04-08 17:31:11 +02:00
archive.scm ui: Factorize command-line + env. var. option parsing. 2015-02-26 00:04:36 +01:00
authenticate.scm Remove assorted Guile 2.0.5 workarounds. 2015-05-10 11:07:51 +02:00
build.scm scripts: Move 'set-build-options-from-command-line*' to (guix scripts build) module. 2015-05-21 08:29:47 -04:00
download.scm Use `port-sha256' and `open-sha256-port'. 2013-07-03 01:18:24 +02:00
environment.scm scripts: Move 'set-build-options-from-command-line*' to (guix scripts build) module. 2015-05-21 08:29:47 -04:00
gc.scm gc: ignore trailing slash or subdirectories for `guix gc -d' 2015-05-26 22:26:01 +02:00
hash.scm Break module cycle involving (guix store) and (guix ui). 2014-10-09 23:51:19 +02:00
import.scm import: Add hackage importer. 2015-04-08 17:31:11 +02:00
lint.scm lint: Add a 'derivation' checker. 2015-04-13 00:02:59 +02:00
offload.scm offload: Better report failure to create the GC root directory. 2015-02-05 23:40:55 +01:00
package.scm guix package: --manifest DTRT when combined with --dry-run. 2015-05-25 21:34:23 +02:00
publish.scm publish: Add '--listen'. 2015-05-12 21:22:52 +02:00
pull.scm pull: Always install the ~/.config/guix/latest symlink. 2015-02-06 17:39:10 +01:00
refresh.scm refresh: Allow users to refer to specific package versions. 2015-04-16 23:15:06 +02:00
substitute.scm Remove assorted Guile 2.0.5 workarounds. 2015-05-10 11:07:51 +02:00
system.scm guix system: Add '--on-error'. 2015-05-25 22:52:41 +02:00