Skip to content

Extract without output dir puts .nar in cwd #148

Description

@SimenB

If I do nar create --executable --os linux --arch x64 --node 6.9.2, then do mkdir -p new-dir/out && mv archive.nar new-dir && cd new-dir, and run ./archive.nar extract -o out I get

$ ls -la
drwxr-xr-x  4 root root     4096 Dec  8 20:57 .nar
-rwxr-xr-x  1 root root 22701019 Dec  8 20:40 archive.nar
drwxr-xr-x  4 root root     4096 Dec  8 20:58 out

.nar is not included into the output directory.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions