DavHau / nix-portable

Nix - Static, Permissionless, Installation-free, Pre-configured
MIT License
788 stars 29 forks source link

Handle whitespace in Bash variables. #46

Open will-ca opened 1 year ago

will-ca commented 1 year ago

See commit list for summary of the types of changes.

Attempts to close #44.

In theory I think this is everything that would need to be done.

However, note that this currently breaks nix-portable with nix/store/zbabf0j2wibf6y74xyz80im3m2jk9bmn-libssh2-1.10.0: not found in archive.

I've elected not to further pursue this option in the application that I originally intended to use it for, so the best I can do is to offer this PR as-is for consideration.

Hopefully the remaining problems will be obvious and easily fixed by somebody more familiar with the inner workings of Nix and nix-portable, but perhaps not.