DavHau / nix-portable

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

refactor: move runtimeScript to separate file #35

Open milahu opened 2 years ago

milahu commented 2 years ago

move runtimeScript to separate file

why?

how?

also avoid the "escape + echo" pattern

    echo "${runtimeScriptEscaped}" > $out/bin/nix-portable.zip

by using temporary files

just my 2 cents. nice tool!

DavHau commented 2 years ago

Sounds like a good idea. A PR implementing this change would be welcome.