Skip to content

ln fails in configurePhase on libraries that have spaces in the name #3

@crabdancing

Description

@crabdancing

I haven't looked at the Nix code in depth, but I have a pretty good guess why this happens :P

ln thinking FOC is the target indicates path generated with Nix expression is not wrapped in quotes. See error context:

warning: Git tree '/home/ada/Projects/esc-test' is dirty
error: builder for '/nix/store/950rr3mm8h7ixxpv4y3hr46qimps6s1y-my-project.drv' failed with exit code 1;
       last 7 log lines:
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/h6rhvnz00vnahwvdvsp08aj8v26xaags-jqp6z9kazvvwwiqrfv3jgzppq6vnvsvn-source
       > source root is jqp6z9kazvvwwiqrfv3jgzppq6vnvsvn-source
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > ln: target 'FOC': No such file or directory
       For full logs, run 'nix log /nix/store/950rr3mm8h7ixxpv4y3hr46qimps6s1y-my-project.drv'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions